beautypg.com

Configuration procedure – H3C Technologies H3C MSR 5600 User Manual

Page 48

background image

40

Configuration procedure

1.

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

system-view

[RouterA] vrrp ipv6 mode load-balance

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

[RouterA] interface ethernet 1/1

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

[RouterA-Ethernet1/1] ipv6 address 1::1 64

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

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

# Assign Router A the highest priority in VRRP group 1, so Router A can become the master.

[RouterA-Ethernet1/1] vrrp ipv6 vrid 1 priority 120

# Configure Router A to operate in preemptive mode, so it can become the master whenever it
operates correctly. Set the preemption delay to 5 seconds to avoid frequent status switchover.

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

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

address.

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

[RouterA-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.

[RouterA] 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.

[RouterA] interface ethernet 1/1

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

2.

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

system-view

[RouterB] vrrp ipv6 mode load-balance

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

[RouterB] interface ethernet 1/1

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

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

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

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

# Assign Router B a higher priority than Router C in VRRP group 1, so Router B can become the

master when Router A fails.

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

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

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

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

address.

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

This manual is related to the following products: