SR-MPLS Microloop Avoidance
Anti-Micro-Loop Switchover
In Figure 2-77, if Device B fails, traffic is switched to a TI-LFA FRR backup path. After Device A completes route convergence, traffic is switched from the TI-LFA FRR backup path to a converged path. If Devices D and F do not complete route convergence, they transmit traffic over the path established before convergence is performed. As a result, a loop emerges between Devices A and F and is broken after route convergence finishes on Devices D and F.
To prevent the loop-induced problem, the implementation is modified. After Device B fails, traffic is switched to the TI-LFA backup path. Device A delays convergence. After Devices F and D finish path convergence, Device A starts path convergence. After path convergence is complete, traffic is switched from the TI-LFA backup path to the converged path.
Configure the anti-micro-loop switchover function on the source node.
- The interface directly connected to the local interface fails, or local BFD goes Down.
- No network topology change occurs during the delay time.
- A backup next hop for a route is available.
- The primary next hop of the route is the faulty interface.
- During the multi-node route convergence delay, if the source of the route advertisement is changed, the delay stops.
Anti-Micro-Loop Switchback
- Data is transmitted along the backup path before the link between Device B and Device C recovers.
- After the link between Device B and Device C recovers, if Device A converges earlier than Device B, Device A forwards traffic to Device B that does not finish convergence. Upon receipt of the traffic, Device B forwards traffic along the original path to Device A, causing a loop.
- To prevent a micro loop, after a traffic switchback is performed on Device A, configure an explicit path to forward packets. Device A adds E2E path information (for example, a B-to-C adjacency label) to data packets. Upon receipt of the data packets, Device B forwards packets to Device A, C based on the carried path information.
After Device B finishes convergence, Device A deletes explicit path information from data packets so that the data packets can be forwarded to Device C using normal SR-MPLS.