20
[RouterD] ip route-static fast-reroute auto
3.
Configure static routes on Router A.
<RouterA> system-view
[RouterA] ip route-static 4.4.4.4 32 gigabitethernet 2/0 24.24.24.4
[RouterA] ip route-static 1.1.1.1 32 gigabitethernet 1/0 12.12.12.1
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: Static Process ID: 0
SubProtID: 0x0 Age: 04h20m37s
Cost: 0 Preference: 60
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
BkLabel: NULL BkNextHop: 12.12.12.2
Tunnel ID: Invalid Interface: GigabitEthernet2/0
BkTunnel ID: Invalid BkInterface: GigabitEthernet1/0
# Display route 1.1.1.1/32 on Router D to view the backup next hop information.
[RouterS] display ip routing-table 1.1.1.1 verbose
Summary Count : 1
Destination: 1.1.1.1/32
Protocol: Static Process ID: 0
SubProtID: 0x0 Age: 04h20m37s
Cost: 0 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.1
Label: NULL RealNextHop: 13.13.13.1
BkLabel: NULL BkNextHop: 24.24.24.2
Tunnel ID: Invalid Interface: GigabitEthernet2/0
BkTunnel ID: Invalid BkInterface: GigabitEthernet1/0