hwVlanPriority
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.1.1.12
Object
column r/w
Integer32
Indicates the 802.1p priority of a VLAN. Range: 0-7, 255 The larger the value, the higher the priority. If the query operation is performed before hwVlanPriority is configured, the query result is 255, which is invalid. The meaning of each value is as follows: 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-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.1.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanMIBEntry
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-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVlanPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVlanPriority.<hwVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwVlanPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-7
range: 255-255