Cisco Spanning Tree Protocol Commands | Generated by AI

Home 2025.12

Question: What are the typical commands for Spanning Tree Protocol (STP) on a Cisco switch?

Answer:

Spanning Tree Protocol (STP) is enabled by default on Cisco switches, often running Rapid Per-VLAN Spanning Tree (Rapid PVST+) or PVST+. Typical commands fall into two categories: verification/show commands (most commonly used for monitoring and troubleshooting) and configuration commands (for tuning STP behavior).

Verification/Show Commands

These are the most frequently used to check STP status, root bridge, port roles, and topology.

Configuration Commands

Entered in global or interface configuration mode. STP is enabled by default; these tune it.

Global Configuration

Interface Configuration

These commands vary slightly by switch model and IOS version (e.g., Catalyst 9200/9300 vs. older 2960). Always verify with show running-config | include spanning-tree.

References:


Back

x-ai/grok-4.1-fast

Donate