Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 105

Advertising
background image

97

Figure 32 Network diagram

Configuration procedure

1.

Configure Router A:

<RouterA> system-view

[RouterA] ipv6

[RouterA] interface ethernet 1/1

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

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

# Create a 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

# 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/1] vrrp ipv6 vrid 1 priority 110

# Configure Router A to operate in preemptive mode so that it can become the master whenever

it works correctly; configure the preemption delay as 5 seconds to avoid frequent status

switchover.

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

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

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

2.

Configure Router B:

<RouterB> system-view

[RouterB] ipv6

[RouterB] interface ethernet 1/1

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

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

# Create a 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, with the preemption delay set to 5 seconds.

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

Advertising
This manual is related to the following products: