R0106-HP MSR Router Series High Availability Configuration Guide(V7)
89
# Configure the source address of BFD echo packets as 10.10.10.10.
[RouterA] bfd echo-source-ip 10.10.10.10
# Configure track entry 1, and associate it with the BFD session.
[RouterA] track 1 bfd echo interface gigabitethernet 2/0/1 remote ip 10.2.1.2 local
ip 10.2.1.1
3. Configure Router B:
# Configure a static route to 20.1.1.0/24 with the next hop 10.2.1.1 and the default priority 60,
and associate this static route with track entry 1.
<RouterB> system-view
[RouterB] ip route-static 20.1.1.0 24 10.2.1.1 track 1
# Configure a static route to 20.1.1.0/24 with the next hop 10.4.1.3 and the priority 80.
[RouterB] ip route-static 20.1.1.0 24 10.4.1.3 preference 80
# Configure the source address of BFD echo packets as 1.1.1.1.
[RouterB] bfd echo-source-ip 1.1.1.1
# Configure track entry 1 that is associated with the BFD session to verify the connectivity between
Router A and Router B.
[RouterB] track 1 bfd echo interface gigabitethernet 2/0/1 remote ip 10.2.1.1 local
ip 10.2.1.2
4. Configure Router C:
# Configure a static route to 30.1.1.0/24 with the next hop 10.4.1.2.
<RouterC> system-view
[RouterC] ip route-static 30.1.1.0 24 10.4.1.2
# Configure a static route to 20.1.1.0/24 with the next hop 10.3.1.1.
[RouterB] ip route-static 20.1.1.0 24 10.3.1.1
Verifying the configuration
# Display information about the track entry on Router A.
[RouterA] display track all
Track ID: 1
State: Positive
Duration: 0 days 0 hours 0 minutes 32 seconds
Notification delay: Positive 0, Negative 0 (in seconds)
Tracked object:
BFD session mode: Echo
Outgoing interface: GigabitEthernet2/0/1
VPN instance name: -
Remote IP: 10.2.1.2
Local IP: 10.2.1.1
The output shows that the status of the track entry is Positive, indicating that the next hop 10.2.1.2 is
reachable.
# Display the routing table of Router A.
[RouterA] display ip routing-table
Destinations : 9 Routes : 9
Destination/Mask Proto Pre Cost NextHop Interface