beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 49

background image

41

[RouterB-Ethernet1/1] quit

# Create track entry 1 to monitor the upstream link status of Ethernet 1/2. When the upstream link

fails, the track entry transits to Negative.

[RouterB] track 1 interface ethernet 1/2

# Configure the VFs in VRRP group 1 to monitor track entry 1, and decrease their weights by 250
when the track entry transits to Negative.

[RouterB] interface ethernet 1/1

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

3.

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

system-view

[RouterC] vrrp ipv6 mode load-balance

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

[RouterC] interface ethernet 1/1

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

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

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

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

# Configure Router C to operate in preemptive mode and set the preemption delay to 5 seconds.

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

# Enable Router C to send RA messages, so hosts on subnet 1::/64 can learn the default gateway
address.

[RouterC-Ethernet1/1] undo ipv6 nd ra halt

[RouterC-Ethernet1/1] quit

# Create track entry 1 to monitor the upstream link status of Ethernet 1/2. When the upstream link

fails, the traffic entry transits to Negative.

[RouterC] track 1 interface ethernet 1/2

# Configure the VFs in VRRP group 1 to monitor track entry 1, and decrease their weights by 250
when the track entry transits to Negative.

[RouterC] interface ethernet 1/1

[RouterC-Ethernet1/1] vrrp ipv6 vrid 1 weight track 1 reduced 250

4.

Verify the configuration:
# Verify that Host A can ping the external network. (Details not shown.)
# Display detailed information about VRRP group 1 on Router A.

[RouterA-Ethernet1/1] display vrrp ipv6 verbose

IPv6 Virtual Router Information:

Running Mode : Load Balance

Total number of virtual routers : 1

Interface Ethernet1/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

This manual is related to the following products: