R3303-HP HSR6800 Routers High Availability Configuration Guide

224
Local IP : 192.168.0.102
The output shows that when the status of the track entry becomes Positive, Router A is the master, and
Router B the backup.
# Enable VRRP state debugging and BFD event debugging on Router B.
<RouterB> terminal debugging
<RouterB> terminal monitor
<RouterB> debugging vrrp state
<RouterB> debugging bfd event
# When Router A fails, the following output is displayed on Router B.
%Apr 1 17:35:18:236 2013 HP VRRP/6/VRRP_STATUS_CHANGE: The status of IPv4 virt
ual router 1 (configured on GigabitEthernet1/0/1) changed from Backup to Master:
Timer expired.
*Apr 1 17:35:18:236 2013 HP VRRP/7/DebugState:
IPv4 GigabitEthernet1/0/1 | Virtual Router 1 : Backup --> Master reason: Time
r expired
%Apr 1 17:35:19:752 2013 HP BFD/5/BFD_CHANGE_FSM: -Slot=2; Sess[192.168.0.102/
192.168.0.101,4098/0,GE1/0/1,Echo], Sta: UP->DOWN, Diag: 5
*Apr 1 17:35:19:752 2013 HP BFD/7/EVENT: Send sess-down Msg, [Src:192.168.0.10
2,Dst:192.168.0.101,4098/0,GigabitEthernet1/0/1,Echo], instance:0, protocol:Track
# Display detailed information about the VRRP group on Router B.
<RouterB> display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface GigabitEthernet1/0/1
VRID : 1 Adver Timer : 1
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, it notifies VRRP through the Track module to
change the status of Router 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 uplink
Network requirements
As shown in Figure 58, Router A and Router B belong to VRRP group 1, whose virtual IP address is
192.168.0.10.