dot1sStpVersion
MSTP-MIB ·
qtech variant
·
.1.3.6.1.2.1.17.8.1.1.11.1.7
Object
column Enumeration
The version of Spanning Tree Protocol the bridge is currently running. The value 'stpCompatible(0)' indicates the Spanning Tree Protocol specified in IEEE 802.1D and 'rstp/mstp(2)' indicates the Rapid Spanning Tree Protocol specified in IEEE 802.1w and Multiple Spanning Tree Protocol specified in IEEE 802.1s. New value may be defined as future versions of the protocol become available.
Context
- MIB
- MSTP-MIB
- OID
.1.3.6.1.2.1.17.8.1.1.11.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- dot1sStpPortEntry
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 'MSTP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::dot1sStpVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MSTP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::dot1sStpVersion.<dot1sStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSTP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSTP-MIB::dot1sStpVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | stpCompatible |
2 | rstp-mstp |