configure vrrp vlan vrid advertisement-interval

configure vrrp vlan vlan_name vrid vridval advertisement-interval interval [{seconds} | centiseconds]

Description

Configures the time between VRRP advertisements in seconds or centiseconds.

Syntax Description

vlan_name

Specifies the name of a VRRP VLAN.

vridval

Specifies the VRID of a VRRP instance. To display the configured VRRP router instances, enter the show vrrp command.

interval

Specifies an interval value for the time between advertisements. The range is 1 through 40 seconds or 10 through 4095 centiseconds.

seconds

Specifies that the interval value is in seconds. If you do not specify seconds or centiseconds, the interval value is applied as seconds.

centiseconds

Specifies that the interval value is in centiseconds.

Default

The advertisement interval is 1 second.

Usage Guidelines

The advertisement interval specifies the interval between advertisements sent by the master router to inform the backup routers that its alive. You must use whole integers when configuring the advertisement interval.

An extremely busy CPU can create a short dual master situation. To avoid this, increase the advertisement interval.

Note

Note

The milliseconds keyword is replaced by the centiseconds keyword, but the milliseconds keyword is still recognized to support existing configurations and scripts. Any values specified in milliseconds are converted to centiseconds. All new configurations and scripts should specify the interval in either seconds or centiseconds. The maximum value for an interval specified in seconds is 40. However, the software supports older configurations and scripts that specify values up to 255, which were supported prior to ExtremeXOS Release 12.7.

To view your VRRP configuration, including the configured advertisement interval, use one of the following commands:

If you enter a number that is out of the seconds or centiseconds range, the switch displays an error message. For example, if the interval value is set to 999 and the centiseconds keyword is missing, the switch displays an error message similar to the following:

configure vrrp blue vrid 250 advertisement-interval 999 Error: Advertisement interval must be between 1 and 255 seconds. 999 out of range

Example

The following command configures the advertisement interval for 15 seconds:

configure vrrp vlan vrrp-1 vrid 1 advertisement-interval 15

The following command configures the advertisement interval for 200 centiseconds:

configure vrrp vlan vrrp-1 vrid 1 advertisement-interval 200 centiseconds

History

This command was first available in ExtremeXOS 10.1.

The milliseconds and seconds keywords were added in ExtremeXOS 11.5.

The centiseconds keyword replaced the milliseconds keyword, and the maximum value for intervals specified in seconds was reduced to 40 in ExtremeXOS 12.7.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the VRRP feature, see the Switch Engine 32.2 Feature License Requirements document.