Search

What is Spanning Tree Protocol (STP) UplinkFast

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.

UplinkFast extension is useful for Direct Link failures (a link connected directlly to the same Switch). The UplinkFast extension can dramatically decrease the convergence time of the Spanning Tree Protocol (STP) in the event of the Direct link (a link connected directlly to the same Switch) failure of an uplink on an Access Layer switch.

The UplinkFast feature is designed to run in switches that has at least one alternate/backup port which is in the blocking state. For this reason Cisco recommends that UplinkFast be enabled only for switches with redundant blocked ports, typically at the access-layer. Access Layer switches have normally redundant uplinks to the Core and Distribution layers.

In Classic Spanning Tree Protocol (STP), if the available path to the Root Switch (Root Bridge) goes down, there will be a 50-second delay due to the Spanning Tree Protocol (STP) MaxAge timer and ForwardDelay timer before the currently blocked path will be available.

When a switch loses connectivity, alternate paths are used for communication. By enabling UplinkFast we can speed-up the selection of a new Root Port when a link or switch fails or when the Spanning Tree Protocol (STP) reconfiguration happens.

When UplinkFast is enabled, Root Port transitions to the Forwarding State immediately without going through the Listening State and Learning State, as in normal Spanning Tree Protocol (STP) Operation.

UplinkFast provides the immediate shift to alternate port by determining the possible paths going to the Root Switch (Root Bridge). The collection of possible paths going to the Root Switch (Root Bridge) are called uplink group. In aswitch, the uplink group consists in the Root Port and all the ports that provide an alternate connection to the Root Switch (Root Bridge). If the Root Port fails, an aternate port with next lowest cost from the uplink group is selected to immediately replace the Root Port.

Switch omnisecu.com.SW3 has two links connected to reach the Root Switch (Root Bridge) for redundancy. In this case, the port connected to Root Bridge (omnisecu.com.SW1) is the Root Port and the port connecting to Switch omnisecu.com.SW2 is Non Designated Port, which is Blocking State.

Uplinkfast 1

When the Switch omnisecu.com.SW3 detect that the Root Port (current forwarding port) has gone down, another port in the uplink group will be transitioned from blocking state to forwarding state immediately. The current Non Designated Port (which is in blocking state), will be transitioned to forwarding state immediately.

Uplinkfast  2

The Non Designated Port in omnisecu.com.SW3, which was in Blocking state before has transitioned to forward state immediatly, to reduce the convergence time in Spanning Tree Protocol (STP).

Uplinkfast 3

The problem which the Switches face now is that the backup link is brought up so quickly from blocking state to forwarding state, but the CAM tables (MAC Address Tables) are not updated and no longer accurate.

In order to solve the CAM tables (MAC Address Tables) related problem, switch omnisecu.com.SW3 begins to flood dummy packets with the different MAC addresses that it has in its CAM table as a source as multicast. This multicast flooding is done to update the CAM tables (MAC Address Tables) on the other switches.

When a switch is configured for UplinkFast, its Bridge Priority is changed to become 49,152 (default is 32768) and all of its port costs are increased by 3000. The reason for the priority being raised is to prevent the switch from becoming the Root Switch (Root Bridge).

 

 

 

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+)