Routing Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

Fast reroute with remote loop-free alternate

Want to summarize with AI?

Log in

Describes how remote LFA tunnels traffic to a precomputed backup node more than one hop away to minimize loss during failures and speed recovery.


The fast reroute with remote loop-free alternate (FRR Remote LFA) is a resiliency feature that

  • enables rapid traffic redirection during link or router failures

  • uses precomputed alternate next hops to bypass failed network segments, and

  • supports recovery for failures that are more than one hop away from the point of local repair.

Table 1. Feature History Table
Feature Name Release Information Feature Description
Fast Reroute with Remote Loop-Free Alternate Release 25.1.1

Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*)

*This feature is supported on Cisco 8011-4G24Y4H-I routers.

Fast Reroute with Remote Loop-Free Alternate Release 24.4.1

Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100, K100])(select variants only); Modular Systems (8800 [LC ASIC: P100])(select variants only*)

This feature minimizes traffic loss by rerouting packets around failed links quickly. It precomputes repair paths using the IS-IS routing protocol, allowing routers to switch immediately to these paths when a failure occurs, reducing transition time to under 50 milliseconds.

*This feature is supported on:

  • 8212-48FH-M

  • 8711-32FH-M

  • 8712-MOD-M

  • 88-LC1-36EH

  • 88-LC1-12TH24FH-E

  • 88-LC1-52Y8H-EM

Routing transition and convergence

When a link or router fails, distributed routing protocols must compute new paths. During this routing transition, traffic to affected destinations can be interrupted until the routers converge. Standard IGP or BGP convergence can take several hundred milliseconds. FRR remote LFA reduces this interruption by letting the router switch immediately to a precomputed repair path when it detects the failure.

FRR remote LFA with ring topology

Consider this ring topology for FRR remote LFA.

Figure 1. FRR remote LFA with ring topology
ring-topology

Device A sends traffic for destination F through next-hop B. Device B cannot serve as a loop-free alternate (LFA) for prefixes that nodes C and F advertise. The actual LFA is node D, but node D is not directly connected to the protecting node, A. To protect prefixes that node C advertises, node A must tunnel the packet around the failed A-to-C link to node D, as long as the tunnel does not use the failed link.

FRR remote LFA lets you tunnel a packet around a failed link to a remote loop-free alternate that is more than one hop away. The feature automatically creates the tunnel to avoid looping.


How FRR remote LFA computes and installs repair paths

FRR remote LFA protects network topologies in which local LFA fast reroute (FRR) does not provide enough coverage, such as ring-based topologies. It lets interior gateway protocols (IGPs) use non-directly connected neighbors as backup paths.

Summary

This process uses these components:

  • IGP: Identifies a non-directly connected neighbor as the LFA backup path.

  • Label Distribution Protocol (LDP): Establishes a labeled backup label-switched path (LSP) to the remote next hop and a transport LSP for tunneling.

  • Cisco Express Forwarding: Installs the repair paths that the routing protocols compute.

Workflow

These stages describe how FRR remote LFA works.

  1. IGP identifies a remote neighbor that is more than one hop away as the LFA backup path.
  2. LDP establishes a labeled backup LSP to the remote next hop.
  3. LDP creates a transport LSP that tunnels traffic to the remote node.
  4. Cisco Express Forwarding installs the repair path so that the router can switch traffic immediately when it detects a link or router failure.

Result

The network can achieve sub-50 millisecond convergence by using a precomputed repair path.


Configure FRR with remote LFA using OSPF

This example shows an IPv4 LFA FRR configuration. IPv6 LFA FRR is also supported.

Procedure

1.

Enter configuration mode.

Example:

Router# configure
2.

Enter OSPF configuration mode and specify the process ID.

Example:

Router(config)# router ospf 50
Router(config-ospf)# router-id 10.1.1.1
3.

Enter address-family configuration mode.

Example:

Router(config-ospf)# address-family ipv4 unicast
Router(config-ospf-af)# area 0
4.

Configure the interface for OSPF.

Example:

Router(config-ospf-af)# interface Loopback 0
Router(config-ospf-af)# exit
5.

Configure the interface for FRR LFA.

If...

Then...

Enable FRR LFA prefix dependent computation

Use the fast-reroute per-prefix command.

Enable FRR LFA prefix independent per-link computation

Use the fast-reroute per-link command.

Example:

Router(config-ospf)# interface HundredGigE0/2/0/0
Router(config-ospf-if)# fast-reroute per-prefix remote-lfa tunnel mpls-ldp
Router(config-ospf-if)# commit

Example:

IPv4 LFA FRR running configuration
router ospf 50
 router-id 10.1.1.1
address-family ipv4 unicast
 area 0
   interface Loopback0
  !
  interface HundredGigE 0/2/0/0
    fast-reroute per-prefix remote-lfa tunnel mpls-ldp
  !
!