A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
That output is the shortest possible summary of a running STP: who the root is, who this switch is, and what every port is doing. Once you can read it, STP stops being mysterious. The protocol itself is a simple distributed algorithm repeated by every switch in the topology.
Every decision is derived from one data structure: the BPDU. Bridge Protocol Data Units are frames sent every 2 seconds (Hello timer) by every switch, containing the sender's view of the topology. When a switch receives a BPDU with a 'better' root than its own, it updates and propagates.
BPDUs carry the sender's ID, its belief about the root, and the cost to reach that root. When a switch hears a BPDU with a lower root ID (better bridge), it accepts that as the new root and forwards its updated view. When the topology converges, every switch agrees on the same root.
The bridge ID is 8 bytes: 2 bytes of priority and 6 bytes of MAC. Lower is better. Priority defaults to 32768 but is configured in increments of 4096 — the well-known values are 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, and 45056.
The bridge ID includes a VLAN field (sys-id-ext), so each VLAN runs its own STP instance with its own root. That's why the output shows `Priority 32769` — priority 32768 + VLAN 1. VLAN 10's root would be `32778`. This is how per-VLAN load balancing works.
| Timer | Default | Purpose |
|---|---|---|
| Hello | 2 sec | Interval between BPDUs from the root |
| Max Age | 20 sec | How long to wait before considering a BPDU stale |
| Forward Delay | 15 sec | Time in Listening and Learning states before Forwarding |
A classic STP convergence after a topology change takes 30–50 seconds: Max Age (20s) to detect, then Listening (15s), then Learning (15s), then Forwarding. That's a long outage for a user. RSTP (802.1w) cuts this to a few seconds, which is why nobody runs classic STP on new deployments.
STP elects one root, finds best paths to it, and blocks the rest. BPDUs are the wire protocol. Timers govern convergence. Classic STP is slow; RSTP is what you actually deploy. Next lesson digs into root election in detail — including how to influence it.
Finish the lesson once you have worked through the material. This awards ★ 30 XP.