hwDscpColorListMapToPriority6
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.53.1.8
Object
column r/w
OctetString
This leaf is a string of 8 bytes. Every one bytes (8 bits) indicate an 802.1p priority.
The 8 bytes represent priorities 47 to 54 (from the left to the right) of a DSCP mapping. The structure is as follows:
----------------------------------------------------
| 7 | 6 | 5-3 | 2-0 |
----------------------------------------------------
| flag | reserved | yellow | green-and-yellow |
| | | | or green |
----------------------------------------------------
Bit 7: indicates the color type.
0: Bits 0-2 indicate the priority of yellow and green packets and bits 3-5 are ignored.
1: Bits 0-2 indicate the priority of green packets and bits 3-5 indicate the priority of yellow packets.
Bits 6 are reserved and always set to 0. Value 1 is invalid.
Bits 0-2: When bit 15 is 0, bits 0-2 indicate the priority of yellow and green packets;
when bit 15 is 1, bits 0-2 indicate the priority of green packets and bits 3-5 indicate the priority of yellow packets.
Bits 3-5: When bit 15 is 0, bits 0-2 are invalid. When bit 7 is 1, bits 3-5 indicate the priority of yellow packets.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.53.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDscpColorToPbitsMappingEntry
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-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwDscpColorListMapToPriority6'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwDscpColorListMapToPriority6.<hwDscpColorToPbitsMappingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwDscpColorListMapToPriority6'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 8-8