hwMstpiPortPriority

HUAWEI-MSTP-MIB · .1.3.6.1.4.1.2011.5.25.42.4.1.20.1.3

Object

column r/w Integer32
The value of the priority field which is contained in the 
first (in network byte order) four bits of the (2 octet long) Port ID.  
The other octet of the Port ID is given by the value of mstiPortIndex. 
And step of 16. It is the priority of the port in the multiple spanning tree instance,
and it can be used to determine the role of the port in the multiple spanning tree.

Context

MIB
HUAWEI-MSTP-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.4.1.20.1.3
Type
column
Access
readwrite
Status
current
Parent
hwMstpPortEntry
Groups
1

Walk 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-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpiPortPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpiPortPriority.<hwMstpInstanceID>.<hwMstpiPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MSTP-MIB::hwMstpiPortPriority'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-240

Conformance