The vrrp vrid track nqa command enables a VRRP group to track an NQA test instance to implement a rapid master/backup VRRP switchover.
The undo vrrp vrid track nqa command disables a VRRP group from tracking an NQA test instance to implement a rapid master/backup VRRP switchover.
By default, a VRRP group does not track an NQA test instance.
Parameter | Description | Value |
---|---|---|
admin-name |
Specifies the administrator name for an NQA test instance. |
The value is a string of 1 to 32 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
test-name |
Specifies the name of an NQA test instance. |
The value is a string of 1 to 32 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
vrid virtual-router-id |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
reduced value-reduced |
Specifies a value by which the priority reduces when a tracked NQA test instance detects that the uplink is unreachable. |
The value is an integer ranging from 1 to 255. The value 0 is reserved for special use. If a backup device receives a VRRP Advertisement packet carrying a priority of 0, the backup device immediately preempts the Master state. By default, the priority reduces by 10 when a tracked NQA test instance detects that the uplink is unreachable. |
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, VBDIF interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
To improve network reliability, VRRP can be configured on a device to track the following objects:
Prerequisites
Precautions
You cannot enable an IP address owner or a service VRRP group to track an NQA test instance.
<HUAWEI> system-view [~HUAWEI] nqa test-instance user user1 [*HUAWEI-nqa-user-user1] test-type icmp [*HUAWEI-nqa-user-user1] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 virtual-ip 10.10.10.11 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 track nqa user user1 reduced 20