liveBook · Manning

Learning state

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

The learning state is an STP port state in which a port listens for BPDUs and learns MAC addresses but does not yet forward traffic.

The learning state is a transitional STP port state. The port listens for BPDUs and learns MAC addresses from received frames, but it does not forward traffic. This prepares a root or designated port for forwarding while STP checks that the topology will not create a Layer 2 loop. section 14.4.1

Track the port’s behavior during STP convergence:

  • A newly enabled port first enters listening, where STP determines its role. section 14.4.1
  • A root or designated port then enters learning for 15 seconds by default. section 14.4.2
  • If STP detects a topology change and the port becomes non-designated, it immediately returns to blocking. section 14.4.1
  • After learning, the port enters forwarding and becomes fully operational. section 14.4.1
Table 14.2 STP port states (view table figure)

State

Forward frames?

Learn MAC addresses?

Stable or transitional?

Blocking (BLK)

No

No

Stable

(non-designated)

Listening (LIS)

No

No

Transitional

Learning (LRN)

No

Yes

Transitional

Forwarding (FWD)

Yes

Yes

Stable

(root, designated)

Compare learning with blocking, listening, and forwarding by checking whether each state forwards frames, learns MAC addresses, and remains stable or transitional. section 14.4.1

Why PortFast matters

Without PortFast, a newly connected end host can wait 30 seconds while the port passes through listening and learning. PortFast moves an end-host port directly to forwarding, but it must not be used toward switches because bypassing these states can create Layer 2 loops. section 14.5.1 section 14.4.2

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Defines behavior, transitions, timing, and loop-prevention consequences without descending into implementation internals.
Examples
Uses state tables, port-transition diagrams, default timers, and PortFast scenarios involving end hosts and switches.
What it assumes
Assumes basic awareness of switches and ports while defining BPDUs, STP roles, MAC learning, and forwarding states.
What you can do after
Diagnose STP convergence behavior by identifying MAC learning, forwarding availability, timer delays, and transitions to blocking.
How it connects
Connects learning state to STP, BPDUs, MAC address tables, root ports, designated ports, blocking, listening, forwarding, and PortFast.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.