hwXQoSCarRedColor
HUAWEI-XQoS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.4.1.1.26.1.16
Object
column r/w
Enumeration
This object indicates the color that red packets are to be re-marked. The value can be one of the following: 1: green 2: yellow 3: red 4: null.
Context
- MIB
- HUAWEI-XQoS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.4.1.1.26.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXQoSCarEntry
- Groups
- 1
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::hwXQoSCarRedColor'
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::hwXQoSCarRedColor.<hwXQoSCarInterfaceIndex>.<hwXQoSCarDirection>.<hwXQoSCarVlanID>'
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::hwXQoSCarRedColor'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | green |
2 | yellow |
3 | red |
4 | null |
Conformance
Member of