57
AttrID: 0xffffffff Neighbor: 192.168.3.2
Flags: 0x1008c OrigNextHop: 192.168.3.2
Label: NULL RealNextHop: 192.168.3.2
BkLabel: NULL BkNextHop: N/A
Tunnel ID: Invalid Interface: GigabitEthernet2/0
BkTunnel ID: Invalid BkInterface: N/A
Configuring RIP FRR
Network requirements
As shown in
Figure 14
, Router S, Router A, and Router D run RIPv2. Configure RIP FRR so that when Link
A becomes unidirectional, traffic can be switched to Link B immediately.
Figure 14
Network diagram
Configuration procedure
1.
Configure IP addresses and subnet masks for interfaces on the routers. (Details not shown.)
2.
Configure RIPv2 on the routers to make sure Router A, Router D, and Router S can communicate
with each other at the network layer. (Details not shown.)
3.
Configure RIP FRR:
# 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] rip 1
[RouterS-rip-1] fast-reroute route-policy frr
[RouterS-rip-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