hwIpTrafficDSCP
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.8.1.18
Object
Indicates the DSCP source.
The most significant 16 bits indicate the DSCP policy, and the least significant 16 bits indicate the DSCP value.
--------------------------------------------------------
| 31-16 | 15-0 |
--------------------------------------------------------
| DSCP mark policy | DSCP value |
--------------------------------------------------------
Options of the DSCP policy are as follows:
OxFF: indicates that the DSCP field is not edited.
OxFE: indicates that the mapping is based on user-dscp.
0xFD: indicates the specified DSCP value.
Other values are not supported.
When the DSCP policy is user-dscp(OxFE), the hwIpTrafficDSCPMappingIndex must be set.
When the DSCP policy is not user-dscp(OxFE), the hwIpTrafficDSCPMappingIndex must be -1 or not set.
The DSCP value ranges from 0 to 63 and takes effect only when the DSCP policy is 0xFD.
For example, if the DSCP mark policy is 0xFD and the specified DSCP is 6,
the value of hwIpTrafficDSCP is 0xFD0006, that is, 16580614.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.8.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwIpTrafficParamEntry
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::hwIpTrafficDSCP'
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::hwIpTrafficDSCP.<hwIpTrafficIndex>'
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::hwIpTrafficDSCP'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647