IEEE8021-SPANNING-TREE-MIB :: ieee8021SpanningTreeVersion

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › IEEE8021-SPANNING-TREE-MIB › ieee8021SpanningTreeVersion

ieee8021SpanningTreeVersion

Module: IEEE8021-SPANNING-TREE-MIB

OID (symbolic): IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeVersion

OID (numeric): 1.3.111.2.802.1.1.3.1.1.1.16

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The version of Spanning Tree Protocol the Bridge is currently running. The values are directly from the IEEE standard. New values may be defined as future versions of the protocol become available.

The value 'stp(0)' indicates the Bridge is running the Spanning Tree Protocol specified in IEEE Std 802.1D-1998.

The value 'rstp(2)' indicates the Bridge is running RSTP specified in IEEE 802.1Q.

The value 'mstp(3)' indicates the Bridge is running MSTP specified in Clause 13 of IEEE Std 802.1Q.

The value of this object MUST be retained across reinitializations of the management system.

What is ieee8021SpanningTreeVersion?

Which STP variant this bridge is configured to run: legacy STP (0), RSTP (2), or MSTP (3); setting this lets an admin migrate a switch from classic Spanning Tree to Rapid or Multiple Spanning Tree.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.111.2.802.1.1.3.1.1.1.16
snmpwalk -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeVersion

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.111.2.802.1.1.3.1.1.1.16.1
snmpget -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeVersion.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.111.2.802.1.1.3.1.1.1.16.1 i <value>

Start monitoring Vendor-neutral IEEE 802.1D/Q standard (Ethernet bridge or switch running STP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeVersion OID value, configure state conditions and alerts, and monitor any Vendor-neutral IEEE 802.1D/Q standard (Ethernet bridge or switch running STP) from a single console.

OID Breakdown

Upper-level ancestors (3 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.111.2.802.1.1ieee802dot1mibsIEEE8021-TC-MIB
Numeric OIDNameModule
1.3.111.2.802.1.1.3ieee8021SpanningTreeMibIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1ieee8021SpanningTreeObjectsIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.1ieee8021SpanningTreeTableIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.1.1ieee8021SpanningTreeEntryIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.1.1.16ieee8021SpanningTreeVersionIEEE8021-SPANNING-TREE-MIB