hwAclActiveDirection

HUAWEI-DSLAM-ACL-MIB · .1.3.6.1.4.1.2011.5.1.1.9.1.3

Object

column Enumeration
Indicates the direction where an ACL rule takes effect when the device delivers an ACL rule to a specified port or a specified slot. 
Options:
1. invalid(0)       -indicates an invalid parameter
2. inbound(1)       -indicates the inbound direction of a port or a slot. It is used 
                     when inbound packets are filtered based on the ACL rule.
3. outbound(2)      -indicates the outbound direction of a port or a slot. It is used when outbound 
                     packets are filtered based on the ACL rule.
4. tocpu-inbound(3) -indicates the inbound direction of a port. It is used when inbound 
                     packets to cpu are filtered based on the ACL rule.

Context

MIB
HUAWEI-DSLAM-ACL-MIB
OID
.1.3.6.1.4.1.2011.5.1.1.9.1.3
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::hwAclActiveDirection'
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::hwAclActiveDirection.<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::hwAclActiveDirection'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0invalid
1inbound
2outbound
3tocpu-inbound