hwMstpProPriority
HUAWEI-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.23.1.5
Object
column r/w
4096Integer32
The priority for the MSTP process spanning tree, step of 4096. For example, we can set the Priority of the bridge such as 0, 4096, 8192 etc. It can be used to determined whether the process is the root of the whole spanning tree. The default value is 32768.
Context
- MIB
- HUAWEI-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.23.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Units
- 4096
- Parent
- hwMstpProEntry
- Groups
- 1
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-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpProPriority'
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::hwMstpProPriority.<hwMstpProID>'
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::hwMstpProPriority'
Syntax
4096Integer32
Values & Constraints
Object Constraints
range: 0-61440
Conformance
Member of