IEEE8021-SPANNING-TREE-MIB

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › IEEE8021-SPANNING-TREE-MIB

Organization: IEEE 802.1 Working Group

Last Updated: 2018-06-28

Category: Protocol: STP, Standard: IEEE 802, Technology: Switching/L2, VLAN and Bridging

Description: IEEE 802.1 MIB for Spanning Tree Protocol (802.1D) managing bridge topology, port states, and STP parameters.

Start monitoring vendor-neutral, standards-based MIB, any SNMPv3-capable network device (SNMP engine identity/boot/clock status) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

What Is IEEE8021-SPANNING-TREE-MIB?

This is a vendor-neutral IEEE 802.1D/802.1Q standards MIB for Spanning Tree Protocol, derived from the IETF BRIDGE-MIB (RFC 4188), used to manage classic per-bridge spanning tree state on Ethernet switches. It exposes bridge protocol specification, priority, designated root, root cost/port, timer settings (max age, hello time), and topology-change counters/timestamps. Its monitoring value is primarily network stability: a growing topology-change counter combined with a recent time-since-topology-change value strongly suggests a flapping link, a loop, or a misconfigured bridge causing repeated STP reconvergence and possible packet loss. It explicitly derives from the IETF BRIDGE-MIB and is used together with the related IEEE8021-MSTP-MIB when a bridge runs MSTP rather than plain STP. It is typically deployed on any enterprise/campus/data-center Ethernet switch that participates in spanning tree loop prevention. Engineers implementing or auditing this functionality typically reference the IEEE8021-SPANNING-TREE-MIB RFC/standard documentation for the authoritative specification.

IPNetwork Monitor allows you to monitor SNMP objects defined in IEEE8021-SPANNING-TREE-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

Supported Devices

  • vendor-neutral, IEEE 802.1D/802.1Q standards-based MIB, not tied to a specific manufacturer
  • Ethernet bridge or switch running Spanning Tree Protocol

Monitoring Examples

An operator walks ieee8021SpanningTreeTable (keyed by ieee8021SpanningTreeComponentId) to read ieee8021SpanningTreeDesignatedRoot and ieee8021SpanningTreeRootCost, confirming the expected switch is the STP root and that root cost/root port match the intended topology. A rising ieee8021SpanningTreeTopChanges value paired with a small ieee8021SpanningTreeTimeSinceTopologyChange indicates recent, possibly repeated, reconvergence events; checking ieee8021SpanningTreeMaxAge and ieee8021SpanningTreeHelloTime confirms whether the bridge's timers match the network's configured STP parameters, ruling out a timer mismatch as the cause.

What Can Be Monitored

  • designated root bridge and root cost/port
  • topology change count and recency
  • STP timers (max age, hello time)
  • protocol specification/version
  • bridge priority
Imported Objects

From BRIDGE-MIB

BridgeId
Timeout

From IEEE8021-TC-MIB

IEEE8021BridgePortNumber
IEEE8021PbbComponentIdentifier
ieee802dot1mibsOBJECT-IDENTITY

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

Counter64
Integer32
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE
TimeTicks

From SNMPv2-TC

TruthValue

How to Use in IPNetwork Monitor

Example using ieee8021SpanningTreeTopChanges OID:

Select a device implementing IEEE8021-SPANNING-TREE-MIB as the target host to create a monitor — the SNMP service should be up and running on it. Click New Monitor, then check SNMP Custom on the Favorites tab, click Next, and confirm the host. On the next page, click Select... to open the built-in SNMP MIB Browser and type ieee8021SpanningTreeTopChanges into the Find box to locate it in the OID tree, selecting the specific row/instance you want to monitor since this is a table column, then select it and click OK. The total number of topology changes detected by this Bridge since the management entity was last reset or initialized. On the monitor's Main parameters page you can set the target's SNMP port (default 161), credentials, polling interval, and other settings — see the SNMP Monitor help for details. On the State conditions and Alerting tabs, configure when the monitor should change state and trigger an alert; since this is a Counter64-type OID, Value bounds is the most useful condition here — trigger an alert if the counter increases sharply between polls relative to its normal baseline (in topology changes), since an unexpected spike often reflects a real change in traffic or activity. Click Finish to create the monitor; you can adjust any parameter later.
OIDs

RFC description

Manages IEEE 802.1Q spanning tree protocol on network switches to prevent loops and optimize network topology.

Start monitoring Vendor-neutral IEEE 802.1D/Q standard (Ethernet bridge or switch running STP) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download IEEE8021-SPANNING-TREE-MIB