Explain it simpler
When switches are connected in a circle for backup, a message can go around and around forever, clogging everything. Spanning tree stops this by having the switches agree on a single 'center' switch, called the root, and then turning off just enough backup links so that there is exactly one path to everywhere. The turned-off links wait quietly and take over if the main path fails. The switches pick the root by comparing ID numbers, and the lowest number wins, so you should deliberately give your best central switch the lowest number. Ports that connect to ordinary computers can be told to skip the waiting and start working right away, and to shut themselves off if someone plugs in another switch there.
At Summit Ridge College, the network was designed with two core switches and redundant uplinks so that no single failure could take a building offline. Yet every morning, traffic from the science building crawls through an old access switch in a basement closet before reaching the core, and Professor Kim's lab uploads take forever. Nobody configured it that way. The switches chose this path themselves, by an election that the oldest switch on campus quietly won. How do switches decide which links to use and which to hold in reserve, and how do you make sure the right switch wins the vote?
Redundant links between switches protect against failures, but at Layer 2 they create loops. Ethernet frames have no TTL (time to live) field, so a broadcast caught in a loop circulates forever, causing a broadcast storm, MAC (media access control) table instability and duplicate frames, often enough to take a network down within seconds. STP (Spanning Tree Protocol) prevents this by blocking just enough ports to leave a loop-free tree, while keeping the blocked links ready as backups. Rapid PVST+ (Rapid Per-VLAN Spanning Tree Plus) is Cisco's implementation of RSTP (Rapid Spanning Tree Protocol, IEEE 802.1w) that runs a separate instance per VLAN (virtual LAN), so different VLANs can use different roots and paths.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.