beautypg.com

Configuration procedure – H3C Technologies H3C MSR 5600 User Manual

Page 42

background image

34

Figure 12 Network diagram

Configuration procedure

1.

Configure Router A:
# Specify an IPv6 address for Router A.

system-view

[RouterA] interface ethernet 1/1

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

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

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

[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 a higher priority than Router B in VRRP group 1, so Router A can become the

master.

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

# Configure Router A to operate in preemptive mode, so it can become the master whenever it
operates correctly, and 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 Host A can learn the default gateway address.

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

2.

Configure Router B:
# Specify an IPv6 address for Router B.

system-view

[RouterB] interface ethernet 1/1

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

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

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

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

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

# 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 Host A can learn the default gateway address.

This manual is related to the following products: