Search

What is Spanning Tree Protocol (STP) Backbone Fast

UplinkFast, Backbone Fast and Portfast are Cisco’s proprietary extensions to the Classic Spanning Tree Protocol (STP 802.1 D) algorithm. The purpose UplinkFast, Backbone Fast and Portfast are to reduce the time it takes for classic Spanning Tree Protocol (STP) to converge after a link failure.

The BackboneFast extension can dramatically decrease the convergence time of the Spanning Tree Protocol (STP) in the event of an Indirect link (a link in any other switch, which is not connected directly) failure, anywhere in the Spanning Tree Protocol (STP) Topology.

Consider the following topology.

backbonefast

The link between Switch omnisecu.com.SW2 and omnisecu.com.SW1 (Root Switch (Root Bridge)) has failed. The link between Switch omnisecu.com.SW2 and omnisecu.com.SW1 is not a direct link for Switch omnisecu.com.SW3.

The switch omnisecu.com.SW2 detect the link failure and will immediately invalidate the best BPDU stored for its port connecting to omnisecu.com.SW1 (Root Switch (Root Bridge)). Switch omnisecu.com.SW2 will think itself as the Root Switch (Root Bridge) of the Spanning Tree Protocol (STP), since no other ports is receiving BPDUs from Root Switch (Root Bridge).

Now omnisecu.com.SW2 starts sending inferior BPDUs to omnisecu.com.SW3. A BPDU is considered inferior, if Root Switch (Root Bridge) information contained in it is worst compared to the information from original Root Switch (Root Bridge), or the BPDU has longer distance to reach the current Root Switch (Root Bridge). Switches can identify inferior BPDUs from higher Root Switch ID included in the inferior BPDU (a Switch with higher Switch ID cannot become the Root Switch (Root Bridge)).

For Switch omnisecu.com.SW3, the BPDU sent from omnisecu.com.SW2 is inferior, because it is still receiving better BPDUs from the current Root Switch (Root Bridge), omnisecu.com.SW1 .

If the network is running classic Spanning Tree Protocol (STP), the Switches will behave as below.

When omnisecu.com.SW3 start receiving inferior BPDUs at its interface from Switch omnisecu.com.SW2, omnisecu.com.SW3 would ignore the inferior information until the BPDU stored with the blocked port expires (max age timer in seconds).

When max age timer expires, and the Switch omnisecu.com.SW3 is still receiving inferior BPDUs from omnisecu.com.SW2, omnisecu.com.SW3 will start responding to the inferior BPDUs. The port in omnisecu.com.SW3, which received the inferior BPDUs from omnisecu.com.SW2, will move to Listening State, and omnisecu.com.SW3 will start relaying the omnisecu.com.SW1 (Root Switch (Root Bridge) BPDUs to omnisecu.com.SW2 (since the BPDUs from omnisecu.com.SW1 are superior compared to the BPDUs from omnisecu.com.SW2).

omnisecu.com.SW2 now start getting the original BPDUs from the Root Switch (Root Bridge) and move its port through Listening State and Learning State and finally Forwarding State. Both omnisecu.com.SW3 and omnisecu.com.SW2 will move their ports into forwarding states re-establishing the lost connectivity.

Therefore the time required to re-establish an indirect link failure is (max age timer + (forward delay timer + forward delay timer) which is too high for current network applications.

If Backbone Fast is enabled in the network, Spanning Tree Protocol (STP) behaves as below.

When omnisecu.com.SW3 receives an inferior BPDU from omnisecu.com.SW2, it will send a Root Link Query (RLQ) PDU on all non-designated ports (except the port where it received the inferior BPDU) to hear that the Root Switch (Root Bridge) is still available.
 
The port on which omnisecu.com.SW3 received the inferior BPDU from omnisecu.com.SW2 is also excluded because that path is already failed.

When a Root Link Query (RLQ) response is received on a port, if the answer is negative, the port lost connection to the root and you can age out its BPDU. If all other non-designated ports received a negative answer, Switch omnisecu.com.SW3 has lost connection to Root Switch (Root Bridge) and can start the Spanning Tree Protocol (STP) calculation from beginning.

If omnisecu.com.SW3 receives any positive response, it will assume the current Root Switch (Root Bridge) is still reachable. In our case, omnisecu.com.SW3 will receive a positive response from omnisecu.com.SW1 (Root Switch (Root Bridge)), and start relaying omnisecu.com.SW1 (Root Switch (Root Bridge)), BPDUs to omnisecu.com.SW2.

Backbone Fast is pro-active (using Root Link Query (RLQ)) and when Backbone fast is implemented, it can minimize the max age timer interval. By enabling Backbone fast the max age timer can be skipped and the delay is minimized from 50 seconds to 30 seconds.

 

Related Tutorials
• What is Broadcast Storm
• What is Layer 2 Switching loop
• What is Spanning Tree Protocol (STP)
• What is Bridge Protocol Data Unit (BPDU) frame
• Bridge Protocol Data Unit (BPDU) Frame Format
• What is a Root Bridge (Switch)
• What is a Root Port
• What are Port Cost, Port Priority and Path Cost Values
• How Spanning Tree Protocol (STP) select Root Port
• What is a Designated Port
• How Spanning Tree Protocol (STP) select Designated Port
• Difference between Root Port and Designated Port
• Spanning Tree Port States
• Topology Changes in Spanning Tree Protocol (STP)
• Spanning Tree Protocol (STP) Convergence
• What is Spanning Tree Protocol (STP) PortFast
• How to configure and verify Spanning Tree Protocol (STP) PortFast
• How to enable or disable Spanning Tree Protocol (STP)
• What is Rapid Spanning Tree Protocol (RSTP)
• Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
• Per-VLAN Spanning Tree (PVST) and Per-VLAN Spanning Tree Plus (PVST+)
• What are Spanning Tree Bridge Priority and Bridge ID values
• Spanning Tree Path Cost Value and How is Spanning Tree Path Cost Value Calculated
• Spanning Tree Port Priority and Port ID Values
• How to change Spanning Tree Bridge Root Priority value and What is Extended System ID
• How to configure Spanning Tree Protocol Root Primary and Root Secondary
• What is a Root Bridge (Root Switch)
• How to change Spanning Tree Port Priority Value
• How Spanning Tree Protocol (STP) select Root Port
• What is a Designated Port
• How Spanning Tree Protocol (STP) select Designated Port
• Difference between Root Port and Designated Port
• Spanning Tree Port States
• How BPDU is generated and How BPDU works
• Important Spanning Tree Protocol (STP) Timers and their default values
• How to Configure and Change Spanning Tree Protocol (STP) Default Timer-Values for hello timer, forward delay timer and max age timer
• Topology Changes in Spanning Tree Protocol (STP)
• Spanning Tree Protocol (STP) Convergence
• Where to place the Spanning Tree Protocol Root Switch (Root Bridge)
• Spanning Tree Protocol (STP) UplinkFast, Backbone Fast and Portfast
• What is Spanning Tree Protocol (STP) Uplink Fast
• What is Spanning Tree Protocol (STP) Backbone Fast
• What is Spanning Tree Protocol (STP) PortFast
• How to configure and verify Spanning Tree Protocol (STP) PortFast
• How to enable or disable Spanning Tree Protocol (STP)
• What is Rapid Spanning Tree Protocol (RSTP)
• Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
• Per-VLAN Spanning Tree (PVST) and Per-VLAN Spanning Tree Plus (PVST+)