hwRateLimitIfIndex
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.3.1.2
Object
column Unsigned32
Specifies the index of a port or a slot for traffic limitation.
It uniquely identifies a port or a slot.
The value and algorithm are the same as those of ifIndex.
If the configuration based on a slot, the bits map is shown as follows:
---------------------------------------------------------------------------------------------------------------
| 31-25 bits | 24-19 bits | 18-13 bits | 12-6 bits | 5-0 bits is reserved |
| indicate iftype | indicate frame ID | indicate slot ID | indicate port ID | |
---------------------------------------------------------------------------------------------------------------
| the value of iftype | frame ID | slot ID | the value of port ID | the reserved value |
| is always 0x68 | | | is always 0 | is always 0 |
---------------------------------------------------------------------------------------------------------------
Range: 0-4294967295
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwRateLimitEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwRateLimitIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwRateLimitIfIndex.<hwRateLimitAclIndex>.<hwRateLimitIfIndex>.<hwRateLimitDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwRateLimitIfIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-4294967295