The vrrp6 vrid track interface command enables a Virtual Router Redundancy Protocol for IPv6 (VRRP6) backup group to monitor a VRRP6-disabled interface.
The undo vrrp6 vrid track interface command disables a VRRP6 backup group from monitoring a VRRP6-disabled interface.
By default, a VRRP6 backup group does not monitor a VRRP6-disabled interface.
Parameter | Description | Value |
---|---|---|
virtual-router-id |
Specifies the ID of a VRRP6 backup group. |
The value is an integer ranging from 1 to 255. |
interface interface-type interface-number |
Specifies the type and number of a monitored VRRP6-disabled interface. |
- |
increased value-increased |
Specifies a value by which the priority of a router in a VRRP6 backup group increases when a monitored VRRP6-disabled interface goes Down. |
The value is an integer ranging from 1 to 255. The value 255 is reserved for an IP address owner, and therefore the largest value can be set to 254. |
reduced value-reduced |
Specifies a value by which the priority of a router in a VRRP6 backup group decreases when a monitored VRRP6-disabled interface goes Down. |
The value is an integer ranging from 1 to 255. The smallest value can be set to 1. By default, the priority decreases by 10 when a monitored VRRP6-disabled interface goes Down. |
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
Usage Scenario
A VRRP6 backup group cannot detect changes in the status of a VRRP6-disabled interface. If a VRRP-disabled interface connected to a network fails, the VRRP6 backup group is unable to detect the fault and still forwards user packets through the failed interface, which results in service interruptions.
To enable a VRRP6 backup group to monitor a VRRP6-disabled interface, run the vrrp6 vrid track interface command. If a router or VRRP6-disabled interface connected to a network fails, a VRRP6 backup group detects the fault and performs a master/backup VRRP switchover.Prerequisites
A VRRP6 backup group has been created using the vrrp6 vrid virtual-ip command.
Configuration Impact
When you enable a VRRP6 backup group to monitor a VRRP6-disabled interface, the specified increased value-increased or reduced value-reduced parameter affects the status of the VRRP6 backup group. The specified parameter value only needs to ensure that a master/backup VRRP6 switchover can be performed. For example, if the master router's priority is 120 and a backup router's priority is 110, you need to set the reduced value-reduced parameter to 20 only on the master router.
Precautions
After you enable a VRRP6 backup group to monitor a VRRP6-disabled interface, an IP address owner's priority does not change because it is fixed at 255.
You can enable a VRRP6 backup group to monitor a VRRP6-disabled interface only when the network-layer protocol of the monitored interface is IPv4. If a VRRP6 group is configured to track multiple interfaces, the priority of the device where the VRRP group resides is subject to the status of all tracked interfaces. Multiple VRRP6 backup groups can track the same interface. One common VRRP backup group can track a maximum of sixteen interfaces simultaneously.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] ipv6 enable [*HUAWEI-GigabitEthernet0/1/1] ipv6 address 2001:db8::1 64 [*HUAWEI-GigabitEthernet0/1/1] vrrp6 vrid 1 virtual-ip FE80::7 link-local [*HUAWEI-GigabitEthernet0/1/1] vrrp6 vrid 1 track interface GigabitEthernet 0/1/2 reduced 20