hwRedirectDirection
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.5.1.3
Object
column Enumeration
Indicates the direction where an ACL rule for redirecting packets takes
effect when the device delivers an ACL rule to a specified port.
Options:
1. invalid(0) -indicates an invalid parameter.
2. inbound(1) -indicates the inbound direction of a port.
It is used for redirecting the packets received on a port.
3. outbound(2) -indicates the outbound direction of a port.
It is used for redirecting the packets transmitted on a port.
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.5.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwRedirectEntry
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::hwRedirectDirection'
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::hwRedirectDirection.<hwRedirectAclIndex>.<hwRedirectIfIndex>.<hwRedirectDirection>'
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::hwRedirectDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | invalid |
1 | inbound |
2 | outbound |