Use it to work out which end of a link forwards and which end blocks, or why a port you expected to block is forwarding.
Designated Port · Rapid PVST+
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.
1. show spanning-tree vlan 10 — Desg ports forward toward the segment.
2. One designated port per segment: lowest root path cost wins.
3. All ports on the root bridge are designated.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show spanning-tree vlan 10Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
show spanning-tree vlan 10
show spanning-tree vlan 10 interface Gi1/0/2 detail
The summary gives role, state and link type per port. The detail view names the Designated bridge and Designated port id for the link and counts BPDUs: on a designated port sent rises steadily and received stays low.
Known-good: every inter-switch link has Desg on exactly one end, designated ports are FWD with type P2p, and host ports are Desg FWD with type P2p Edge.
Step 2 Verification & troubleshooting Narrow the fault
1. show spanning-tree vlan <vlan> → ports with role Desg.
2. For the link in question, look at both ends: expect Desg on one and Root or Altn on the other.
3. show spanning-tree vlan <vlan> interface <port> detail → if Designated bridge is this switch's own address, this port owns the link; otherwise the neighbour does.
4. Desg on both ends for more than a moment means BPDUs are lost in one direction: check for a one-way link, a BPDU filter, and whether the received counter moves.
Step 3 Failure signatures and troubleshooting branches Narrow the fault
- Port is designated where you expected it to block. This switch is closer to the root than you assumed, or the neighbour's better BPDU is not arriving (filter, one-way link).
- Designated port sits in
BLKorLRNfor 30 seconds after link-up. No agreement came back: the neighbour runs legacy STP, the link is half duplex, or it is a host port without PortFast. Desg BKN*. A consistency check is holding the port — read the Type column (*ROOT_Inc,*PVID_Inc,*TYPE_Inc).- Both ends designated and forwarding. A loop: expect a broadcast storm and MAC flapping. Look for BPDU Filter and one-way fibre.
- Constant topology changes from host ports. Designated host ports are not edge ports; enable PortFast.
Step 4 When the problem is really fixed Narrow the fault
- Each inter-switch link shows
Desgon one end andRootorAltnon the other. - Designated ports reach
FWDwithin a second of link-up. - No port is
BKN*. - BPDU
sentcounters rise on designated ports. - Host-facing designated ports are edge ports.
Step 5 Common mistakes Narrow the fault
- Expecting one designated port per switch (it is per segment).
- Ignoring designated ports on access switches toward hosts.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
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.
ReferenceWhat it is1 section · depth on demand
What it is
A designated port is the port that forwards onto a link on behalf of the whole tree: of all ports attached to that link, it is the one with the best path to the root. Every link has exactly one. On a link between two switches it is one of the two ends; on a link to a host it is the switch port.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Designated ports show which switch owns each link. The port opposite a designated port is either a root port — the link is in use — or an alternate — the link is blocked. That makes the designated role the quickest way to read which end of a redundant link stays open. It also exposes the dangerous case: designated ports on both ends of one link at the same time mean each side fails to hear the other's BPDUs, and that is how loops begin.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key points
- One per link, elected by lowest advertised root path cost, then lowest bridge ID, then lowest port ID.
- Every active port on the root bridge is designated.
- Ports toward hosts are designated — and edge ports when PortFast is on.
- Designated ports send a BPDU every hello interval; root and alternate ports listen.
- A new designated port starts in discarding and reaches forwarding through proposal/agreement on point-to-point links.
- Root Guard belongs on designated ports; Loop Guard does not.
In depth
Designated port: the forwarding port for each segment
The Catalyst 9300 RSTP guide defines the designated port as the one with the lowest-cost path from a LAN segment towards the root. Every segment has exactly one designated port, and it forwards. All ports on the root bridge are designated (unless two of its ports share a segment).
C9300-DIST-A# show spanning-tree vlan 10
VLAN0010
Root ID Priority 24586
This bridge is the root
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Po10 Desg FWD 2 128.2081 P2p
Po12 Desg FWD 2 128.2083 P2p
Po1 Desg FWD 1 128.2065 P2p
C9300-ACC# show spanning-tree vlan 10 | include Desg
Gi1/0/10 Desg FWD 4 128.10 P2p Edge
How a segment chooses
Designated ports in RSTP
The designated port is the one that sends proposals. The guide describes the proposer's role in the BPDU as designated, and the port moves to forwarding immediately once it receives an agreement. On a point-to-point link that takes a round trip, not 30 seconds.
Typical patterns
| Location | Role |
|---|---|
| All ports on the root bridge | Designated |
| Access ports towards hosts | Designated (and edge with PortFast) |
| The far end of a root port | Designated |
| Link between two non-root switches | Designated on the switch closer to the root; alternate on the other |
Troubleshooting
| Observation | Meaning |
|---|---|
| A switch-to-switch link designated at both ends | BPDUs aren't arriving at one side: risk of a loop; consider loop guard |
| An access switch port designated towards distribution | The access switch thinks it's closer to the root: check root placement or root guard |
Documented example, not captured output.
Quick reference
A designated port is the one port on each network segment that is allowed to forward traffic toward that segment. On a link between two switches, the switch with the better path to the root wins and its port becomes designated; on the root bridge, every active port is designated because no switch is closer to the root. Ports facing end hosts are designated as well, since no other bridge competes for the segment.
In RSTP a designated port moves to forwarding quickly through the proposal/agreement handshake: it proposes, the downstream switch synchronises its own ports (blocking non-edge designated ports briefly) and agrees, and the link forwards within a round trip instead of waiting for timers. That handshake requires a full-duplex point-to-point link — on links detected as shared (half duplex), RSTP falls back to slow timer-based transitions.
show spanning-tree interface Te1/1/1 detail | include designated|point-to-point
spanning-tree link-type point-to-point
Mechanics and state ownership
On every link, each switch compares the BPDU it would send — its own cost to the root, its bridge ID, its port ID — with what it receives from the other side. If its own values are better, its port is designated and keeps sending. If they are worse, it stops sending on that port, which becomes the root port (if this is the switch's best path) or an alternate. The switch nearer the root therefore owns the link, and at equal cost the lower bridge ID does.
A newly designated port is not allowed to forward straight away. On a point-to-point link it sends a proposal; the downstream switch, if it accepts this as its path to the root, first puts its own non-edge designated ports into discarding, then answers with an agreement, and the link forwards. The same exchange then repeats one hop further out, so the change ripples through the network in well under a second. A link that is not point-to-point — half duplex — cannot do this and waits out two forward-delay timers instead.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Expected output
show spanning-tree vlan 10 interface GigabitEthernet1/0/2 detailExpected state: The designated bridge listed on the port is this switch itself.
Port 2 (GigabitEthernet1/0/2) of VLAN0010 is designated forwarding
Port path cost 4, Port priority 128, Port Identifier 128.2.
Designated root has priority 4106, address 0011.2233.4401
Designated bridge has priority 32778, address 0011.2233.4410
Designated port id is 128.2, designated path cost 4
Link type is point-to-point by default
BPDU: sent 1520, received 3
! Illustrative output, not captured Evidence.`Designated bridge` is this switch (…4410), so it owns the segment. `sent` keeps growing while `received` stays low: a designated port sends BPDUs, the other end listens.Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → STP → RSTP — 802.1w → Rapid PVST+ → Designated Port. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Designated Port operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| 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 |