< Home

vrrp6 vrid track interface

Function

The vrrp6 vrid track interface command associates a VRRP6 group with an interface.

The undo vrrp6 vrid track interface command disassociates a VRRP6 group from an interface.

By default, a VRRP6 group is not associated with an interface.

Format

vrrp6 vrid virtual-router-id track interface interface-type interface-number [ increased value-increased | reduced value-reduced ]

undo vrrp6 vrid virtual-router-id track interface [ interface-type interface-number ]

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.

interface-type interface-number Specifies the type and number of an interface monitored by a VRRP6 group.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

increased value-increased Specifies the value by which the priority increases when the monitored interface becomes Down.

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

reduced value-reduced Specifies the value by which the priority decreases when the monitored interface becomes Down.

The value is an integer that ranges from 1 to 255. The priority can decrease to 1. By default, when the monitored interface goes Down, the VRRP6 priority of the device decreases by 10.

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

VRRP6 can only detect the status change of the interface on which a VRRP6 group is configured. VRRP6 cannot detect faults on the uplink interface of the master, causing service interruption. You can associate a VRRP6 group with a device interface that is not in the VRRP6 group. When the monitored interface is faulty, the priority of the master is reduced. This triggers an active/standby switchover and reduces the impact of services on the uplink interface. When the fault is rectified, the original master restores its priority and switches to the master to forward traffic.

Prerequisites

The vrrp6 vrid virtual-ip command has been executed on an interface to create a VRRP6 group.

Precautions

After a VRRP6 group is associated with an interface, set increased value-increased or reduced value-reduced to an appropriate value. This setting ensures that an active/standby switchover is performed immediately when the monitored interface becomes Down.

  • The master and backup in the VRRP6 group must work in preemption mode. It is recommended that the preemption delay be 0 on the backup and larger than 0 on the master.

  • If the device is the IPv6 address owner (the virtual router IPv6 address is used as the actual interface address), you cannot associate a VRRP6 group with an interface.

  • If the IPv4 protocol status on the monitored interface configured with an IPv4 address changes, a new master in the VRRP6 group is selected. If the IPv6 protocol status on the monitored interface configured with an IPv6 address changes, the VRRP6 group remains unchanged.

Example

# Associate VRRP6 group 1 with VLANIF 100 and set reduced value-reduced to 50 when VLANIF 100 becomes Down.
<HUAWEI> system-view
[HUAWEI] interface vlanif 200
[HUAWEI-Vlanif200] vrrp6 vrid 1 virtual-ip FE80::7 link-local
[HUAWEI-Vlanif200] vrrp6 vrid 1 virtual-ip FC00::2
[HUAWEI-Vlanif200] vrrp6 vrid 1 track interface vlanif 100 reduced 50
# Associate VRRP6 group 1 with GE0/0/2 and set reduced value-reduced to 50 when GE0/0/2 becomes Down.
<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
[HUAWEI-GigabitEthernet0/0/1] vrrp6 vrid 1 virtual-ip FC00::2
[HUAWEI-GigabitEthernet0/0/1] vrrp6 vrid 1 track interface gigabitethernet0/0/2 reduced 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >