Overview
Understand Spanning Tree Protocol operation, root bridge election, port roles, and common STP issues.
Prerequisites
Understanding of Layer 2 switching, VLANs, MAC address forwarding
Topology
Four switches in a redundant topology with multiple paths. Various link speeds to observe STP cost calculations.
STP
Spanning Tree
Root Bridge
Layer 2
Lab Steps
Examine the default STP topology and identify root bridge, port roles (root, designated, blocking).
Checklist:
- Identify root bridge
- Document port roles
- Note STP timers
Configurations
Root Bridge Configuration
SW1
SW1cisco
spanning-tree vlan 1 priority 4096
!
! Or use the macro:
spanning-tree vlan 1 root primaryVerification
Verify STP topology
Commandscisco
show spanning-tree
show spanning-tree root
show spanning-tree interface fa0/1Expected Output:
Outputcisco
Root ID Priority 4097
Address 0001.1111.1111
This bridge is the root