Port Fast Uplink Fast and Backbone Fast

The Cisco-proprietary PortFast, UplinkFast, and BackboneFast features each solve specific STP problems. Table 3-5 summarizes when each is most useful, and the short version of how they improve convergence time.

Table 3-5 PortFast, UplinkFast, and BackboneFast

KEY POINT

Feature

Requirements for Use

How Convergence Is Optimized

PortF ast

Used on access ports that are not connected to other switches or hubs

Immediately puts the port into forwarding state once the port is physically working

UplinkFast

Used on access layer switches that have multiple uplinks to distribution/core switches

Immediately replaces a lost RP with an alternate RP, immediately forwards on the RP, and triggers updates of all switches' CAMs

BackboneFast

Used to detect indirect link failures, typically in the network core

Avoids waiting for Maxage to expire when its RP ceases to receive Hellos; does so by querying the switch attached to its RP

PortFast

PortFast optimizes convergence by simply ignoring listening and learning states on ports. In effect, convergence happens instantly on ports with PortFast enabled. Of course, if another switch is connected to a port on which PortFast is enabled, loops may occur. So, PortFast is intended for access links attached to single end-user devices. To be safe, you should also enable the BPDU Guard and Root Guard features when using PortFast, as covered later in this chapter.

UplinkFast

UplinkFast optimizes convergence when an uplink fails on an access layer switch. For good STP design, access layer switches should not become root or become transit switches. (A transit switch is a switch that forwards frames between other switches.) Figure 3-7 shows the actions taken when UplinkFast is enabled on a switch, and then when the Root Port fails.

Figure 3-7 UplinkFast Operations

Access Design

Root Switch Non-Root Switch

Priority 8192 Priority (Default) 32768

Access Design

Root Switch Non-Root Switch

Priority 8192 Priority (Default) 32768

Uplinkfast

Upon enabling UplinkFast globally in a switch, the switch takes three actions:

■ Increases the root priority to 49,152

■ Sets the post costs to 3000

■ Tracks alternate RPs, which are ports in which root Hellos are being received

As a result of these steps, SW3 can become root if necessary, but it is unlikely to do so given the large root priority value. Also, the very large costs on each link make the switch unlikely to be used as a transit switch. When the RP port does fail, SW3 can fail over to an alternate uplink as the new RP and forward immediately.

The final step in Uplink Fast logic causes the switches to time-out the correct entries in their CAMs, but it does not use the TCN process. Instead, the access switch finds all the MAC addresses of local devices and sends one multicast frame with each local MAC address as the source MAC— causing all the other switches to update their CAMs. The access switch also clears out the rest of the entries in its own CAM.

BackboneFast

BackboneFast optimizes convergence for any generalized topological case, improving convergence when an indirect failure occurs. When some direct failures occur (for instance, a switch's RP interface fails), the switch does not have to wait for maxage to expire. However, when another switch's direct link fails, resulting in lost Hellos for other switches, the downstream switches indirectly learn of the failure because they cease to receive Hellos. Any time a switch learns of an STP failure indirectly, the switch must wait for maxage to expire before trying to change the STP topology.

BackboneFast simply causes switches that indirectly learn of a potential STP failure to ask their upstream neighbors if they know about the failure. To do so, when the first Hello goes missing, a BackboneFast switch sends a Root Link Query (RLQ) BPDU out the port in which the missing Hello should have arrived. The RLQ asks the neighboring switch if that neighboring switch is still receiving Hellos from the root. If that neighboring switch had a direct link failure, it can tell the original switch (via another RLQ) that this path to the root is lost. Once known, the switch experiencing the indirect link failure can go ahead and converge without waiting for maxage to expire.

NOTE All switches must have BackboneFast configured for it to work correctly.

PortFast, UplinkFast, and BackboneFast Configuration

Configuration of these three STP optimizing tools is relatively easy, as summarized in Table 3-6.

Table 3-6 PortFast, UplinkFast, and BackboneFast Configuration

Readers' Questions

  • AFWERKI
    Which type of switch have uplink fast avantages?
    1 year ago
  • A managed switch with an Uplink Fast feature is the most advantageous type of switch. This type of switch allows administrators to configure port priorities and assign higher priority to ports connecting to more important devices such as servers and routers. This ultimately increases the overall performance of the entire network.
    • JOHN VILLARREAL
      Where should the stp uplinkfast feature be enabled?
      1 year ago
    • STP UplinkFast should be enabled on access layer switches.
      • milena teodros
        How fast are uplink ports?
        1 year ago
      • Uplink ports typically operate at the same full speed as regular Ethernet ports. This means that they are usually capable of data transfer speed of up to 1 Gbps (gigabits per second).
        • guarino
          What is portfast, uplinkfast & backbonefast?
          1 year ago
        • Portfast: PortFast is a Cisco network feature that can be enabled on an Ethernet switch port to allow the port to move quickly from the blocking state to the forwarding state. PortFast can be used to allow network-attached devices, such as an IP phone, to connect directly to a switch port without going through the entire spanning tree process. UplinkFast: UplinkFast is a Cisco network feature that is used to provide a backup port in the event of a link failure in a switched network. This feature works by pre-provisioning an alternative path for traffic to flow through and allows the switch to quickly switch to the backup port in case of a link failure. BackboneFast: BackboneFast is a Cisco network feature that is used to provide rapid convergence of information in a layer-2 network. This feature works by rapidly discovering any alternate links that may exist in the network, allowing the switch to quickly switch to an alternative link in case of a link failure.
          • Madihah Yonas
            What is uplink fast and backbone fast?
            1 year ago
          • Uplink Fast and Backbone Fast are two Cisco technologies used to reduce network congestion on Ethernet networks. Uplink Fast sends out a special multicast message in response to congestion, allowing devices to quickly switch to a different uplink. Backbone Fast sends out a special packet called a Root Advertisement (RA) to detect topology changes on the network, proactively fixing blocked paths.
            • mungo
              What is uplinkfast and backbonefast?
              1 year ago
            • UplinkFast and BackboneFast are Layer 2 Ethernet switching technologies created by Cisco Systems to improve the convergence time of Ethernet networks. UplinkFast allows a switch in the network to switch to an alternate redundant uplink port quickly in the event of a link failure, while BackboneFast will detect and repair issues along the network path quickly. Both of these technologies reduce the overall convergence time of the network and help to maximize network availability.
              • gerardina
                How to Enabling port fast, uplink fast, fast convergence?
                1 year ago
                1. Enabling Port Fast:Port Fast is a Cisco network protocol that allows network ports to transition immediately from the blocking / listening state to the forwarding state, bypassing the usual wait time of
                2. 15 seconds. To enable Port Fast on a Cisco switch, use the 'spanning-tree portfast' command in interface configuration mode.
                3. Enabling Uplink Fast:Uplink Fast is a Cisco technology that allows for the rapid convergence of redundant ports when the active link fails. To enable Uplink Fast on a Cisco switch, use the 'spanning-tree uplinkfast�
                4. 39; command in global configuration mode.
                5. Enabling Fast Convergence:Fast Convergence is a Cisco technology that accelerates the convergence of Spanning Tree Protocol (STP) by quickly computing the best alternate path when a link failure occurs. To enable Fast Convergence on a Cisco switch, use the 'spanning-tree mode rapid-pvst�
                6. 39; command in global configuration mode.

                Disclosure: Some of the links above are affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.

                Feature

                Configuration Command

                PortF ast

                spanning-tree portfast (interface subcommand) spanning-tree portfast default (global)

                UplinkFast

                spanning-tree uplinkfast [max-update-rate rate] (global)

                BackboneFast

                spanning-tree backbonefast (global)

                Continue reading here: Port Channels

                Was this article helpful?

                +34 -9