This section describes how to configure SRv6 midpoint protection to enhance SRv6 network reliability.
Configure an IGP to implement network layer connectivity.
In an SRv6 TE Policy scenario, strict node constraints may result in a TI-LFA FRR protection failure. To resolve this issue, a proxy forwarding node (a node upstream to the failed midpoint) takes over from the failed midpoint to complete the forwarding. Specifically, after detecting that the next-hop interface of the packet fails, the next-hop address is the destination address of the packet, and the SL value is greater than 0, the proxy forwarding node performs the End behavior on behalf of the midpoint. The behavior involves decrementing the SL value by 1, copying the next SID to the DA field in the outer IPv6 header, and then forwarding the packet according to the instruction bound to the SID. In this way, the failed midpoint is bypassed, achieving SRv6 midpoint protection.
SRv6 midpoint protection uses the next SID to guide packet forwarding over the bypass path, thereby bypassing the failure point. This mechanism is similar to MPLS TE FRR, which enables traffic to bypass the failure point using a bypass LSP. SRv6 midpoint protection is therefore also called SRv6 TE FRR.
The system view is displayed.
The SRv6 view is displayed.
SRv6 midpoint protection is enabled.
On a network with complex services, midpoint nodes are not fixed. Therefore, to improve network-wide reliability, you are advised to run the sr-te frr enable command on all nodes. However, for a network with simple services, you can run the sr-te frr enable command only on the upstream node of the protected node. For example, in the DeviceA-to-DeviceF direction shown in the preceding figure, to protect DeviceD, you can run the sr-te frr enable command on the upstream nodes (DeviceA and DeviceB) of DeviceD to enable midpoint protection.
The downgrade parameter is used to switch the protection mode to SRv6 BE, so that the innermost SID functions as the destination address for packet forwarding. In SRv6 SRH compression scenarios, the SID structure changes, and the SIDs in a segment list are associated with each other. Therefore, protection cannot be implemented simply by bypassing the faulty SID. In this case, the downgrade parameter must be configured.
The configuration is committed.