beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 41

background image

40

Figure 15 Network diagram for VRRP interface tracking

Configuration procedure

Step1

Configure Device A

system-view

[DeviceA] ipv6

[DeviceA] interface gigabitethernet 0/2

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

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

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

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

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

# Configure the priority of Device A in VRRP group 1 as 110.

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

# Set the authentication mode of VRRP group 1 as simple and authentication key to hello.

[DeviceA-GigabitEthernet0/2] vrrp ipv6 vrid 1 authentication-mode simple hello

# Set the interval for Device A to send VRRP advertisements to 500 centiseconds.

[DeviceA-GigabitEthernet0/2] vrrp ipv6 vrid 1 timer advertise 500

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

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

# Set the interface to be tracked.

[DeviceA-GigabitEthernet0/2] vrrp ipv6 vrid 1 track interface gigabitethernet 0/1 reduced

30

# Enable Device A to send RA messages.

[DeviceA-GigabitEthernet0/2] undo ipv6 nd ra halt

Step2

Configure Device B

system-view

[DeviceB] ipv6

[DeviceB] interface gigabitethernet 0/2

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