beautypg.com

Configuration procedure, Configuration guidelines, Optional.) – H3C Technologies H3C S12500-X Series Switches User Manual

Page 56: Function

background image

48

If you create an IPv6 VRRP group but do not assign any virtual IPv6 addresses to it, the VRRP group

stays in inactive state and does not function.

To avoid IP address collisions, change the IPv6 address of the interface on the IP address owner
before you remove the VRRP group from the interface.

The virtual IPv6 addresses of an IPv6 VRRP group and the IPv6 address of the interface where the
VRRP group is configured must be in the same subnet. Otherwise, hosts on the subnet cannot access

external networks.

Configuration procedure

To create a VRRP group and assign a virtual IPv6 address:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Create a VRRP group and

assign a virtual IPv6 address,
which is a link-local address.

vrrp ipv6 vrid virtual-router-id
virtual-ip virtual-address link-local

By default, no VRRP group exists.
The first virtual IPv6 address that

you assign to an IPv6 VRRP group
must be a link-local address, and it

must be the last address you

remove. Only one link local

address is allowed in a VRRP
group.

4.

(Optional.) Assign a virtual
IPv6 address, which is a

global unicast address.

vrrp ipv6 vrid virtual-router-id
virtual-ip virtual-address

By default, no global unicast
address is assigned for an IPv6

VRRP group.

Configuring the router priority, preemptive mode, and tracking
function

Configuration guidelines

The running priority of an IP address owner is always 255, and you do not need to configure it. An

IP address owner always operates in preemptive mode.

If you associate a track entry with a VRRP group on an IP address owner, the association does not
take effect until the router becomes a non-IP address owner.

When the track entry changes from Negative to Positive or Notready, the router automatically
restores its priority.

Configuration procedure

To configure the router priority, preemptive mode, and tracking function:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A