Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Designated Port · Spanning Tree Fundamentals

Direct answer

A designated port is the one port on each link (segment) that offers the lowest cost to the root. It forwards on that segment. All root bridge ports are designated.

When to use this

Use it to understand which end of an inter-switch link forwards and which end blocks.

First 30 seconds

1. show spanning-tree vlan <id> on both ends of the link — which side is Desg?

2. Compare root path cost of the two switches.

3. Equal → the lower bridge ID is designated.

4. The other end is Root or Altn (blocking).

5. Both ends designated → BPDUs are not being received on one side (filter, unidirectional link).

Operational verification

both switches send BPDUs on the link → lower root path cost wins → tie → lower bridge ID → winner designated and forwarding → other end root or alternate

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Scope / prerequisiteUse it to understand which end of an inter-switch link forwards and which end blocks.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary

Operationally, identify the exact VLAN/instance and physical or logical segment. Confirm the common root ID on both switches, then compare each switch’s root path cost and bridge ID. Use the STP interface view to verify which side is designated and what BPDU information it advertises. If costs/IDs tie far enough to require port ID comparison, record those values explicitly. A known-good segment should have one coherent designated side and the expected peer role, with user traffic following the resulting tree. For trunks, verify the behavior for the affected VLAN rather than assuming one spanning-tree instance represents all VLANs. This section is authored reference guidance for Designated Port in the STP context.

Step 2 Verification & troubleshooting Narrow the fault

Compare both ends of the segment with show spanning-tree vlan <vlan> and confirm one side is Designated FWD while the peer role is appropriate.

Step 3 Common mistakes Narrow the fault
  • Assuming the root has non-designated ports.
  • Ignoring designated ports facing other switches.
Step 4 Failure signatures and troubleshooting branches Narrow the fault

If the unexpected side becomes designated, first check whether its root path cost is actually lower or whether the intended root changed. If root cost ties, walk the bridge-ID and port-ID tie-break sequence. If both sides appear designated for what should be one point-to-point STP relationship, investigate missing BPDUs, VLAN mismatch, unidirectional traffic or inconsistent instance scope. If the correct side is designated but user frames do not pass, inspect port state, VLAN allowance, MAC learning and endpoint path. Do not force a designated outcome with arbitrary cost changes until the current election is explained. This section is authored reference guidance for Designated Port in the STP context.

Step 5 When the problem is really fixed Narrow the fault

After remediation, verify the designated role remains stable through reconvergence and that the peer holds the expected non-designated/root role for the same instance. Replay traffic through the segment, check MAC movement and confirm the redundant path still prevents loops. When a bridge priority or cost changed, inspect at least one adjacent segment to ensure the tree did not move somewhere unintended. The operational role shown at one moment is evidence only for that snapshot and should not be converted into a generic verification timestamp automatically. This section is authored reference guidance for Designated Port in the STP context.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

On a link between two switches, the end on the switch with the lower root path cost is designated; on a tie, the lower bridge ID wins. Access ports to end devices are designated because nothing competes for them.

Key checks
  • show spanning-tree vlan <id> — root ID, local bridge ID, and each port's role, state and cost.
  • show spanning-tree root — the root bridge, root cost and root port per VLAN.
  • show spanning-tree vlan <id> detail — BPDUs sent and received, topology changes and their source.
  • show spanning-tree summary — mode, enabled features and port counts per state.
  • show spanning-tree inconsistentports — ports blocked by root guard, loop guard or type inconsistency.
ReferenceWhat it is1 section · depth on demand

What it is

A designated port is the port selected to forward frames toward and from a particular Layer 2 segment for the spanning-tree instance.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use designated-port selection to understand which side of a segment is responsible for forwarding toward the root and sending superior BPDUs onto that segment.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

Each segment has one designated port for a tree. The bridge advertising the best path to the root on that segment wins; ties are resolved with bridge/port identifiers.

In depth

Each segment has one designated port, the one that forwards towards that segment

On every link (segment), the switch closest to the root wins the designated port role for that link. The Catalyst 9300 guide describes designated ports as forwarding, one per segment. All ports on the root bridge are designated ports, and edge ports to hosts are designated too.

How the designated port is chosen

StepLowest value wins
1Root path cost advertised on the segment
2Sender bridge ID
3Sender port ID
C9300-DIST1# show spanning-tree vlan 30 | begin Interface
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- ------------------
Te1/0/1             Desg FWD 2         128.1    P2p
Te1/0/2             Desg FWD 2         128.2    P2p
Te1/0/24            Root FWD 2         128.24   P2p
C9300-DIST1# show spanning-tree interface Te1/0/1 detail | include designated|BPDU
   Designated root has priority 24606, address a0f8.4912.3400
   Designated bridge has priority 28702, address c4b2.39aa.7700
   BPDU: sent 18442, received 3

A designated port sends BPDUs and hardly receives any. A designated port that suddenly receives many superior BPDUs is losing its role.

Port roles at a glance (Rapid PVST+ / MST)

RoleStatePurpose
RootForwardingBest path to the root
DesignatedForwardingBest path from the segment to the root
AlternateDiscardingBackup path to the root (via another bridge)
BackupDiscardingBackup for a designated port on the same segment (shared media)

Why designated roles matter for guards

Root guard is placed on designated ports facing downstream switches. If such a port would become a root port because it receives a superior BPDU, root guard blocks it. Loop guard is placed on root and alternate ports, to stop them becoming designated after a unidirectional failure.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A designated port is the port on each network segment that forwards traffic towards (and away from) the root bridge for that segment. On every link, one end is designated; on the root bridge all ports are designated.

Segment situationDesignated port
Root bridge linkRoot bridge's port
Link between two non-root switchesPort on the switch with lower cost to root, then lower bridge ID
Access port to a hostThe switch port

In show spanning-tree, designated ports show role Desg and state FWD.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

For every STP segment, the protocol needs one bridge to be responsible for forwarding frames from that segment toward the root and for sending the superior BPDU onto it. That bridge’s participating port becomes the designated port. The election compares the root ID being advertised, root path cost, sender bridge ID and sender port ID. On a link between two non-root switches, the side with the superior path toward the root normally becomes designated while the other side may be root, alternate or another role depending on topology/protocol variant. The role is evaluated per STP instance, so the same physical trunk can be designated for one VLAN and non-designated for another. This section is authored reference guidance for Designated Port in the STP context.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → STP → Spanning Tree Fundamentals → 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%
Embedded reference data

Quick lookup tables

Designated Port operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

Election elementPreferred valueFailure clueNext boundary
Root IDCommon intended rootDifferent roots per sideBPDU/VLAN scope
Root path costLower wins designated contestUnexpected lower pathCost/topology
Bridge IDLower breaks cost tiePriority/MAC surpriseBridge config
Port IDFinal local tie-breakDifferent port winsPort priority/number
User forwardingOne designated pathBoth/none forward unexpectedlySTP control/L2
Confirmation

Confirm action

Continue?