R0106-HP MSR Router Series High Availability Configuration Guide(V7)

88
Reply from 20.1.1.1: bytes=56 Sequence=3 ttl=254 time=1 ms
Reply from 20.1.1.1: bytes=56 Sequence=4 ttl=254 time=1 ms
Reply from 20.1.1.1: bytes=56 Sequence=5 ttl=254 time=1 ms
--- Ping statistics for 20.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.00% packet loss
round-trip min/avg/max/std-dev = 1/1/2/1 ms
Static routing-Track-BFD collaboration configuration example
Network requirements
As shown in Figure 25:
Router A is the default gateway of the hosts in subnet 20.1.1.0/24.
Router B is the default gateway of the hosts in subnet 30.1.1.0/24.
Hosts in the two subnets communicate with each other through static routes.
To ensure network availability, configure route backup and static routing-Track-BFD collaboration on
Router A and Router B as follows:
On Router A, assign a higher priority to the static route to 30.1.1.0/24 with Router B as the next hop.
This route is the master route. The static route to 30.1.1.0/24 with Router C as the next hop acts as
the backup route. When the master route is unavailable, BFD can quickly detect the route failure to
make the backup route take effect.
On Router B, assign a higher priority to the static route to 20.1.1.0/24 with Router A as the next hop.
This route is the master route. The static route to 20.1.1.0/24 with Router C as the next hop acts as
the backup route. When the master route is unavailable, BFD can quickly detect the route failure to
make the backup route take effect.
Figure 25 Network diagram
Configuration procedure
1. Configure the IP address of each interface as shown in Figure 25. (Details not shown.)
2. Configure Router A:
# Configure a static route to 30.1.1.0/24 with the next hop 10.2.1.2 and the default priority 60,
and associate this static route with track entry 1.
<RouterA> system-view
[RouterA] ip route-static 30.1.1.0 24 10.2.1.2 track 1
# Configure a static route to 30.1.1.0/24 with the next hop 10.3.1.3 and the priority 80.
[RouterA] ip route-static 30.1.1.0 24 10.3.1.3 preference 80