Network requirements, Ipv6 vrrp configuration examples, Single vrrp group configuration example – H3C Technologies H3C S12500-X Series Switches User Manual
Page 92
84
# Enable VRRP state debugging and BFD event debugging on Switch B.
# When Switch A fails, the following output is displayed on Switch B.
*Dec 17 14:44:34:142 2012 SwitchB BFD/7/EVENT: Send sess-down Msg,
[Src:192.168.0.102,Dst:192.168.0.101,Vlan-interface2,Echo], instance:0, protocol:Track
*Dec 17 14:44:34:144 2012 SwitchB VRRP/7/DebugState: IPv4 Vlan-interface2 | Virtual Router
1 : Backup --> Master reason: The status of the tracked object changed
# Display detailed information about the VRRP group on Switch B.
IPv4 Virtual Router Information:
Running Mode : Standard
Total number of virtual routers : 1
Interface Vlan-interface2
VRID : 1 Adver Timer : 100
Admin Status : Up State : Master
Config Pri : 100 Running Pri : 100
Preempt Mode : Yes Delay Time : 0
Auth Type : None
Virtual IP : 192.168.0.10
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.
This ensures 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, 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 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.
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S6300 Series Switches H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches