hwAclDirection

HUAWEI-QOS-MIB · .1.3.6.1.4.1.2011.5.2.25.1

Object

scalar OctetString
Indicates the direction for which an ACL rule takes effect.         
If this leaf object outputs character string 'inbound', it indicates the inbound direction.
If this leaf object outputs character string 'outbound', it indicates the outbound direction.

Context

MIB
HUAWEI-QOS-MIB
OID
.1.3.6.1.4.1.2011.5.2.25.1
Type
scalar
Access
notifyonly
Status
current
Parent
hwQosTrapsVbOids

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::hwAclDirection.0'
More examples
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::hwAclDirection'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-16