show spanning-treeSTP topology: root bridge, port roles and which ports are blocking.
Shows which switch is root per VLAN and the role of each port. A blocking port is STP doing its job; the question is always whether it is blocking the link you intended.
| Platform | Command |
|---|---|
| Cisco IOS | show spanning-tree |
| Aruba AOS-CX | show spanning-tree |
| Juniper JunOS | show spanning-tree bridge |
| MikroTik RouterOS | /interface bridge monitor |
show spanning-tree vlan 20show spanning-tree rootshow spanning-tree detail | include ieee|occurrThe misreadings that actually cost people time.