177
[RouterS-isis-1-ipv4] fast-reroute auto
[RouterD-isis-1-ipv4] quit
[RouterD-isis-1] quit
{
(Method 2.) Enable IS-IS FRR to designate a backup next hop by using a routing policy:
# Configure Router S.
<RouterS> system-view
[RouterS] ip prefix-list abc index 10 permit 4.4.4.4 32
[RouterS] route-policy frr permit node 10
[RouterS-route-policy-frr-10] if-match ip address prefix-list abc
[RouterS-route-policy-frr-10] apply fast-reroute backup-interface
gigabitethernet 1/0 backup-nexthop 12.12.12.2
[RouterS-route-policy-frr-10] quit
[RouterS] isis 1
[RouterS-isis-1] address-family ipv4
[RouterS-isis-1-ipv4] fast-reroute route-policy frr
[RouterS-isis-1-ipv4] quit
[RouterS-isis-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ip prefix-list abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy-frr-10] if-match ip address prefix-list abc
[RouterD-route-policy-frr-10] apply fast-reroute backup-interface
gigabitethernet 1/0 backup-nexthop 24.24.24.2
[RouterD-route-policy-frr-10] quit
[RouterD] isis 1
[RouterD-isis-1] address-family ipv4
[RouterD-isis-1-ipv4] fast-reroute route-policy frr
[RouterD-isis-1-ipv4] quit
[RouterD-isis-1] quit
Verifying the configuration
# Display route 4.4.4.4/32 on Router S to view the backup next hop information.
[RouterS] display ip routing-table 4.4.4.4 verbose
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: ISIS Process ID: 1
SubProtID: 0x1 Age: 04h20m37s
Cost: 10 Preference: 10
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x2 OrigAs: 0
NBRID: 0x26000002 LastAs: 0
AttrID: 0xffffffff Neighbor: 0.0.0.0
Flags: 0x1008c OrigNextHop: 13.13.13.2
Label: NULL RealNextHop: 13.13.13.2