Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual
Page 187
178
Master IP : 10.1.1.2
The output shows that when a fault is on the link between Switch A and Switch C, the priority of Switch
A decreases to 80. Switch A becomes the backup, and Switch B becomes the master. Packets from Host
A to Host B are forwarded through Switch B.
Configuring BFD for a VRRP backup to monitor the master
Network requirements
•
As shown in
, Switch A and Switch B belong to VRRP group 1, whose virtual IP address
is 192.168.0.10.
•
The default gateway of the hosts in the LAN is 192.168.0.10. When Switch A works normally, the
hosts in the LAN access the external network through Switch A. When Switch A fails, the hosts in the
LAN access the external network through Switch B.
•
If BFD is not configured, when the master in a VRRP group fails, the backup cannot become the
master until the configured timeout timer expires. The timeout is generally three to four seconds,
which makes the switchover slow. To solve this problem, VRRP uses BFD to probe the state of the
master. Once the master fails, the backup can become the new master in milliseconds.
Figure 48 Network diagram for monitoring the master on the backup
Internet
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
L2 switch
VRRP packets
BFD probe packets
Configuration procedure
1.
Create VLANs, and assign corresponding ports to the VLANs. Configure the IP address of each
. (Details not shown)
2.
Configure VRRP on Switch A.
[SwitchA] interface vlan-interface 2
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS