beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 48

background image

47

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

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

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

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

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

# Set Device B to work in preemptive mode. The preemption delay is five seconds.

[DeviceB-GigabitEthernet0/1] vrrp ipv6 vrid 1 preempt-mode timer delay 5

# Enable Device B to send RA messages.

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

Step3

Configure Device C

# Configure VRRP to work in load balancing mode.

system-view

[DeviceC] vrrp mode load-balance

# Create VRRP group 1 and configure its virtual IPv6 address as FE80::10.

[DeviceC] interface gigabitethernet 0/1

[DeviceC-GigabitEthernet0/1] ipv6 address fe80::3 link-local

[DeviceC-GigabitEthernet0/1] ipv6 address 1::3 64

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

# Set Device C to work in preemptive mode. The preemption delay is five seconds.

[DeviceC-GigabitEthernet0/1] vrrp ipv6 vrid 1 preempt-mode timer delay 5

# Enable Device C to send RA messages.

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

Step4

Verify the configuration

After the configuration, Host A can ping external networks successfully. To verify your configuration, use
the display vrrp ipv6 verbose command.
# Display detailed information of VRRP group 1 on Device A.

[DeviceA-GigabitEthernet0/1] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Load Balance

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface GigabitEthernet0/1

VRID : 1 Adver Timer : 100

Admin Status : Up State : Master

Config Pri : 120 Running Pri : 120

Preempt Mode : Yes Delay Time : 5

Auth Type : None

Virtual IP : FE80::10

Member IP List : FE80::1 (Local, Master)

FE80::2 (Backup)

FE80::3 (Backup)

Forwarder Information: 3 Forwarders 1 Active

Config Weight : 255

Running Weight : 255