hwXQoSIfCarRedAction
HUAWEI-XQoS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.4.1.2.1.1.13
Object
Action for red packets: pass (1), discard (2), mark IP priority (3), mark DSCP (4), mark MPLS EXP (5), and mark (6). Hardware service quality: pass, discard, and mark. Software service quality: pass, discard, mark IP priority, mark DSCP, and mark MPLS EXP.
Context
- MIB
- HUAWEI-XQoS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.4.1.2.1.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXQoSIfCarCfgInfoEntry
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-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSIfCarRedAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSIfCarRedAction.<hwXQoSIfCarCfgIfIndex>.<hwXQoSIfCarVlanID>.<hwXQoSIfCarDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XQoS-MIB::hwXQoSIfCarRedAction'