R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
45
11.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0
11.4.1.0/24 Direct 0 0 11.4.1.2 GE2/1/2
11.4.1.2/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
Configuring RIP FRR
Network requirements
As shown in Figure 11, Router S, Router A, and Router D run RIPv2. Configure RIP FRR so that when Link
A fails, traffic can be switched to Link B immediately.
Figure 11 Network diagram
Configuration procedure
1. Configure IP addresses for the interfaces on each router and configure RIPv2:
Follow Figure 11 to c
onfigure the IP address and subnet mask of each interface on the routers.
(Details not shown.)
Configure RIPv2 on the routers, ensuring that Router A, Router D, and Router S can communicate
with each other at Layer 3. (Details not shown.)
2. Configure RIP FRR:
# Configure Router S.
<RouterS> system-view
[RouterS] bfd echo-source-ip 1.1.1.1
[RouterS] ip ip-prefix abc index 10 permit 4.4.4.4 32
[RouterS] route-policy frr permit node 10
[RouterS-route-policy] if-match ip-prefix abc
[RouterS-route-policy] apply fast-reroute backup-interface GigabitEthernet 2//1
backup-nexthop 12.12.12.2
[RouterS-route-policy] quit
[RouterS] rip 1
[RouterS-rip-1] fast-reroute route-policy frr
[RouterS-rip-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] bfd echo-source-ip 4.4.4.4
[RouterD] ip ip-prefix abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy] if-match ip-prefix abc