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 interval command. To restore the default, use the no form of this command.
dead-interval seconds
no dead-interval
Syntax Description
seconds |
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
The default value for seconds is our times the interval set by the hello-interval command.
Command Modes
Virtual link configuration
Command History
Release |
Modification |
---|---|
4.0(1) |
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.
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 Enterprise Services license.
Examples
This example shows how to configure the OSPF dead interval to 20 seconds:
switch# configure terminal
switch(config)# ospf 201
switch(config-router)# area 99 virtual-link 192.0.2.4
switch(config-router-vlink)# dead-interval 20