Root Guard blocks unauthorized root bridges on designated ports. Loop Guard prevents loops from unidirectional links on blocking ports. Both are essential for large campus networks.
BPDU Guard immediately error-disables ports that receive BPDUs, preventing rogue switches from corrupting your spanning tree. This article covers configuration, monitoring, and recovery.
BPDU Filter stops sending and receiving BPDUs on a port. Unlike other STP protection features, it's inherently dangerous and rarely used in production networks.
PortFast (edge port in RSTP) skips listening and learning phases, allowing hosts to reach the network in milliseconds instead of 30 seconds. This article covers per-interface configuration, global defaults, trunk ports, and critical use cases.
Rapid PVST+ (RSTP) replaces STP with a faster mechanism that converges in seconds instead of minutes. This article covers configuration, proposal/agreement handshakes, edge port usage, and migration from legacy PVST+.
The root bridge is the reference point for all STP calculations. Proper root bridge configuration is critical to predictable topology and optimal traffic flow. This article covers priority commands, macros, and design placement.
Five major STP variants exist today, each with different convergence speeds, VLAN handling, and design requirements. Understanding their differences is essential to choosing the right protocol for your network.
Path cost is the core metric STP uses to select root ports and designated ports. Understanding cost calculation, link speeds, and manual cost override is essential to designing networks with predictable failover behavior.
Root bridge election, BPDU exchange, and the spanning tree algorithm are the core mechanics of STP. This article walks through the entire process with configuration and show command output.
STP timers control convergence speed, BPDU frequency, and failure detection. Understanding how hello, forward delay, and max age interact is essential to designing stable networks and troubleshooting convergence issues.
STP port states control when a port begins forwarding traffic. The five states and their transitions define convergence time. Understanding state machine timers is essential to designing networks that recover quickly from failures.
STP port roles determine which ports forward traffic and which block. Understanding root, designated, blocked, and alternate ports is essential to predicting network behavior and troubleshooting convergence issues.