hwRedirectUserAclNum
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.5.1.4
Object
column r/w
Integer32
Describes the user-defined ACL rule group that is used when a user-defined ACL rule for redirecting packets is delivered to a specified port. Range: 0, 5000-5999 Make sure that the user-defined ACL rule group is already created. In the query operation, if the user-defined ACL rule group is not used, the value obtained is 0.
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.5.1.4- Type
- column
- Access
- readwrite
- 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::hwRedirectUserAclNum'
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::hwRedirectUserAclNum.<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::hwRedirectUserAclNum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-0
range: 5000-5999