← Network reference library

Wolex engineer reference · Switching

STP, RSTP & MST field reference

Interpret root election and port roles, distinguish expected blocking from a fault and check MST boundaries.

Download branded PDF

Revision 2.0 · Documentation reviewed 2026-10-10 · Original Wolex reference

Root bridgeRoot port pathDesignated pathAlternate blocked
This is a role-reading sequence, not a physical topology. Each non-root bridge selects a root port; alternate paths can be intentionally non-forwarding.

Quick reference

ItemInterpretationOperational check
Root electionLowest bridge ID winsPriority plus system-ID extension / MAC
Root portBest path toward rootCompare cost and tie-breakers
DesignatedSelected port for segmentNormally forwards when converged
AlternateOther path to rootDiscarding can be healthy
RSTP statesDiscarding / learning / forwardingRole and state are different
Classic timersHello 2s / max age 20s / delay 15sDefaults, not a convergence guarantee
MST regionName, revision, VLAN mappingMust agree for same region

What to understand first

01

Root placement should follow the intended traffic design. An accidental low bridge priority can move the root and redirect traffic without a physical link failure.

02

Classic STP uses blocking, listening, learning and forwarding states; RSTP combines non-forwarding states as discarding and uses rapid transition mechanisms where applicable.

03

Edge/PortFast settings are for intended endpoint edges. BPDU Guard and root protection serve different purposes; investigate their trigger before restoring a port.

04

MST maps VLANs into instances. A mismatch in name, revision or mapping creates a region boundary even when the cables and VLAN lists match.

Commands and interpretation

Inspection commands are read-only unless explicitly labeled otherwise. Capture commands start collection; configuration-mode commits change device state.

Cisco IOS XE

Read-only EXEC

show spanning-tree summary
show spanning-tree vlan 30
show spanning-tree inconsistentports
show spanning-tree mst configuration

Inspect: Check root identity, role/state, inconsistent ports and the actual MST mapping.

Junos

Read-only operational

show spanning-tree bridge
show spanning-tree interface

Inspect: Inspect root ID, root port, costs and role/state. Match the output to RSTP, MSTP or VSTP in use.

Worked example · Illustrative, not a device capture

Illustrative role/state observations

Root ID: distribution switch A
Uplink 1: Root / Forwarding
Uplink 2: Alternate / Discarding
Root changes during incident: 0

A non-forwarding alternate can be correct loop prevention. Confirm the topology before trying to make both uplinks forward.

If the expected root changes repeatedly, investigate BPDUs, link instability and unauthorized switches.

Troubleshooting sequence

  1. Identify the intended and actual root for the affected VLAN/instance.
  2. Compare roles and states on both ends of the suspected segment.
  3. Review topology changes, error counters and protection-triggered ports with timestamps.
  4. For MST, compare region parameters and VLAN-to-instance mappings exactly.
  5. Use a planned redundancy test; verify reconvergence and application recovery before closing.

Common mistakes

  • Disabling STP to make a blocked link pass traffic.
  • Applying edge settings to an inter-switch link without the intended design.
  • Assuming all vendors run an identical per-VLAN tree by default.

Acceptance checks

  • Actual roots and region boundaries match the design.
  • No unexplained inconsistent ports or sustained topology-change bursts.
  • Approved link-failure test meets the application recovery target.

Primary references

Vendor documentation and protocol specifications support this guide. The diagrams, scenarios and troubleshooting sequences are Wolex-authored.