ByteByte CityCity
All lessons
Professor Flows holding a length of chain in front of a chained and padlocked brick doorway, under the headline SPANNING TREE UNWRAPPED!
Hardware

Spanning Tree: How Switches Stop a Loop

7:43Coming soon

Someone added a second cable between two switches, in case the first one failed, and the whole network went down in seconds. One broadcast frame did it, circling the two links and being copied at every pass. This lesson shows why a Layer 2 loop is fatal, and how Spanning Tree keeps the spare link without the loop: the switches elect a root bridge, each keeps its best path to it, and one port is blocked until it is needed.

You'll learn

Chapters

  1. 0:00The sensible thing that broke the building
  2. 0:47A broadcast and two corridors
  3. 1:19Why it never ends: no expiry stamp
  4. 1:42Storm, unstable clipboard, duplicate crates
  5. 2:03The fix: elect a head depot
  6. 2:40Root port and designated port
  7. 3:02The chained door: blocked
  8. 3:23A corridor is cut: timers and port states
  9. 4:05Rapid Spanning Tree
  10. 4:21Edge ports: PortFast and BPDU guard
  11. 5:01The real names
  12. 5:51The real thing: show spanning-tree
  13. 6:27Exam corner
  14. 7:02Recap and next time

Exam objectives: CompTIA Network+ N10-009: 2.2 (spanning tree), 5.3 (switching issues: STP — network loops, root bridge selection, port roles, port states), 5.5 (basic networking device commands).

Byte City is not affiliated with or endorsed by CompTIA.