hwCosRemarkMask
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.31
Object
As an independent leaf node, describes the mapping between CoS and remarked CoS.
The remarked CoS ID is 0-7. Every four bits represents the CoS ID to which a Cos corresponds.
When hwCosRemarkMask is set to 0xffffffff(4294967295), it means restoring it to default settings.
The default mapping is as follows: Packets with priority 7 join queue 7, packets with priority 6 join queue 6, and so on.
The corresponding bits are:
0111 0110 0101 0100 0011 0010 0001 0000
7 6 5 4 3 2 1 0
Default: 1985229328
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.31- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwExtIpdslam
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hwCosRemarkMask.0'
More examples
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::hwCosRemarkMask'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295