H3C Technologies H3C S10500 Series Switches User Manual

Page 163

Advertising
background image

154

[SwitchB-Vlan-interface2] vrrp ipv6 vrid 1 preempt-mode timer delay 5

# Enable Switch B to send RA messages, so that Host A can learn the default gateway address.

[SwitchB-Vlan-interface2] undo ipv6 nd ra halt

3.

Verify the configuration

After the configuration, Host B can be pinged successfully on Host A. To verify the configuration, use the
display vrrp ipv6 verbose command.
# Display the detailed information of VRRP group 1 on Switch A.

[SwitchA-Vlan-interface2] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Vlan-interface2

VRID : 1 Adver Timer : 400

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 5

Auth Type : Simple Key : hello

Virtual IP : FE80::10

1::10

Virtual MAC : 0000-5e00-0201

Master IP : FE80::1

VRRP Track Information:

Track Interface: Vlan3 State : Up Pri Reduced : 30

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

[SwitchB-Vlan-interface2] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Vlan-interface2

VRID : 1 Adver Timer : 400

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 5

Become Master : 4200ms left

Auth Type : Simple Key : hello

Virtual IP : FE80::10

1::10

Master IP : FE80::1

The output shows that in VRRP group 1 Switch A is the master, Switch B is the backup and packets sent
from Host A to Host B are forwarded by Switch A.
When interface VLAN-interface 3 on Switch A is not available, you can still ping Host B successfully on

Host A. To view the detailed information of the VRRP group, use the display vrrp ipv6 verbose command.
# When interface VLAN-interface 3 on Switch A is not available, the detailed information of VRRP group
1 on Switch A is displayed.

Advertising