dead-interval (OSPF virtual link)

To set the interval during which at least one hello packet must be received from a neighbor on an Open Shortest Path First (OSPF) virtual link before the router declares that neighbor as down, use the dead interva l command. To restore the default, use the no form of this command.

dead-interval seconds

no dead-interval

Syntax Description

Interval (in seconds) during which the router must receive at least one hello packet from a neighbor or that neighbor is removed from the peer list and does not participate in routing. The range is from 1 to 65535. The value must be the same for all nodes on the virtual link.

Command Default

40 seconds

Command Modes

Virtual link configuration mode

Command History

This command was introduced.

Usage Guidelines

Use the dead interval command in virtual link configuration mode to configure the dead interval advertised in OSPF hello packets. This value must be the same for all networking devices on the virtual link. The default value for seconds is four times the interval set by the hello-interval command.

You can configure a shorter dead interval ( seconds ) to detect a down neighbor faster and improve convergence. A shorter dead interval may lead to virtual link instability by incorrectly declaring a slow neighbor as down.

Use the show ip ospf virtual-links command to verify the dead interval.

This command requires the LAN Base Services license.


This example shows how to configure the OSPF dead interval to 20 seconds:

switch(config)# ospf 201
switch(config-router)# area 99 virtual-link
switch(config-router-vlink)# dead-interval 20

Related Commands

copy running-config startup-config
Saves the configuration changes to the startup configuration file.
hello-interval (OSPF virtual link)
Specifies the interval between hello packets that Cisco NX-OS sends on the virtual link.
show ip ospf virtual-link
Displays OSPF virtual link information.