beautypg.com

H3C Technologies H3C SecBlade LB Cards User Manual

Page 74

background image

66

3.

Configure LB C:
# Configure VRRP to operate in load balancing mode.

system-view

[LBC] vrrp mode load-balance

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

[LBC] interface gigabitethernet0/1

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

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

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

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

# Set LB C to operate in preemptive mode and set the preemption delay to five seconds.

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

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

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

[LBC-GigabitEthernet0/1] quit

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

[LBC] track 1 interface gigabitethernet0/2

# Configure VF tracking to monitor track entry 1 and specify the value by which the weight
decreases, making the weight of LB C 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.

[LBC] interface gigabitethernet0/1

[LBC-GigabitEthernet0/1] vrrp ipv6 vrid 1 weight track 1 reduced 250

4.

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 the detailed information about VRRP group 1 on LB A.

[LBA-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

1::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

This manual is related to the following products: