An STP port state determines whether a switch port exchanges BPDUs, learns MAC addresses, and forwards regular data frames. These states help STP prevent Layer 2 loops while allowing selected ports to carry traffic. section 14.4 section 14.0
The four main STP states are:
- Blocking (BLK): does not forward frames or learn MAC addresses; listens for BPDUs and normally represents a non-designated port. section 14.4.1
- Listening (LIS): exchanges only STP BPDUs while STP determines the port role; it neither forwards data nor learns MAC addresses. section 14.4.1
- Forwarding (FWD): forwards and receives frames while learning MAC addresses; root and designated ports should reach this stable state. section 14.4
Checking a newly enabled port
After G0/1 is shut down and reenabled, show spanning-tree can display Root LIS. LIS means the port has entered the transitional listening state. A non-designated port can instead move to BLK; a root or designated port proceeds through listening and learning before forwarding.
