Skip to content
ITAV
Engineering Academy

Spanning Tree Protocol

Switching

Networking labs

Overview

STP prevents L2 loops by electing a root bridge and selecting forwarding paths while blocking redundant ones. Lowest bridge ID wins root election; path cost guides root-port selection with tie-breakers. RSTP improves convergence. STP is not part of the legacy topology forwarding engine; this is a separate decision exercise.

Protocol stages

  1. 1Bridge IDs
  2. 2Root election
  3. 3Path-cost comparison
  4. 4Port roles
  5. 5Loop-free tree

Interactive exercise

Knowledge check

Bridge IDs are 4096:AA, 32768:BB and 32768:CC. Which becomes root?

Answers

Educational model — not real hardware, traffic or official certification.

Sign in to save conversations