hwPriorityCosValue
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.4.1.13
Object
column r/w
Integer32
Describes the specified 802.1p priority when configuring the 802.1p priority for the packets that match the ACL rule for priority marking. Range: 0-7, 255 The larger the value is, the higher the priority is. In the query operation, if this parameter is not used, the obtained value is 255, which indicates invalidity. Meanings: best-effort: Best-effort priority (0) background: Background priority (1) spare: Spare priority (2). excellent-effort: Excellent-effort priority (3) controlled-load: Controlled-load priority (4) video: Video priority (5) voice: Voice priority (6) network-management: Network-management priority (7)
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.4.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPriorityEntry
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-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwPriorityCosValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwPriorityCosValue.<hwPriorityAclIndex>.<hwPriorityIfIndex>.<hwPriorityDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwPriorityCosValue'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-7
range: 255-255