BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Spanning Tree (STP) lab practice

Keep redundant switch links without a Layer 2 loop: root bridge election, port roles and states, Rapid PVST+, PortFast and BPDU Guard.

7 labs · 10 lessons · 4 commands · 4 projects

Redundant links between switches create loops, and Ethernet frames have no time-to-live, so a loop becomes a broadcast storm within seconds. Spanning Tree Protocol prevents it by electing a root bridge and blocking just enough ports to leave one loop-free path.

On the CCNA you need to read the election (lowest bridge ID wins), the port roles and states, and to control the outcome: place the root deliberately, run Rapid PVST+, and protect edge ports with PortFast and BPDU Guard.

Hands-on labs

Lessons, in order

  1. Spanning Tree (STP) (2. Network Access, 21 min)
  2. STP Roles & States (2. Network Access, 9 min)
  3. Rapid PVST+ & PortFast (2. Network Access, 7 min)
  4. Read the trunk table and see how a Layer 2 loop forms (2. Network Access, 11 min)
  5. Read show spanning-tree to find the root and port roles (2. Network Access, 11 min)
  6. Switch to Rapid PVST+ (2. Network Access, 11 min)
  7. Pin the root bridge with root primary and secondary (2. Network Access, 11 min)
  8. Enable PortFast on edge ports (2. Network Access, 11 min)
  9. Protect edge ports with BPDU Guard (2. Network Access, 13 min)
  10. Choose the STP protection that matches the failure (2. Network Access, 12 min)

Commands

Related projects

Related topics

Start the CCNA path · Free Sandbox