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

81
Figure 23 Network diagram
Configuration procedure
1. Configure Router A:
# Configure the source address of BFD echo packets as 10.10.10.10.
<RouterA> system-view
[RouterA] bfd echo-source-ip 10.10.10.10
# Create track entry 1 for the BFD session on Router A to verify the reachability of the uplink device
(1.1.1.2).
[RouterA] track 1 bfd echo interface gigabitethernet2/0/1 remote ip 1.1.1.2 local ip
1.1.1.1
# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10.
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] vrrp vrid 1 virtual-ip 192.168.0.10
# Set the priority of Router A in VRRP group 1 to 110.
[RouterA-GigabitEthernet2/0/2] vrrp vrid 1 priority 110
# Associate VRRP group 1 with track entry 1 and decrease the router priority by 20 when the state
of track entry 1 changes to negative.
[RouterA-GigabitEthernet2/0/2] vrrp vrid 1 track 1 reduced 20
[RouterA-GigabitEthernet2/0/2] return
2. On Router B, create VRRP group 1, and configure the virtual IP address of the group as
192.168.0.10.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] vrrp vrid 1 virtual-ip 192.168.0.10
[RouterB-GigabitEthernet2/0/2] return
Internet
Master
Uplink device
Backup
Uplink device
Uplink
Virtual router
Virtual IP address:
192.168.0.10
GE2/0/2
192.168.0.101/24
GE2/0/2
192.168.0.102/24
Router A
Master
Router B
Backup
GE2/0/1
1.1.1.1/24
GE2/0/1
1.1.1.2/24
L2 switch
Uplink
VRRP packets
BFD probe packets