| ![]() |
|
Understanding and Configuring Backbone Fast on Catalyst Switches. Printable Pdf
Before You Begin Conventions Prerequisites Components Used BPDUs and How to Compare Them How STP Recovers From an Indirect Link Failure TBackbone Fast Enhancements to Standard STP Detecting Indirect Link Failures Reacting to Indirect Link Failures The Root Link Query PDU Example Scenario with Backbone Fast Feature Enabled Configuring Backbone Fast for CatOS and Integrated Cisco IOS (Native Mode) Configuration for CatOS Configuration for Integrated Cisco IOS (Native Mode) (Catalyst 6000, Catalyst 4000, Catalyst 2950 Series, and Catalyst 3550 Series) Related Information IntroductionBackbone fast is a Cisco proprietary feature that, once enabled on all switches of a bridge network, can save a switch up to 20 seconds (max_age) when recovering from an indirect link failure. After a quick review of some Spanning-Tree Protocol (STP) basics, you will see the exact failure scenario to which backbone fast applies and how to configure it for Catalyst switches running both CatOS and Integrated Cisco IOS (Native Mode) (Catalyst 6000 Series switches, Catalyst 4000 switches, and Catalyst 2950/3550 series switches). Before You BeginConventionsFor more information on document conventions, see the Cisco Technical Tips Conventions. PrerequisitesThere are no specific prerequisites for this document. Components UsedThe information in this document is based on the software and hardware versions below.
BPDUs and How to Compare ThemBridge Protocol Data Units (BPDUs) can be strictly classified using the fields they carry. Among these fields are the root bridge ID, path cost to the root, and sender bridge ID. A BPDU is considered better than another BDPU for the following reasons:
There are other variables that then can act as a tie-breaker, however, the better a BPDU, the better the access
to the best root bridge. How STP Recovers From an Indirect Link FailureBelow is illustrated how STP behaves when it has to recalculate after an indirect link failure, that is, when a bridge has to change the status of some of its ports because of a failure on a link that is not directly attached to it. ![]() Consider the above diagram involving three switches R, B, and S in a fully meshed topology. Assume that R is the root bridge and B is backup root bridge. S is blocking its port P and B is the designated bridge for link L3.
It took the max_age value (20 seconds) plus twice the fw_delay value (2x15 seconds) to recover from this indirect link failure. This is 50 seconds with the default parameters. The backbone fast feature proposes to save max_age (20 seconds) by aging out immediately after the port receive inferior BPDUs. Backbone Fast Enhancements to Standard STPWith the previous example, STP invalidates information that became wrong because of an indirect link failure by passively waiting for max_age. To get rid of this max_age delay, backbone fast introduces two enhancements:
Detecting Indirect Link FailuresIf an inferior BPDU is received on a port from our designated bridge, then this bridge has: 1.Lost the root and starts advertising a root with a higher bridge ID (a worse root than ours). 2.Or its path to the root has increased above ours. ![]() ![]() The usual behavior in regards to the Institute of Electrical and Electronics Engineers (IEEE) specifications is
to simply ignore any inferior BPDUs. Backbone fast will use them because as soon as one is received, it is
certain that a failure occurred on the path to the root and that you will have to age out at least one port. ![]() The link failure occurs between the root bridge R and the hub. B doesn't detect the link going down and will
wait max_age before claiming to be the new root. Remember that the mechanism will only work if a bridge
detects a direct link failure. Reacting to Indirect Link FailuresWhen an inferior BPDU has been detected on a non-designated port, the second phase of backbone fast is triggered. Instead of passively waiting max_age to age out ports that could have been affected by the failure, a proactive way of testing them immediately is introduced by means of the RLQ PDU. The RLQ is used to achieve a kind of ping for the root on a non-designated port and allowed to quickly confirm if the BPDU stored on a port is still valid or needs to be discarded. ![]() On receipt of an inferior BPDU from a designated bridge, send a RLQ PDU on all non-designated ports
except the port where you received the inferior BPDU and self-looped ports. This in order to check that you
still hear from the root on ports where you are used to receiving BPDUs. The port where you received the
inferior BPDU is excluded because you should already be aware that it suffered from a failure, self-looped
and designated ports are not useful, as they don't lead to the root. ![]() ![]() ![]() ![]() ![]() In a case where the switch received only responses with a root different from R, consider the root as lost and
restarted STP calculation from scratch immediately. Note that this case also occurs when the only The Root Link Query PDUThe two forms of RLQs are RLQ requests and RLQ responses. ![]() Below is the PDU field is: ![]() The message type used in the PDU is also different from the standard BPDU. Example Scenario with Backbone Fast Feature EnabledThe following scenario is based on the first example, however, this time with backbone fast enabled on the three switches.
![]() Configuring Backbone Fast for CatOS and Integrated Cisco IOS (Native Mode)Configuration for CatOSFor Catalyst 4000, 5000, and 6000 series switches running CatOS, use the following commands to enable backbone fast globally for all ports and to verify the configuration. Console> (enable) set spantree backbonefast enable Backbonefast enabled for all VLANs Console> (enable) show spantree backbonefast ! This command show that the backbonefast feature is enabled. Backbonefast is enabled. Console> (enable) To display backbone fast statistics: Console> (enable) show spantree summary Summary of connected spanning tree ports by vlan Uplinkfast disabled for bridge. Backbonefast enabled for bridge. Vlan Blocking Listening Learning Forwarding STP Active ----- -------- --------- -------- ---------- ---------- 1 0 0 0 1 1 Blocking Listening Learning Forwarding STP Active ----- -------- --------- -------- ---------- ---------- Total 0 0 0 1 1 BackboneFast statistics ! The show spantree summary command displays all backbonefast statistics. ----------------------- Number of inferior BPDUs received (all VLANs): 0 Number of RLQ req PDUs received (all VLANs): 0 Number of RLQ res PDUs received (all VLANs): 0 Number of RLQ req PDUs transmitted (all VLANs): 0 Number of RLQ res PDUs transmitted (all VLANs): 0 Console> (enable) Configuration for Integrated Cisco IOS (Native Mode) (Catalyst 6000, Catalyst 4000, Catalyst 2950 Series, and Catalyst 3550 Series)For Catalyst 6000 series switches , Catalyst 4000 series switches, Catalyst 2950 Series switches and Catalyst 3550 Series switches use the following commands to enable backbone fast globally for all interfaces. CAT-IOS# configure terminal CAT-IOS(config)# spanning-tree backbonefast CAT-IOS(config)# end CAT-IOS# To verify that backbone fast is enabled and to show statistics: CAT-IOS# show spanning-tree backbonefast BackboneFast is enabled BackboneFast statistics ----------------------- Number of transition via backboneFast (all VLANs) : 0 Number of inferior BPDUs received (all VLANs) : 0 Number of RLQ request PDUs received (all VLANs) : 0 Number of RLQ response PDUs received (all VLANs) : 0 Number of RLQ request PDUs sent (all VLANs) : 0 Number of RLQ response PDUs sent (all VLANs) : 0 CAT-IOS# Related Information
All contents are Copyright © 1992-2005 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.
|
|
|||||||||||||||||||||||||
Site Design and Hosting by: Professional Web Concepts, Inc. Copyright 2006 Ciscokits |
|||||||||||||||||||||||||||