UplinkFast Not Accelerating Convergence After Uplink Failure
Presenting Symptom
After an uplink failure on a switch, the backup uplink does not transition to forwarding state within the expected 1-5 seconds, causing prolonged network downtime.
Network Context
This scenario occurs in a small branch office with two Cisco Catalyst 2960 switches (running IOS 15.0) connected via two redundant uplinks. One uplink is the primary (Port-channel 1), and the other is a backup (GigabitEthernet0/2). UplinkFast is enabled globally on both switches. The network uses Rapid PVST+ as the STP mode.
Diagnostic Steps
Check UplinkFast status on the switch
show spanning-tree uplinkfastUplinkFast is enabled UplinkFast statistics ------------------------ Number of uplinkfast groups: 1 Number of uplinkfast transitions: 0 ...
If UplinkFast is enabled but the number of transitions is 0, it indicates that UplinkFast has never been triggered, which is abnormal after an uplink failure.
Verify STP mode and port roles
show spanning-tree vlan 1VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32769
Address 0011.2233.4455
This bridge is the root
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0011.2233.4455
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Po1 Desg FWD 4 128.27 P2p
Gi0/2 Altn BLK 19 128.2 P2pIf the backup port (Gi0/2) is in Alternate Blocking state, UplinkFast should have transitioned it to forwarding. If it remains BLK, UplinkFast may not be working.
Check if UplinkFast is configured on the correct VLANs
show running-config | include uplinkfastspanning-tree uplinkfast
If the command is present globally, UplinkFast is enabled. However, if the switch is running Rapid PVST+, UplinkFast is not needed and may conflict. This is a common misconfiguration.
Check for UplinkFast incompatibility with Rapid PVST+
show spanning-tree summarySwitch is in rapid-pvst mode ... UplinkFast is enabled ...
If both Rapid PVST+ and UplinkFast are enabled, UplinkFast is ignored because Rapid PVST+ has its own fast convergence mechanisms (proposal/agreement). This is the root cause.
Root Cause
UplinkFast is enabled on a switch running Rapid PVST+. UplinkFast is designed for classic 802.1D STP and is incompatible with Rapid PVST+. When Rapid PVST+ is enabled, UplinkFast is automatically disabled (or ignored) by the switch, so it does not accelerate convergence after an uplink failure. The backup port remains in Alternate Blocking state until the normal Rapid PVST+ convergence completes (which may take up to 6 seconds).
Resolution
Verification
After applying the fix, verify with: 'show spanning-tree uplinkfast' should show 'UplinkFast is disabled'. 'show spanning-tree vlan 1' should show the backup port (Gi0/2) transitioning to Forwarding quickly after an uplink failure. Simulate uplink failure by shutting down Po1: 'interface port-channel 1', 'shutdown'. Then check 'show spanning-tree vlan 1' - Gi0/2 should become Root FWD within seconds.
Prevention
1. Use Rapid PVST+ as the STP mode on all switches for faster convergence without needing UplinkFast. 2. Avoid enabling UplinkFast when using Rapid PVST+ or MST; it is only for classic STP. 3. Standardize STP mode across the network to avoid incompatibilities.
CCNA Exam Relevance
On the CCNA 200-301 exam, this scenario may appear in troubleshooting questions where a candidate must identify why UplinkFast is not working. The exam tests understanding that UplinkFast is only effective with classic 802.1D STP and is automatically disabled when Rapid PVST+ is enabled. Expect multiple-choice questions asking 'Why is UplinkFast not accelerating convergence?' with options including 'Rapid PVST+ is enabled' as the correct answer.
Exam Tips
Remember: UplinkFast is only for classic STP; if Rapid PVST+ is enabled, UplinkFast is ignored.
On the exam, if you see 'spanning-tree uplinkfast' configured but the switch is running Rapid PVST+, that is the problem.
Know that 'show spanning-tree uplinkfast' shows the number of transitions; zero transitions after an uplink failure indicates UplinkFast is not triggering.
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