beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 95

background image

86

Figure 26 Network diagram

Configuration procedure

1.

Configure Router A:

system-view

[RouterA] ipv6

[RouterA] interface GigabitEthernet 4/1/1

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

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

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

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

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

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

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

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

[RouterA-GigabitEthernet4/1/2] vrrp ipv6 vrid 1 timer advertise 500

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

works normally; configure the preemption delay as five seconds to avoid frequent status

switchover.

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

# Set interface GigabitEthernet 4/1/2 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

GigabitEthernet 4/1/2 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-GigabitEthernet4/1/1] vrrp ipv6 vrid 1 track interface GigabitEthernet 4/1/1

reduced 30

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

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

2.

Configure Router B:

Host A

Router A

Router B

Virtual IPv6 address:

FE80::10

1::10/64

GE4/1/1

FE80::1

1::1/64

GE4/1/1

FE80::2

1::2/64

Host B

Gateway:
1::10/64

GE4/1/2

Internet

This manual is related to the following products: