SRv6 TI-LFA FRR

Conventional loop-free alternate (LFA) requires that at least one neighbor be a loop-free next hop to the destination, and remote LFA (RLFA) requires that at least one node be connected to the source and destination nodes without traversing the failure point. In contrast, Topology-Independent Loop-free Alternate (TI-LFA) FRR uses an explicit path to represent a backup path, achieving higher FRR reliability without imposing topology constraints.

SRv6 TI-LFA FRR applies to both SRv6 BE and SRv6 TE Policy scenarios. Although SRv6 BE packets typically do not carry SRH information, they do in TI-LFA FRR scenarios to encapsulate repair list information.

SRv6 TI-LFA

On the network shown in Figure 1, if the extended P space and Q space do not intersect, RLFA cannot compute a backup path because its requirements are not met. If the link between DeviceB and DeviceE fails, DeviceB forwards data packets to DeviceC. However, DeviceC is not a Q node and has no FRR entry pointing directly to the destination DeviceF. In this situation, DeviceC must recompute a path. Because the cost of the link between DeviceC and DeviceD is 1000, DeviceC considers that the optimal path to DeviceF passes through DeviceB. Consequently, DeviceC forwards the packets back to DeviceB, resulting in a loop and forwarding failure.
Figure 1 RLFA

TI-LFA FRR provides link and node protection for SRv6. Figure 2 shows how SRv6 TI-LFA FRR is implemented.

If the link between DeviceB and DeviceE fails, DeviceB adds new path information (End.X SID of the adjacency from DeviceC to DeviceD) to the packets based on TI-LFA FRR backup entries. This ensures that the packets can be forwarded along the backup path.
Figure 2 TI-LFA

TI-LFA Protection Across IS-IS Levels

By default, SRv6 TI-LFA computes backup paths only in the same IS-IS level. On the IS-IS network shown in Figure 3, DeviceA is a Level-1 device, DeviceC and DeviceE are Level-2 devices, and DeviceB and DeviceD are Level-1-2 devices between which no physical link exists.

If data traffic is sent from DeviceC to DeviceA and the link between DeviceA and DeviceB fails, SRv6 TI-LFA cannot provide protection because no backup path is available in IS-IS Level-1.

Figure 3 TI-LFA protection across IS-IS levels (without any ring in Level-1)

To address the preceding issue, SRv6 TI-LFA supports TI-LFA protection across IS-IS levels, enabling IS-IS to compute SRv6 TI-LFA backup paths across levels. On the network shown in Figure 3, DeviceB pre-computes an SRv6 TI-LFA backup path (DeviceB->DeviceE->DeviceD->DeviceA) that transits Level-2, so that traffic can be transmitted over the backup path to meet SLA requirements if the link between DeviceA and DeviceB fails.

In the Level-1 ring networking scenario shown in Figure 4, DeviceB and DeviceD are connected using a physical link, meaning that an SRv6 TI-LFA backup path can be provided for the primary link between DeviceA and DeviceB in Level-1. However, the bandwidth of the physical link between DeviceB and DeviceD may be insufficient to carry a large number of services. To address this issue, DeviceB can be configured to preferentially select a protection path that crosses IS-IS levels as the SRv6 TI-LFA backup path (DeviceB->DeviceE->DeviceD->DeviceA).

If data traffic reaches DeviceD along the SRv6 TI-LFA backup path, a loop may occur in some scenarios. For example:

  • If the link between DeviceD and DeviceA also fails, DeviceD may send the traffic back to DeviceB, resulting in a loop.
  • If the link between DeviceD and DeviceA is normal but its cost is high, DeviceD may consider DeviceB as the next hop and send traffic to it when the link between DeviceA and DeviceB recovers and DeviceD converges first. This also results in a loop.
Figure 4 TI-LFA protection across IS-IS levels (with a ring in Level-1)
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >