Discarding
Cheat sheet · https://pcornel.dk/topic.php?topic=1033
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.
Remember
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.
First 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.
Commands
show mac address-table interface <interface>- Display MAC addresses learned on one interface.
show spanning-tree vlan <vlan>show spanning-tree inconsistentportsshow spanning-tree blockedports
Verify in this order
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
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Discarding operational reference
| Boundary | Known-good for Discarding | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches RSTP discarding state design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | a 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 outage | 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=1033