Prerequisites for IS-IS Link-protection Topology Independent Loop Free Alternate Fast Reroute
-
Enable TI-LFA on all the nodes, before configuring SR-TE for TI-LFA.
mpls traffic-eng tunnels ! segment-routing mpls connected-prefix-sid-map address-family ipv4 1.1.1.1/32 index 11 range 1 exit-address-family ! interface Loopback1 ip address 1.1.1.1 255.255.255.255 ip router isis 1 ! interface Tunnel1 ip unnumbered Loopback1 tunnel mode mpls traffic-eng tunnel destination 6.6.6.6 tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng path-option 10 explicit name IP_PATH segment-routing ! interface GigabitEthernet2 ip address 192.168.1.1 255.255.255.0 ip router isis 1 negotiation auto mpls traffic-eng tunnels isis network point-to-point ! interface GigabitEthernet3 ip address 192.168.2.1 255.255.255.0 ip router isis 1 negotiation auto mpls traffic-eng tunnels isis network point-to-point ! router isis 1 net 49.0001.0010.0100.1001.00 is-type level-1 metric-style wide log-adjacency-changes segment-routing mpls fast-reroute per-prefix level-1 all fast-reroute ti-lfa level-1 mpls traffic-eng router-id Loopback1 mpls traffic-eng level-1 ! ip explicit-path name IP_PATH enable next-address 4.4.4.4 next-address 5.5.5.5 next-address 6.6.6.6
-
If a microloop gets created between routers in case of primary and secondary path switch over you need to bring down the convergence time. Use the microloop avoidance rib-update-delay command to bring down the convergence time:
router isis ipfrr net 49.0001.0120.1201.2012.00 is-type level-2-only metric-style wide log-adjacency-changes segment-routing mpls segment-routing prefix-sid-map advertise-local fast-reroute per-prefix level-2 all fast-reroute ti-lfa level-2 microloop avoidance rib-update-delay 10000
-
Enable MPLS-TE nonstop routing (NSR) and IS-IS nonstop forwarding (NSF) to reduce or minimize traffic loss after a high availability (HA) switch over. Use the mpls traffic-eng nsr command in global exec mode.
mpls traffic-eng nsr
Use the nsf command under IS-IS.
router isis nsf cisco nsf interval 0