< Home

vrrp6 vrid virtual-ip

Function

The vrrp6 vrid virtual-ip command creates a VRRP6 group and assigns a virtual IPv6 address to the group.

The undo vrrp6 vrid virtual-ip command deletes the virtual IPv6 address of a VRRP6 group.

By default, no VRRP6 group is created.

Format

vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address [ link-local ]

undo vrrp6 vrid virtual-router-id [ virtual-ip virtual-ipv6-address [ link-local ] ]

Parameters

Parameter

Description

Value

vrid virtual-router-id

Specifies the VRID of a VRRP6 group.

The value is an integer that ranges from 1 to 255.

virtual-ip virtual-ipv6-address

Specifies the virtual IPv6 address of a VRRP6 group.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

link-local

Indicates that a link-local address is used as the virtual IPv6 address of a VRRP6 group. The first virtual IPv6 address of a VRRP6 group must be a link-local address.

-

Views

VLANIF interface view, Eth-Trunk interface view, GE interface view, MultiGE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk sub-interface view, GE sub-interface view, MultiGE sub-interface view, XGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In practice, hosts use the default gateway to communicate with external networks. As value-added services such as IPTV or video conferencing services are widely deployed, hosts may fail to communicate with external networks if the default gateway fails. Configuring dynamic routing protocols such as RIPng, OSPFv3, or ICMPv6 can improve system reliability. However, it is difficult to configure dynamic routing protocols and some hosts may not support dynamic routing protocols. VRRP6 virtualizes multiple routing devices into a virtual router without changing the networking. The virtual router IPv6 address is configured as the default gateway address.

If users on a network have the same reliability requirements, configure multiple virtual IPv6 addresses for a VRRP6 group. By doing this, one virtual IPv6 address serves one separate user group, and the default gateway address remains consistent regardless of changes in VRRP6 device locations. A VRRP6 group can be assigned a maximum of 16 virtual IPv6 addresses.

Precautions

If all the virtual IPv6 addresses in a VRRP6 group are deleted, the VRRP6 group is deleted automatically.

  • The first virtual IPv6 address of a VRRP6 group must be a link-local address. That is, you must run the vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address link-local command before assigning other virtual IPv6 addresses to the VRRP6 group.

  • VRRP6 groups must use different virtual IP addresses.

  • Two devices in a VRRP6 group must be configured with the same VRID.

  • VRRP6 groups on different interfaces of a device can be configured with the same VRID.

  • The VLANIF interface of a super VLAN does not support VRRP6.

Example

# Configure a VRRP6 group on VLANIF 100 and configure the virtual IPv6 address FE80::7.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] vrrp6 vrid 1 virtual-ip FE80::7 link-local
# Configure a VRRP6 group on GE0/0/1 and configure the virtual IPv6 address FE80::7.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] vrrp6 vrid 1 virtual-ip FE80::7 link-local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic