Enable IPv4 VRRP Preempt Mode
You can configure VRRP to preempt the existing router. If a new VRRP router is added to the network with a higher priority than the existing routers, then the new router becomes the master. If preempt-mode is disabled, then the new router does not become a master, it transitions to master only when the current master is down, that is when it does not receive any advertisement packets from the current master. By default, preempt-mode is enabled.
Procedure
Example
Switch:1> enable Switch:1# configure terminal Switch:1(config)# interface gigabitethernet 1/2
Enabling preempt-mode on interface 1/2:
Switch:1(config-if)# ip vrrp 1 preempt-mode enable
Variable definitions
Use the data in the following table to use the ip vrrp <vrid> command.
Variable |
Value |
---|---|
preempt-mode enable |
Enables preempt-mode for VRRPv3 for IPv4. |
default ip vrrp <vrid> preempt-mode |
Sets the default preempt-mode value for VRRPv3 for IPv4. |
no ip vrrp <vrid> preempt-mode enable |
Disables preempt-mode for VRRPv3 for IPv4. |