Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 225

214
Virtual MAC : 0000-5e00-0101
Master IP : 192.168.0.102
VRRP Track Information:
Track Object : 1 State : Negative Switchover
The output shows that when BFD detects that Switch A fails, it notifies VRRP through the Track
module to change the status of Switch B to master, without waiting for a period three times the
advertisement interval, so that a backup can quickly preempt as the master.
Configuring BFD for the VRRP master to monitor the uplinks
Network requirements
As shown in
, Switch A and Switch B belong to VRRP group 1, which has the virtual IP address
192.168.0.10. The default gateway of the hosts in the LAN is 192.168.0.10.
When Switch A works correctly, the hosts in the LAN access the external network through Switch A.
When Switch A detects that the uplink is down through BFD, it decreases its priority so that Switch B can
preempt as the master, ensuring that the hosts in the LAN can access the external network through Switch
B.
Figure 53 Network diagram
Configuration procedure
1.
Create VLANs, and assign corresponding ports to the VLANs, and configure the IP address of
each VLAN interface as shown in
2.
Configure BFD on Switch A.
# Configure the source address of BFD echo packets as 10.10.10.10.
Internet
Master
uplink device
Backup
uplink device
Uplink
Virtual router
Virtual IP address:
192.168.0.10
Vlan-int2
192.168.0.101/24
Vlan-int2
192.168.0.102/24
Switch A
Master
Switch B
Backup
Vlan-int3
1.1.1.1/24
Vlan-int3
1.1.1.2/24
L2 switch
Uplink
VRRP packets
BFD probe packets