Physical link comes up — auto-negotiation completes, link light goes green. This is Layer 1 only; nothing about Spanning Tree has run yet, and the port cannot forward or learn.
LinkPer classic 802.1D, every port starts in Blocking. It does not forward frames and does not learn source MACs — but it does listen for incoming BPDUs, because the switch needs to find out whether this link is part of a loop before it does anything else.
STPSince Fa0/5 is a lone access port with nothing else contending for this path, the switch has no reason to keep blocking it and moves it to Listening. The port still doesn't forward or learn — it's now actively participating in the Spanning Tree algorithm, sending and evaluating BPDUs to confirm its role (in this case, a normal forwarding port toward an end host).
ListeningThe port sits in Listening for the duration of the Forward Delay timer, 15 seconds by default. The purpose is purely to give the rest of the topology time to settle before this port is trusted to learn or forward — jumping straight to forwarding on every link-up event would risk briefly creating a loop during any topology change.
Timer 1/2After 15 seconds with no conflicting BPDU changing the port's role, it advances to Learning. The port now starts populating the MAC table from frames it receives — but critically, still does not forward any of them yet.
LearningThe same 15-second Forward Delay timer runs a second time in Learning. This is why the commonly quoted total is 30 seconds minimum for Listening + Learning alone — and why real-world observations of "30 to 50 seconds" also account for link negotiation and the fact that the PC's own DHCP Discover attempts during this window are simply dropped, forcing a retry after the port opens up.
Timer 2/2For roughly 30 seconds after plugging in, the PC has full link light and can send frames, but every one of them — including its DHCP Discover broadcasts — is silently dropped at the port because it isn't Forwarding yet. To the user this looks exactly like "no internet," even though the cable, NIC, and switch hardware are all fine. This is the single most common cause of "it just needs a minute" tickets on fresh connections.
CheckpointTimer expires, no reason found to do otherwise — the port moves to Forwarding: full normal operation, frames are switched and MAC learning continues live. The PC's next DHCP Discover retry (Windows retries automatically) succeeds and the whole DORA sequence proceeds normally from there.
ForwardingOn an access port known to only ever connect a single end host — never another switch or hub — an admin enables PortFast (an edge-port designation). PortFast tells STP to skip Listening and Learning entirely and jump straight from link-up to Forwarding, because a single PC has no physical way to create a loop.
PortFastBest practice pairs PortFast with BPDU Guard: if that "PC-only" port ever receives a BPDU — meaning someone plugged in an unmanaged switch or hub instead of a PC — the port is immediately error-disabled rather than silently becoming part of the spanning tree. The assumption behind PortFast is enforced, not just hoped for.
BPDU Guardspanning-tree portfast) is the standard, safe, per-port fix. Changing the global Forward Delay timer instead affects every port on the switch and risks network-wide instability, so it's almost never the right tool for a single access port's slow startup.err-disabled) and stays that way until an admin manually re-enables it or errdisable recovery is configured to auto-restore it after a timeout.| Term | Meaning |
|---|---|
| 802.1D | The original Spanning Tree Protocol standard — the source of the Blocking/Listening/Learning/Forwarding timeline |
| Forward Delay | The 15-second (default) timer used once in Listening and once in Learning |
| Max Age | 20-second (default) timer controlling how long a switch waits before acting on missing BPDU information |
| PortFast / Edge Port | A per-port setting that skips Listening/Learning for ports known to only ever face a single end host |
| BPDU Guard | Error-disables a PortFast port immediately if it ever receives a BPDU — enforces the "single host only" assumption |
| Rapid PVST+ (802.1w) | Modern STP variant using proposal/agreement handshakes; converges edge ports in ~1-2s instead of 30-50s |
| BPDU | Bridge Protocol Data Unit — the message switches exchange to build and maintain the spanning tree |
| Err-disabled | An administratively shut-down state a port is placed into by a protection feature like BPDU Guard |
| Root Bridge | The elected reference switch the entire spanning tree topology is calculated relative to |
| Topology Change | A link state change that can trigger accelerated MAC table flushing and, on classic STP, a full re-convergence |