Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Discarding

Direct answer

RSTP collapses legacy Blocking, Listening and Disabled behavior into the Discarding state for user data. A discarding port does not forward data frames and does not learn source MAC addresses into the forwarding database, while the control plane can still process BPDUs needed for topology decisions. A healthy alternate or backup port can remain Discarding indefinitely.

When to use this

Use it when a port is up/up but passes no traffic for a VLAN and show spanning-tree shows BLK or BKN.

First 30 seconds

1. RSTP discarding = no forwarding and no MAC learning.

2. Alternate/backup ports stay discarding; designated ports pass through it briefly.

3. show spanning-tree vlan 10 — state BLK on the port.

Operational verification

port up → role decided from BPDUs → Altn/Back: discarding by design → Desg/Root: discarding only during sync, then forwarding → still BKN: guard or inconsistency (Type column) → fix cause → FWD

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
Key commandshow mac address-table interface <interface>
Scope / prerequisiteUse it when a port is up/up but passes no traffic for a VLAN and show spanning-tree shows BLK or BKN.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show mac address-table interface <interface>

Look first: VLAN, MAC, type, learned interface

Healthy: Endpoint MAC is learned in expected VLAN/interface.

Warning: Missing, flapping or learned on unexpected interface/VLAN.

Does not prove: MAC learning does not prove ARP/IP routing or application reachability.

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
show spanning-tree vlan 10
show spanning-tree inconsistentports
show spanning-tree blockedports

In the summary, BLK next to Altn or Back needs no action, while BKN* always carries a reason in the Type column. The second command lists only ports held by a consistency check, with the reason spelled out. The third is the quick inventory of everything blocked.

Known-good: only redundant ports are discarding, show spanning-tree inconsistentports is empty, and each switch still has a forwarding path to the root.

Step 2 Verification & troubleshooting Narrow the fault

1. show spanning-tree vlan <vlan> → read Role, Sts and Type together.

2. Role Altn or Back with BLK: normal — stop here.

3. BKN*: run show spanning-tree inconsistentports and follow the named inconsistency.

4. Desg BLK that does not clear: check the link type and what the neighbour runs.

5. show spanning-tree blockedports lists every blocked port per VLAN when you need the overview.

Step 3 Failure signatures and troubleshooting branches Narrow the fault
  • *ROOT_Inc. A superior BPDU arrived on a Root Guard port; a downstream switch claims to be root.
  • *LOOP_Inc. BPDUs stopped arriving on a Loop Guard port; suspect a one-way link.
  • *PVID_Inc. Native VLAN mismatch on a trunk; set the same native VLAN on both ends.
  • *TYPE_Inc. One end is access, the other trunk; make the modes match.
  • A host waits 30 seconds for the network. Not a fault in the state itself: the port walks through discarding and learning by timer because PortFast is missing.
Step 4 When the problem is really fixed Narrow the fault
  • Every discarding port has role Altn or Back.
  • show spanning-tree inconsistentports returns nothing.
  • Each switch has a root port in FWD for every VLAN.
  • Host ports are edge ports and forward immediately.
Step 5 Common mistakes Narrow the fault
  • Port stuck discarding because of an inconsistent state (root/loop guard).
  • PortFast missing, so hosts wait for DHCP.
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

Discarding replaces 802.1D Blocking and Listening; Cisco output still prints BLK. The port drops user frames and learns no MAC addresses but keeps processing BPDUs. BLK with role Altn or Back is normal; BKN* means a guard or inconsistency is holding the port — read the Type column.

Key checks

show spanning-tree vlan 10 → Role and Type next to BLK/BKN*. show spanning-tree inconsistentports → Root, Loop, PVID or Type inconsistency. show spanning-tree blockedports → every blocked port per VLAN in one list.

ReferenceWhat it is1 section · depth on demand

What it is

Discarding is the RSTP port state in which a port drops all user frames and learns no MAC addresses, while still exchanging BPDUs. It is how spanning tree stops a redundant link from forming a loop. Cisco output prints the state as BLK.

ReferenceWhy it matters1 section · depth on demand

Why it matters

A port that is up/up and passes nothing is puzzling until you see it is discarding — and then the real question is why. Discarding as an alternate port is the network working as designed. Discarding because a guard feature has tripped, or because the port is waiting on timers, is a fault with a cause to find. The state looks the same in all cases; the role and the Type column tell them apart.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

  • Replaces the 802.1D states disabled, blocking and listening.
  • No forwarding and no MAC learning, but BPDUs are still processed.
  • BLK with role Altn or Back is normal.
  • BKN* means the port is held by a consistency check: *ROOT_Inc, *LOOP_Inc, *PVID_Inc or *TYPE_Inc.
  • New designated ports start in discarding and leave by agreement (fast) or by timer (15 s + 15 s).
  • The state is per VLAN; err-disabled is something else — that port is down.

In depth

Discarding: the RSTP state that forwards no user traffic

The Catalyst 9300 RSTP guide maps the 802.1D states to RSTP: blocking, listening and disabled all become discarding. A discarding port doesn't forward frames and doesn't learn MAC addresses. Cisco's output still shows the state as BLK, as the guide notes.

Operational status802.1D stateRSTP stateIn the active topology
EnabledBlockingDiscardingNo
EnabledListeningDiscardingNo
EnabledLearningLearningYes
EnabledForwardingForwardingYes
DisabledDisabledDiscardingNo
C9300# show spanning-tree vlan 10 | include BLK
Po11                Altn BLK 2         128.2082 P2p
C9300# show spanning-tree interface Port-channel11 detail | include blocking|BPDU
 Port 2082 (Port-channel11) of VLAN0010 is alternate blocking
   BPDU: sent 1, received 284211

What a discarding port still does

ActivityDiscarding port
Forward user framesNo
Learn MAC addressesNo
Receive and process BPDUsYes
Send BPDUsDepends on role: designated ports send them, alternate and backup ports normally don't

Roles that are discarding

RoleUsually
AlternateDiscarding
BackupDiscarding
Designated during syncBriefly discarding until agreement is received
Root or designated after a failureBriefly, until the handshake completes

Discarding during the proposal and agreement handshake

When a switch receives a proposal, it blocks (discards on) all its non-edge ports while it syncs, then agrees. The guide states that a port counts as synchronised if it is blocking or is an edge port. That brief discard on downstream ports is how RSTP guarantees no loop forms while it moves the upstream port to forwarding.

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

Discarding is the RSTP state in which a port neither forwards user frames nor learns MAC addresses, while still receiving BPDUs. It replaces classic STP's separate disabled, blocking and listening states with a single state, because those three behaved identically for user traffic.

Ports are discarding in three situations: as alternate or backup ports in a stable topology, briefly while a designated port waits for agreement, and when a protection feature has acted (for example Root Guard puts a port in root-inconsistent discarding, Loop Guard in loop-inconsistent). The show output tells the reason, which matters because the fix differs completely: an alternate port is healthy, an inconsistent port needs the neighbour or cabling investigated.

show spanning-tree vlan 20
show spanning-tree inconsistentports
show spanning-tree interface Gi1/0/24 detail
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

RSTP separates what a port is from what it does. The role — root, designated, alternate, backup — is decided from BPDUs. The state — discarding, learning, forwarding — is how the port treats frames. Root and designated ports are meant to end up forwarding; alternate and backup ports stay discarding for as long as they keep that role.

Ports that will forward still begin in discarding. During a proposal/agreement exchange a switch also puts its non-edge designated ports back into discarding for a moment before it agrees to a new root port. This "sync" step is what guarantees no temporary loop; edge ports are left alone.

Two inconsistencies come from PVST+ itself rather than from a guard feature. PVID_Inc appears when the BPDU for a VLAN arrives on a different VLAN — a native VLAN mismatch on a trunk. TYPE_Inc appears when one end is an access port and the other a trunk.

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

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Expected output

Cisco IOS / IOS XE IEEE 802.1D-2004 / 802.1Qshow spanning-tree vlan 10

Expected state: A normal alternate port next to a port held by Root Guard.

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- ----
Gi1/0/1             Root FWD 4         128.1    P2p
Gi1/0/2             Altn BLK 4         128.2    P2p
Gi1/0/3             Desg BKN*4         128.3    P2p *ROOT_Inc
! Illustrative output, not captured Evidence.
Gi1/0/2 is discarding by design (backup uplink). Gi1/0/3 is `BKN*` with `*ROOT_Inc`: Root Guard is blocking it because a superior BPDU arrived — that one needs attention.
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 → RSTP — 802.1w → Rapid PVST+ → Discarding. 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

Discarding operational reference

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

BoundaryKnown-good for DiscardingSuspicious signatureNext proof
IntentMatches RSTP discarding state designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statea port stuck Discarding when it should be root/designated, a topology-change loop after forcing it forward, or operators treating intentional loop prevention as an outageInspect 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
Confirmation

Confirm action

Continue?