Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 108

Advertising
background image

100

Figure 33 Network diagram

Configuration procedure

1.

Configure Router A:

<RouterA> system-view

[RouterA] ipv6

[RouterA] interface ethernet 1/2

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

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

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

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

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

# Configure the priority of Router A in VRRP group 1 as 110, which is higher than that of Router
B (100), so that Router A can become the master.

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

# Set the authentication mode of VRRP group 1 as simple and authentication key to hello.

[RouterA-Ethernet1/2] vrrp ipv6 vrid 1 authentication-mode simple hello

# Set the interval on Router A for sending VRRP advertisements to 400 centiseconds.

[RouterA-Ethernet1/2] vrrp ipv6 vrid 1 timer advertise 400

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

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

# Set Ethernet 1/1 on Router A to be tracked, and configure the amount by which the priority value

decreases to be more than 10 (30 in this example), so that when Ethernet 1/1 fails, the priority of

Router A in VRRP group 1 decreases to a value lower than 100 and thus Router B can become the
master.

[RouterA-Ethernet1/2] vrrp ipv6 vrid 1 track interface ethernet 1/1 reduced 30

# Enable Router A to send RA messages, so that Host A can learn the default gateway address.

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

2.

Configure Router B:

<RouterB> system-view

[RouterB] ipv6

Advertising
This manual is related to the following products: