9-4
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 9 Configuring Spanning-Tree PortFast, UplinkFast, BackboneFast, and Loop Guard
Understanding How BackboneFast Works
Figure 9-1
UplinkFast Example Before Direct Link Failure
If Switch C detects a link failure on the currently active link L2 (a direct link failure), UplinkFast
unblocks the blocked port on Switch C and transitions it to the forwarding state without going through
the listening and learning states, as shown in
Figure 9-2
. This switchover takes approximately 1 to
5 seconds.
Figure 9-2
UplinkFast Example After Direct Link Failure
Understanding How BackboneFast Works
BackboneFast is initiated when a designated port on a network device receives inferior BPDUs from its
designated bridge. Inferior BPDUs can occur when the designated device loses the root and advertises a
root with a higher bridge ID or the device path/cost to the root is higher than the network device. When
a switch receives an inferior BPDU, it indicates that a link to which the switch is not directly connected
(an indirect link) has failed (that is, the designated bridge has lost its connection to the root bridge).
Under normal spanning-tree rules, the switch ignores inferior BPDUs for the configured maximum aging
time, as specified by the
agingtime
variable of the
set spantree maxage
command.
The switch tries to determine if it has an alternate path to the root bridge. If the inferior BPDU arrives
on a blocked port, the root port and other blocked ports on the switch become alternate paths to the root
bridge. (Self-looped ports are not considered alternate paths to the root bridge.) If the inferior BPDU
arrives on the root port, all blocked ports become alternate paths to the root bridge. If the inferior BPDU
arrives on the root port and there are no blocked ports, the switch assumes that it has lost connectivity
to the root bridge, causes the maximum aging time on the root to expire, and becomes the root switch
according to normal spanning-tree rules.
L1
L2
L3
Switch C
Switch A
(Root)
Switch B
Blocked port
1
1241
L1
L2
L3
Switch C
Switch A
(Root)
Switch B
UplinkFast transitions port
directly to forwarding state
Link failure
1
1242