non-preempt-mode (VRRP)
Preemption is enabled by default.
VRID interface configuration mode
This command is supported in VRRP and VRRP-E. When the
non-preempt-mode command is entered, a backup device with a higher VRRP priority is prevented from
taking control of the virtual router ID (VRID) from another backup device that has
a lower priority, but has already assumed control of the VRID. Disabling preemption
is useful to prevent flapping when there are multiple backup devices and a backup
with a lower priority assumes the role of master. When other backup devices with a
higher priority are back online, the role of master can flap between devices.
In VRRP, the owner device always assumes the role of master when it comes back online, regardless of the preempt mode setting.
The following example disables preempt mode for the virtual-router ID 1 session:
device# configure terminal device(config)# router vrrp device(config)# interface ethernet 1/1/5 device(config-if-e1000-1/1/5)# ip address 10.53.5.3/24 device(config-if-e1000-1/1/5)# ip vrrp vrid 1 device(config-if-e1000-1/1/5-vrid-1)# non-preempt-mode