hwMirrorDirection

HUAWEI-QOS-MIB · .1.3.6.1.4.1.2011.5.2.7.1.3

Object

column Enumeration
Indicates the direction where an ACL rule for mirroring packets 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 slot. 
                 It is used for mirroring the packets that are received on a specified port or a specified slot.     
3. outbound(2)  -indicates the outbound direction of a port or slot. 
                 It is used for mirroring the packets that are transmitted on a specified port or a specified slot.

Context

MIB
HUAWEI-QOS-MIB
OID
.1.3.6.1.4.1.2011.5.2.7.1.3
Type
column
Access
readonly
Status
current
Parent
hwMirrorEntry

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-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwMirrorDirection'
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::hwMirrorDirection.<hwMirrorAclIndex>.<hwMirrorIfIndex>.<hwMirrorDirection>'
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::hwMirrorDirection'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0invalid
1inbound
2outbound