stpProtocolVersion
DES-1210-28ME-B3 ·
.1.3.6.1.4.1.171.10.75.15.3.6.1.2
Object
scalar r/w
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(2)' indicates the Rapid Spanning Tree Protocol specified in IEEE 802.1w and 'mstp(3)' indicates the Multiple Spanning Tree Protocol Specified in IEEE 802.1s.
Context
- MIB
- DES-1210-28ME-B3
- OID
.1.3.6.1.4.1.171.10.75.15.3.6.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
mstp- Parent
- stpBridgeGlobal
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES-1210-28ME-B3' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-1210-28ME-B3::stpProtocolVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES-1210-28ME-B3' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES-1210-28ME-B3::stpProtocolVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | stp |
2 | rstp |
3 | mstp |