Designated Port
Cheat sheet · https://pcornel.dk/topic.php?topic=1030
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
| Boundary | Known-good for Designated Port | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches designated-port election design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | both ends appearing to have an unexpected role, a downstream bridge advertising superior information, or a designated role differing between VLANs because the roots differ | Inspect protocol/RIB detail |
| Forwarding | Expected egress/Port-Channel/VLAN path | State exists but traffic path disagrees | FIB/MAC/adjacency |
| Closure | Original test passes for explained reason | Symptom merely moved or was bypassed | Regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1030