vrrp advertise-interval

Sets the advertise interval for a VRRP instance.

Syntax

vrrp advertise-interval vrid {seconds interval | centiseconds interval}
no vrrp advertise-interval vrid interval

Parameters

vrid Specifies the virtual router ID used on this interface. Valid Values: 1-255. Default Value: None.
seconds interval Specifies the advertise interval in seconds for VRRP version 2 or 3. Valid values are 1 - 255.The default value is 1 second.
centiseconds interval Specifies the advertise interval in centi-seconds for VRRP version 3. Valid values are 20 - 4095.The default value is 1 second.

Defaults

None.

Mode

Interface configuration mode.

Usage

All routers with the same VRID must be configured with the same advertisement interval.

VRRP advertisements are sent by the master router to other routers participating in the VRRP master selection process, informing them of its configured values. Once the master is selected, then advertisements are sent every advertising interval to let other VRRP routers in this VLAN/VRID know the router is still acting as master of the VLAN/VRID.

The “no” form of this command resets the VRRP advertise interval value to the default of 1 second.

Example

This example sets the advertise interval for VRRP instance 1 to 2 seconds for VRRP protocol version 2:

System(rw)->configure
System(rw-config)->interface vlan 20
System(rw)-config-intf-vlan.0.20)->vrrp create 1 v2-ipv4
System(rw)-config-intf-vlan.0.20)->vrrp address 1 20.20.20.1
System(rw-config-intf-vlan.0.20)->vrrp advertise-interval 1 seconds 2
System(rw-config-intf-vlan.0.20)->