Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS / IOS XE

show spanning-tree blockedports

show spanning-tree blockedports

Lists the ports Spanning Tree has put in a blocking state, per VLAN or instance.

Execution context

Privileged EXEC

Use when

You want to see quickly where STP is breaking loops, or why traffic takes an unexpected path.

Privilege Privileged EXECState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegePrivileged EXEC
Execution contextPrivileged EXEC
State impactRead-only
Safe during productionUnknown
CategorySpanning Tree
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Panning Ree
PlatformCisco IOS / IOS XE
PrerequisitePrivileged EXEC
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Name (VLAN/instance), Blocked Interfaces List, Number of blocked ports

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows which ports STP currently blocks for each VLAN or instance on this switch.

Does not prove

Does not prove the root bridge is placed correctly or explain why a port is blocked.

Next check

Check the root with show spanning-tree root and inconsistent ports with show spanning-tree inconsistentports.

Depth when you need it

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.

Confirmation

Confirm action

Continue?