Privileged EXEC
show spanning-tree blockedports
show spanning-tree blockedports
Lists the ports Spanning Tree has put in a blocking state, per VLAN or instance.
You want to see quickly where STP is breaking loops, or why traffic takes an unexpected path.
Check the root with show spanning-tree root and inconsistent ports with show spanning-tree inconsistentports.
Privilege Privileged EXECState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Name (VLAN/instance), Blocked Interfaces List, Number of blocked portsImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Shows which ports STP currently blocks for each VLAN or instance on this switch.
Does not prove the root bridge is placed correctly or explain why a port is blocked.
Check the root with show spanning-tree root and inconsistent ports with show spanning-tree inconsistentports.
Command guidance
Execution context
Privileged EXEC
Use when
You want to see quickly where STP is breaking loops, or why traffic takes an unexpected path.
Important fields
Name (VLAN/instance), Blocked Interfaces List, Number of blocked ports
Common problems
blocking on the wrong uplink because of root placement; ports blocked by guard features
Operational impact
Read-only.
Technical context
Blocked ports are normal in a redundant Layer 2 design. What matters is that the blocked port is the one you expect.