ip vrrp (for a port)

Configure Virtual Router Redundancy Protocol (VRRP) on a port.

Syntax

Command Parameters

<vrid> preempt-mode enable
Enables preempt mode for vrrp (v3).
action {none|preempt}
Use the action choice option to manually override the hold-down timer and force preemption. none|preempt can be set to preempt the timer or set to none to allow the timer to keep working.
address <1-255> <A.B.C.D>
Sets the IP address of the Virtual Router Redundancy Protocol (VRRP) interface that forwards packets to the virtual IP addresses associated with the virtual router. A.B.C.D is the IP address of the master VRRP.
adver-int <1-255>
Sets the the time interval between sending Virtual Router Redundancy Protocol (VRRP) advertisement messages. The range is between 1 and 255 seconds. This value must be the same on all the participating routers. The default is 1.
backup-master enable
Enables the Virtual Router Redundancy Protocol (VRRP) backup master. This option is supported only on Split MultiLink Trunking (SMLT) ports. Do not enable Backup Master if Critical IP is enabled.
critical-ip enable
Enables the critical IP address option. Do not enable critical IP if Backup Master is enabled.
critical-ip-addr <A.B.C.D>
Sets the critical IP address for VRRP. A.B.C.D is the IP address on the local router, which is configured so that a change in its state causes a role switch in the virtual router (for example, from master to backup in case the interface goes down).
enable
Enables Virtual Router Redundancy Protocol (VRRP) on the interface.
fast-adv enable
Enables the Fast Advertisement Interval. The default is disabled.
fast-adv-int <200-1000>
Sets the Fast Advertisement Interval, in milliseconds, the time interval between sending VRRP advertisement messages. The range must be the same on all participating routers. The default is 200. You must enter values in multiples of 200 milliseconds.
holddown-timer<0-21600>
Modifies the behavior of the Virtual Router Redundancy Protocol (VRRP) failover mechanism by allowing the router enough time to detect the OSPF or RIP routes. 0-21600 is the time interval (in seconds) a router is delayed when changing to master state.
priority <1-255>
Sets the port Virtual Router Redundancy Protocol (VRRP) priority. 1-255 is the value used by the VRRP router. The default is 100. Assign the value 255 to the router that owns the IP address associated with the virtual router.

Default

None

Command Mode

GigabitEthernet Interface Configuration