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.
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 ]
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.
|
- |
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. |
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
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.
PrerequisitesThe vrrp6 vrid virtual-ip command has been executed on an interface to create a VRRP6 group.
PrecautionsAfter 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.
<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
<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