hwDscpListMapToDscp1
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.52.1.3
Object
column r/w
OctetString
This leaf is a string of 16 bytes. Every two bytes (16 bits) indicate an DSCP.
The 16 bytes represent DSCPs 8 to 15 (from the left to the right) of a DSCP mapping.
The structure is as follows:
----------------------------------------------------
| 15 | 14-12 | 11-6 | 5-0 |
----------------------------------------------------
| flag | reserved | yellow | green-and-yellow |
| | | | or green |
----------------------------------------------------
Bit 15: indicates the color type.
0: Bits 0-5 indicate the DSCP of yellow and green packets and bits 6-11 are ignored.
1: Bits 0-5 indicate the DSCP of green packets and bits 6-11 indicate the DSCP of yellow packets.
Bits 12-14 are reserved and always set to 0. Value 1 is invalid.
Bits 0-5: When bit 15 is 0, bits 0-5 indicate the DSCP of yellow and green packets;
when bit 15 is 1, bits 0-5 indicate the DSCP of green packets and bits 6-11 indicate the DSCP of yellow packets.
Bits 6-11: When bit 15 is 0, bits 6-11 are invalid. When bit 15 is 1, bits 6-11 indicate the DSCP of yellow packets.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.52.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDscpToDscpMappingEntry
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::hwDscpListMapToDscp1'
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::hwDscpListMapToDscp1.<hwDscpToDscpMappingIndex>'
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::hwDscpListMapToDscp1'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 16-16