admin-vrrp6 vrid

Function

The admin-vrrp6 vrid command creates a management Virtual Router Redundancy Protocol for IPv6 (mVRRP6) backup group or specifies an existing common VRRP6 backup group as an mVRRP6 backup group.

The undo admin-vrrp6 vrid command deletes an mVRRP6 backup group or restores an mVRRP6 backup group with a virtual IPv6 address configured to a common VRRP6 backup group.

By default, no mVRRP6 backup group exists on an interface.

Format

admin-vrrp6 vrid virtual-router-id [ ignore-if-down ]

undo admin-vrrp6 vrid virtual-router-id

Parameters

Parameter Description Value
ignore-if-down

Configures an mVRRP6 backup group to ignore an interface Down event.

If you specify this parameter and the interface on which an mVRRP6 backup group resides goes Down, the VRRP6 backup groups bound to the mVRRP6 backup group directly switch to the Master state.

-

vrid virtual-router-id

Specifies the ID of an mVRRP6 backup group.

The value is an integer ranging from 1 to 255.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vrrp write

Usage Guidelines

Usage Scenario

If you configure multiple common VRRP6 backup groups, the master router generates a large number of VRRP packets, which consume bandwidth resources and increase system loads. To resolve this issue, run the admin-vrrp6 vrid command to create an mVRRP6 backup group or specifies an existing common VRRP6 backup group as an mVRRP6 backup group. The mVRRP6 backup group processes VRRP packets and determines the status of the common VRRP6 backup groups bound to it.

Configuration parameters are required in the following scenario:

  • If user-side devices do not provide broadcast functions, create an mVRRP6 backup group on the directly connected interfaces on two routers with a VRRP6 backup group configured so that VRRP packets sent by the master router are transmitted on the directly connected link. If a router fails, the other router's interface that is directly connected to the router goes Down. As a result, the mVRRP6 backup group on the two routers both switches to the Initialize state and service traffic forwarding fails. To resolve this issue, specify the ignore-if-down parameter for both routers to enable the mVRRP6 backup group to ignore an interface Down event. After a router receives an interface Down event from the other router, this router does not respond to the event and service traffic is forwarded properly.
  • To ensure intermediate link reliability when an mVRRP6 backup group is configured on a directly connected interface, deploy an inter-board trunk. To prevent both directly connected routers from switching to the Master state, do not run the shutdown command on the directly connected interfaces unless an interface Down event is caused by a master router failure.

Prerequisites

A VRRP6 backup group has been created using the vrrp6 vrid virtual-ip command in the interface view if an mVRRP6 backup group functions as a gateway.

An mVRRP6 backup group that functions as a gateway processes both VRRP and service packets, whereas an mVRRP6 backup group that does not function as a gateway processes only VRRP packets.

Follow-up Procedure

Run the vrrp6 vrid track admin-vrrp command on the interface on which a common VRRP6 backup group resides to bind the common VRRP6 backup group to the mVRRP6 backup group.

Example

# Create VRRP6 backup group 2 on GE 0/1/0, configure it as an mVRRP6 backup group, and configure the mVRRP6 backup group to ignore an interface Down event.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ipv6 address 2001:db8:1::1 64
[*HUAWEI-GigabitEthernet0/1/0] vrrp6 vrid 2 virtual-ip FE80::200:1FF:FE04:5D01 link-local
[*HUAWEI-GigabitEthernet0/1/0] admin-vrrp6 vrid 2 ignore-if-down
# Create VRRP6 backup group 1 on GE 0/1/0 and configure it as an mVRRP6 backup group.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ipv6 address 2001:db8::1 64
[*HUAWEI-GigabitEthernet0/1/0] vrrp6 vrid 1 virtual-ip FE80::1 link-local
[*HUAWEI-GigabitEthernet0/1/0] admin-vrrp6 vrid 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >