The avoid-microloop segment-routing command enables the anti-microloop function in segment routing.
The undo avoid-microloop segment-routing command disables the anti-microloop function in segment routing.
By default, this function is disabled.
Usage Scenario
If a network fault occurs or is rectified, an IGP performs route convergence. A transient forwarding status inconsistency between nodes results in different convergence rates on devices, which poses the risk of micro-loops. After anti-micro loop is enabled for segment routing, the ingress forwards packets strictly along an explicit path during IGP convergence. The forwarding is irrelevant to IGP convergence of devices, which prevents loops.
Prerequisites
Before configuring the current command line, you need to configure the segment-routing mpls command
Follow-up Procedure
Run the avoid-microloop segment-routing rib-update-delay command to set a switchback time.