beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 45

background image

44

[DeviceB] ipv6

[DeviceB] interface gigabitethernet 0/1

[DeviceB-GigabitEthernet0/1] ipv6 address fe80::2 link-local

[DeviceB-GigabitEthernet0/1] ipv6 address 1::2 64

# Create VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip 1::10

# Create VRRP group 2 set its virtual IPv6 addresses to FE80::20 and 1::20.

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip 1::20

# Set the priority of Device B in VRRP group 2 to 110.

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 2 priority 110

# Enable Device B to send RA messages.

[DeviceB-GigabitEthernet0/1] undo ipv6 nd ra halt

Step3

Verify the configuration

To verify your configuration, use the display vrrp ipv6 verbose command.
# Display detailed information of the VRRP group on Device A.

[DeviceA-GigabitEthernet0/1] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 2

Interface GigabitEthernet0/1

VRID : 1 Adver Timer : 100

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : FE80::10

1::10

Virtual MAC : 0000-5e00-0201

Master IP : FE80::1

Interface GigabitEthernet0/1

VRID : 2 Adver Timer : 100

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : FE80::20

1::20

Master IP : FE80::2

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

[DeviceB-GigabitEthernet0/1] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard