The following figure shows an example of link addition or restoration in a network topology.
The micro-loop avoidance algorithm performs the following steps in the preceding network topology example.
Link 7-6 is added to the topology.
Router 3 detects a single link addition between remote nodes 7 and 6.
Router 3 runs the main and LFA SPFs.
All nodes downstream of the added link in Dijkstra tree (in this case, nodes 6 and 9) see a next-hop change.
All nodes upstream of the added link (in this case, nodes 1, 2, and 7) see no route change.
Nodes 1', 2', and 7' are not using node 6 or 7 as parent nodes and are not impacted by the link addition event.
For all nodes downstream from the added link, the algorithm computes and activates an SR tunnel that forces traffic to remote endpoint 6 of the added link.
The algorithm pushes node SID 7 and adjacency SID of link 7-6 in the SR IS-IS tunnel for these nodes.
The use of the adjacency SID of link 7-6 skips the FIB state on node 7 and traffic to all nodes downstream of 6 are not impacted by micro-loop convergence.
The same method applies to metric decrease of link 7-6 that causes traffic to be attracted to that link.