liveBook · Manning

Stp port role

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

An STP port role is a spanning-tree assignment that determines how a switch port participates in the loop-free topology.

An STP port role determines how a switch port participates in a loop-free Layer 2 topology. Root and designated ports forward traffic; alternate and backup ports block traffic to prevent loops. section 15.2.3 section 14.0

In RSTP, identify roles by their path and relationship to the designated bridge:

  • Root: the forwarding port that provides the switch’s only active path toward the root bridge. section 15.2.3
  • Designated: the forwarding port pointing away from the root bridge; each segment has exactly one. section 15.2.3
  • Alternate: a blocked path toward the root bridge that can transition to forwarding if the root port fails. section 15.2.3
  • Backup: a blocked path to the same segment through another port on the same switch, usually involving a hub. section 15.2.3

Reading Cisco output

show spanning-tree may display Root/FWD, Desg/FWD, Altn/BLK, or Back/BLK. SW1 G0/1 is alternate, while SW3 G0/1 is backup when both switches have multiple connections to one segment.

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

How deep it goes
Defines four RSTP roles and their conditions, then stops short of configuration procedures.
Examples
Uses Cisco show spanning-tree output and shared-segment examples involving SW1 and SW3.
What it assumes
Assumes basic STP ideas such as root bridges and Layer 2 loops while distinguishing RSTP role changes.
What you can do after
Diagnose port roles and states by interpreting Cisco show spanning-tree output.
How it connects
Connects STP port roles with RSTP, root bridge, designated bridge, forwarding state, and Layer 2 loops.

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.