Spanning TreeCCNA 200-301

STP Convergence Too Slow — Traffic Black-Holed During Failover

Presenting Symptom

After a link failure in the access layer, end-user traffic is black-holed for 30-50 seconds before converging, causing application timeouts.

Network Context

Enterprise campus network with three-layer hierarchy: core (Cisco 6500), distribution (Cisco 4500), and access (Cisco 2960). All switches run PVST+ with default timers. The topology has redundant links between access and distribution switches. The network has approximately 200 VLANs. IOS version 15.x on all devices.

Diagnostic Steps

1

Check STP state on access switch interfaces

show spanning-tree vlan 10
VLAN0010
  Spanning tree enabled protocol ieee
  Root ID    Priority    24586
             Address     0011.2233.4455
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778 (priority 32768 sys-id-ext 10)
             Address     00aa.bbcc.ddee
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1            Root FWD 4         128.1    P2p
Gi0/2            Altn BLK 4         128.2    P2p

Check if any interfaces are in blocking state (BLK) and if the root bridge is correctly placed. In this scenario, both uplinks are in forwarding or blocking as expected, but convergence is slow.

2

Check STP timers on all switches

show spanning-tree vlan 10 detail | include Max|Hello|Forward
Max age 20 sec, Hello time 2 sec, Forward delay 15 sec

Default timers (Max Age 20, Forward Delay 15) cause 30-50 second convergence. If timers are default, this is the root cause of slow convergence.

3

Check for UplinkFast or BackboneFast configuration

show spanning-tree uplinkfast
UplinkFast is disabled on this bridge

UplinkFast is disabled. Without UplinkFast, access switches wait for Max Age + Forward Delay (30+ sec) to converge after a direct link failure.

4

Check for PortFast and BPDUGuard on access ports

show spanning-tree interface gi0/3 detail | include PortFast|Bpdu
PortFast is disabled by default
Bpdu guard is disabled

PortFast is not enabled on access ports, but that does not affect uplink convergence. Focus on UplinkFast.

Root Cause

Default STP timers (Max Age 20 sec, Forward Delay 15 sec) combined with no UplinkFast or BackboneFast enabled. When a root port fails on an access switch, the switch must wait for Max Age (20 sec) before transitioning the alternate port to listening/learning (15 sec each), totaling 50 seconds. This is standard PVST+ behavior without enhancements.

Resolution

Enable UplinkFast on all access switches to reduce convergence to 1-5 seconds. Also enable BackboneFast on all switches to speed up indirect link failures. Commands: 1. On each access switch: spanning-tree uplinkfast 2. On all switches (core, distribution, access): spanning-tree backbonefast Explanation: UplinkFast allows an access switch to immediately transition an alternate port to forwarding when the root port fails, bypassing listening/learning. BackboneFast allows switches to detect indirect link failures faster by using RLQ requests.

Verification

After configuration, verify UplinkFast is enabled: show spanning-tree uplinkfast Expected output: UplinkFast is enabled Then simulate a link failure and check convergence time: show spanning-tree vlan 10 Expected: The alternate port transitions to Root FWD within seconds (no BLK state).

Prevention

1. Enable UplinkFast on all access layer switches to ensure fast convergence on direct link failures. 2. Enable BackboneFast on all switches to speed up convergence on indirect failures. 3. Consider using Rapid PVST+ (802.1w) instead of PVST+ for sub-second convergence.

CCNA Exam Relevance

On the CCNA 200-301 exam, this scenario appears in troubleshooting questions where a network is slow to converge after a link failure. The exam tests knowledge of STP timers (Max Age, Forward Delay) and STP enhancements (PortFast, UplinkFast, BackboneFast). Candidates must know that default PVST+ convergence takes 30-50 seconds and that UplinkFast reduces this to 1-5 seconds. Questions may be multiple-choice or drag-and-drop to identify the correct fix.

Exam Tips

1.

Memorize default STP timers: Hello 2 sec, Max Age 20 sec, Forward Delay 15 sec. Convergence = Max Age + 2 * Forward Delay = 50 sec.

2.

UplinkFast is used on access switches to speed up convergence on direct link failures; BackboneFast is used on all switches for indirect failures.

3.

Rapid PVST+ (802.1w) provides sub-second convergence and is the preferred solution in modern networks.

Commands Used in This Scenario

Test Your CCNA Knowledge

Practice with scenario-based questions to prepare for the CCNA 200-301 exam.

Practice CCNA Questions