hwAclActiveIfIndex

HUAWEI-DSLAM-ACL-MIB · .1.3.6.1.4.1.2011.5.1.1.9.1.2

Object

Indicates the port index or the slot index when the device delivers an ACL rule to a specified port or a specified slot. 
The index 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          |
---------------------------------------------------------------------------------------------------------------

Context

MIB
HUAWEI-DSLAM-ACL-MIB
OID
.1.3.6.1.4.1.2011.5.1.1.9.1.2
Type
column
Access
notifyonly
Status
current
Parent
hwAclActiveEntry

Walk 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-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclActiveIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclActiveIfIndex.<hwAclActiveAclIndex>.<hwAclActiveIfIndex>.<hwAclActiveDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclActiveIfIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647