Question

Difficulty: MediumSTP Port States and PortFast Benefits

An engineer is analyzing legacy IEEE 802.1D Spanning Tree Protocol (STP) behavior on a Cisco switch interface that is configured without PortFast. Place the following STP port states in chronological order, starting from link initialization and ending when the interface reaches active user data transmission.

  1. 1Blocking state: The interface discards user data frames and refrains from learning MAC addresses while receiving BPDUs to evaluate potential switching loops.
  2. 2Listening state: The interface transmits and receives BPDUs to determine root bridge and port role assignments, but still discards user frames and does not learn MAC addresses.
  3. 3Learning state: The interface continues BPDU exchange and populates its MAC address table from incoming frame headers, but continues to discard user data payload forwarding.
  4. 4Forwarding state: The interface actively processes BPDUs, maintains MAC table entries, and forwards data frames across the switch fabric.

Answer

The correct chronological order of classic IEEE 802.1D STP port states during port initialization is Blocking, Listening, Learning, and Forwarding.
Standard IEEE 802.1D STP port state convergence transitions sequentially through Blocking (loop prevention / BPDU listening) -> Listening (BPDU transmission/reception, topology role determination) -> Learning (MAC address table population without frame forwarding) -> Forwarding (full data frame forwarding and continuous learning).

Step-by-Step Solution

1
Identify the initial state assigned to prevent immediate switching loops upon link UP.
The interface starts in the Blocking state where data frames are dropped and MAC addresses are not learned, but incoming BPDUs are evaluated.
802.1D STP defaults to a loop-prevention state to listen for existing network bridge topology.
2
Determine the state where active STP participation and BPDU transmission begin.
The port transitions to the Listening state for 15 seconds (Forward Delay), sending and receiving BPDUs to elect the root bridge and establish port roles.
In Listening, the switch establishes topology structure without yet accepting host MAC entries.
3
Identify the state designed to populate layer 2 tables prior to passing payload traffic.
The port moves to the Learning state for an additional 15 seconds (Forward Delay), reading source MAC addresses from frame headers without forwarding frames.
Pre-building the MAC address table minimizes unicast flooding once frame forwarding is enabled.
4
Identify the ultimate operational state achieved upon timer completion.
The port enters the Forwarding state, enabling full bidirectional user traffic forwarding alongside ongoing BPDU processing and MAC learning.
The port has passed all convergence checks over the 30-second convergence window.

Key Concept

Classic IEEE 802.1D STP Port State Transition Sequence
Rate this question