dot1dStpVersion

OBS ✓
RSTP-MIB · .1.3.6.1.2.1.17.2.16

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-1998 and 'rstp(2)' indicates the Rapid
Spanning Tree Protocol specified in IEEE 802.1w and
clause 17 of 802.1D-2004.  The values are directly from
the IEEE standard.  New values may be defined as future
versions of the protocol become available.
          
The value of this object MUST be retained across
reinitializations of the management system.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Polling Status
Explore Observium network monitoring

Context

MIB
RSTP-MIB
OID
.1.3.6.1.2.1.17.2.16
Type
scalar
Access
readwrite
Status
current
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RSTP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RSTP-MIB::dot1dStpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RSTP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RSTP-MIB::dot1dStpVersion'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0stpCompatible
2rstp

Conformance