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

80
<RouterB> terminal debugging
<RouterB> terminal monitor
<RouterB> debugging vrrp fsm
<RouterB> debugging bfd event
# When Router A fails, the following output is displayed on Router B.
*Dec 17 14:44:34:142 2008 RouterB BFD/7/EVENT:Send sess-down Msg,
[Src:192.168.0.102,Dst:192.168.0.101,GigabitEthernet2/0/1,Echo], instance:0,
protocol:Track
*Dec 17 14:44:34:144 2008 RouterB VRRP4/7/FSM
IPv4 GigabitEthernet2/0/1 | Virtual Router 1 : Backup --> Master reason: The status
of the tracked object changed
# Display detailed information about the VRRP group on Router B.
<RouterB> display vrrp verbose
IPv4 Virtual Router Information:
Running Mode : Standard
Total number of virtual routers : 1
Interface GigabitEthernet2/0/1
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 Router A fails, the Track module notifies VRRP to change the
status of Router B to master. The backup can quickly preempt as the master without waiting for a period
three times the advertisement interval plus the Skew_Time.
Configuring BFD for the VRRP master to monitor the uplink
Network requirements
As shown in Figure 23:
Router A and Router B belong to VRRP group 1. The virtual IP address of VRRP group 1 is
192.168.0.10.
The default gateway of the hosts in the LAN is 192.168.0.10.
Configure VRRP-Track-BFD collaboration to monitor the uplink on the master and meet the following
requirements:
When Router A operates correctly, hosts in the LAN access the Internet through Router A.
When Router A detects that the uplink is down through BFD, Router B can preempt as the master.
The hosts in the LAN can access the Internet through Router B.