beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 102

background image

93

[RouterA] track 1 interface GigabitEthernet 4/1/2

# Configure the VFs to monitor track entry 1, making the weight of Router A decrease by more than

245 (250 in this example) when track entry 1 turns to negative. In such a case, another router with

a higher weight can take over.

[RouterA] interface GigabitEthernet 4/1/1

[RouterA-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 weight track 1 reduced 250

2.

Configure Router B:
# Configure VRRP to work in load balancing mode.

system-view

[RouterB] vrrp mode load-balance

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

[RouterB] interface GigabitEthernet 4/1/1

[RouterB-GigabitEthernet4/1/1] ipv6 address fe80::2 link-local

[RouterB-GigabitEthernet4/1/1] ipv6 address 1::2 64

[RouterB-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local

[RouterB-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 virtual-ip 1::10

# Set the priority of Router B in VRRP group 1 to 110, which is higher than that of Router C (100)

so that Router B can become the master when Router A fails.

[RouterB-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 priority 110

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

[RouterB-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 preempt-mode timer delay 5

# Enable Router B to send RA messages, so that hosts in network segment 1::/64 can learn the
default gateway address.

[RouterB-GigabitEthernet4/1/1] undo ipv6 nd ra halt

[RouterB-GigabitEthernet4/1/1] quit

# Create track entry 1 to associate with the physical status of GigabitEthernet 4/1/2 on Router B.
When the track entry becomes negative, it means that the interface fails.

[RouterB] track 1 interface GigabitEthernet 4/1/2

# Configure the VFs to monitor track entry 1, making the weight of Router B decrease by more than

245 (250 in this example) when track entry 1 turns to negative. In such a case, another router with

a higher weight can take over.

[RouterB] interface GigabitEthernet 4/1/1

[RouterB-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 weight track 1 reduced 250

3.

Configure Router C:
# Configure VRRP to work in load balancing mode.

system-view

[RouterC] vrrp mode load-balance

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

[RouterC] interface GigabitEthernet 4/1/1

[RouterC-GigabitEthernet4/1/1] ipv6 address fe80::3 link-local

[RouterC-GigabitEthernet4/1/1] ipv6 address 1::3 64

[RouterC-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local

[RouterC-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 virtual-ip 1::10

# Set Router C to work in preemptive mode and set the preemption delay to five seconds.

[RouterC-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 preempt-mode timer delay 5

This manual is related to the following products: