H3C Technologies H3C S10500 Series Switches User Manual

Page 189

Advertising
background image

180

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : 192.168.0.10

Master IP : 192.168.0.101

VRRP Track Information:

Track Object : 1 State : Positive Switchover

# Display information about track entry 1 on Switch B.

<SwitchB> display track 1

Track ID: 1

Status: Positive

Duration: 0 days 0 hours 0 minutes 32 seconds

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

Reference object:

BFD session:

Packet type: Echo

Interface : Vlan-interface2

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, Switch A is the master, and

Switch B the backup.
# Enable VRRP state debugging and BFD event debugging on Switch B.

<SwitchB> terminal debugging

<SwitchB> terminal monitor

<SwitchB> debugging vrrp state

<SwitchB> debugging bfd event

# When Switch A fails, the following output is displayed on Switch B.

*Dec 17 14:44:34:142 2008 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 2008 SwitchB VRRP/7/DebugState: IPv4 Vlan-interface2 | Virtual Router

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

# Display the detailed information of the VRRP group on Switch B.

<SwitchB> display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Vlan-interface2

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

Advertising