R3303-HP HSR6800 Routers High Availability Configuration Guide

222
Figure 57 Network diagram
Configuration procedure
1. Configure VRRP on Router A:
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0/1
# Create VRRP group 1, and configure the virtual IP address 192.168.0.10 for the group. Set the
priority of Router A in VRRP group 1 to 110.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 192.168.0.10
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 priority 110
[RouterA-GigabitEthernet1/0/1] return
2. Configure BFD on Router B:
# Configure the source address of BFD echo packets as 10.10.10.10.
<RouterB> system-view
[RouterB] bfd echo-source-ip 10.10.10.10
3. Create a track entry to be associated with the BFD session on Router B:
# Create track entry 1 to be associated with the BFD session to check whether Router A is
reachable.
[RouterB] track 1 bfd echo interface gigabitethernet 1/0/1 remote ip 192.168.0.101
local ip 192.168.0.102
4. Configure VRRP on Router B:
# Create VRRP group 1, and configure the virtual IP address 192.168.0.10 for the group. VRRP
group 1 monitors the status of track entry 1. When the status of the track entry becomes Negative,
Router B becomes the master quickly.
[RouterB] interface gigabitethernet 1/0/1
Internet
Virtual Router
Virtual IP address:
192.168.0.10
GE1/0/1
192.168.0.101/24
GE1/0/1
192.168.0.102/24
Router A
Master
Router B
Backup
L2 switch
VRRP packets
BFD probe packets