beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 77

background image

69

# Display information about track entry 1 on Router B.

display track 1

Track ID: 1

State: Positive

Duration: 0 days 0 hours 0 minutes 32 seconds

Notification delay: Positive 0, Negative 0 (in seconds)

Tracked object:

BFD session mode: Echo

Outgoing Interface: Ethernet1/1

VPN instance name: -

Remote IP: 192.168.0.101

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.

terminal debugging

terminal monitor

debugging vrrp state

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,Ethernet1/1,Echo], instance:0, protocol:Track

*Dec 17 14:44:34:144 2008 RouterB VRRP/7/DebugState: IPv4 Ethernet1/1 | Virtual Router

1 : Backup --> Master reason: The status of the tracked object changed

# Display detailed information about the VRRP group on Router B.

display vrrp verbose

IPv4 Virtual Router Information:

Running Mode : Standard

Total number of virtual routers : 1

Interface Ethernet1/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, 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.

This manual is related to the following products: