Pcornel
Networking · Switching › STP › RSTP — 802.1w › Rapid PVST+

Designated Port

Cheat sheet · https://pcornel.dk/topic.php?topic=1030

Back to the Topic

Answer

For each VLAN and Layer-2 segment, Rapid PVST+ selects the port advertising the best path toward the root as designated. On the root bridge, active ports are normally designated because the root advertises zero root-path cost. On a point-to-point link, one side can be designated while the other side is root or alternate depending on the topology.

Remember

Every segment has exactly one designated port: the one that advertises the lowest root path cost, then lowest bridge ID, then lowest port ID. The other end is a root port, or it blocks as alternate. All ports on the root bridge are designated, and so are access ports toward hosts.

First checks

show spanning-tree vlan 10 → Desg ports. show spanning-tree vlan 10 interface <if> detail → Designated bridge and Designated port id show who won the segment. Check both ends of the link: one Desg, the other Root or Altn.

Commands

show spanning-tree vlan <vlan>
show spanning-tree vlan <vlan> interface <port> detail

Verify in this order

both ends send BPDUs on the segment → lower advertised root path cost wins → tie: lower bridge ID → lower port ID → winner is Desg/FWD → other end is Root or Altn

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

Designated Port operational reference

BoundaryKnown-good for Designated PortSuspicious signatureNext proof
IntentMatches designated-port election designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member stateboth ends appearing to have an unexpected role, a downstream bridge advertising superior information, or a designated role differing between VLANs because the roots differInspect protocol/RIB detail
ForwardingExpected egress/Port-Channel/VLAN pathState exists but traffic path disagreesFIB/MAC/adjacency
ClosureOriginal test passes for explained reasonSymptom merely moved or was bypassedRegression test

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1030

Confirmation

Confirm action

Continue?