The vrrp vrid timer advertise millisecond command sets an interval at which the master device in a VRRP group sends a VRRP Advertisement packet.
The undo vrrp vrid timer advertise millisecond command restores the default interval.
By default, the master device sends a VRRP Advertisement packet every second.
Parameter | Description | Value |
---|---|---|
100 |
Specifies a millisecond-level interval at which the master device in a VRRP group sends a VRRP Advertisement packet. |
The value can be 100, in ms. |
200 |
Specifies a millisecond-level interval at which the master device in a VRRP group sends a VRRP Advertisement packet. |
The value can be 200, in ms. |
500 |
Specifies a millisecond-level interval at which the master device in a VRRP group sends a VRRP Advertisement packet. |
The value can be 500, in ms. |
vrid virtual-router-id |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
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
The master device in a VRRP group periodically sends VRRP Advertisement packets to the backup devices in the group to notify them of its status. You can run the vrrp vrid timer advertise millisecond command to set an interval at which the master device in a VRRP group sends a VRRP Advertisement packet to 500 ms.
If a backup device does not receive a VRRP Advertisement packet from the master device within a period three times as long as the interval at which the master device sends a VRRP packet, the backup device considers the master device Down and preempts the Master state.Prerequisites
A VRRP group has been configured using the vrrp vrid command.
Configuration Impact
Changing the interval at which VRRP Advertisement packets are sent affects the maximum number of VRRP groups supported per device. If VRRP Advertisement packets are sent both at intervals of seconds and milliseconds, the maximum number of VRRP groups that can be configured per device is calculated based on the minimum interval.
Precautions
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] ip address 10.1.1.1 24 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 virtual-ip 10.1.1.111 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 timer advertise millisecond 500