Free member
Cheat Sheet: Spanning Tree Protocol Concepts
Keep essential STP and RSTP concepts, root election rules, port roles and states, and verification commands at hand.
Core Concepts (Key Points)
- Purpose of STP/RSTP:
- Prevents Ethernet frame loops in LANs with redundant links.
- Places ports in forwarding or blocking states to manage traffic flow.
- Key Protocols:
- STP (Spanning Tree Protocol): Legacy protocol, slower convergence.
- RSTP (Rapid Spanning Tree Protocol): Faster convergence, supports alternate and backup ports.
- Three Common Problems Without STP:
- Broadcast Storms: Frames loop indefinitely, saturating links.
- MAC Table Instability: Switches update MAC tables incorrectly due to looping frames.
- Multiple Frame Transmission: Hosts receive duplicate frames, causing application failures.
Important Definitions
- Bridge Protocol Data Unit (BPDU): Messages used by switches to exchange STP/RSTP information.
- Root Bridge: Central switch in the spanning tree; all switches calculate paths to it.
- Root Port (RP): Port on non-root switches with the lowest cost to the root bridge.
- Designated Port (DP): Port on a segment that forwards frames.
- Alternate Port: Backup for root port; immediately transitions to forwarding if the RP fails.