hello-interval (VSRP)

Configures the number of seconds between hello messages from the master to the backups for a given VRID.
Syntax
hello-interval { msec interval | interval }
no hello-interval { msec interval | interval }
Command Default

Hello messages from master are sent to backup every second.

Parameters
msec interval
Interval, in milliseconds, at which a master advertises its existence to the backup. Valid values range from 100 through 40900. The default is 1000.
interval
Sets the interval, in seconds, for which a backup waits for a hello message from the master before determining that the master is offline. Valid values range from 1 through 84. The default value is 1.
Modes

VSRP VRID configuration mode

Usage Guidelines

The Master periodically sends hello messages to the backup. The backup routers use the hello messages as verification that the master is still online. If the backup routers stop receiving the hello messages for the period of time specified by the dead interval, the backup routers determine that the master router is dead. At that point, the backup router with the highest priority becomes the new master router.

By default, the dead interval is internally derived from the hello interval. It is equal to 3 times the hello interval plus one-half second. Generally, if you change the hello interval on the master router using the hello-interval command, you also should also change the dead interval on the backup routers using the dead-interval command.

The no form resets the hello message interval to its default value of 1000 milliseconds (1 second).

Examples

The following example sets the hello message interval to 10,000 milliseconds.

device# configure terminal
device(config)# vlan 400
device(config-vlan-400)# tagged ethernet 1/1/4 to 1/1/9
device(config-vlan-400)# vsrp vrid 4
device(config-vlan-400-vrid-4)# hello-interval msec 10000

The following example sets the hello message interval to 15 seconds.

device# configure terminal
device(config)# vlan 400
device(config-vlan-400)# tagged ethernet 1/1/4 to 1/1/9
device(config-vlan-400)# vsrp vrid 4
device(config-vlan-400-vrid-4)# hello-interval 15