interfaces <interface> <interface-name> ip ospf dead-interval <interval>
Sets the OSPF dead interval for an interface.
The dead interval is 4 times the hello interval.
- interface
- A type of interface. For detailed keywords and arguments that can be specified as interface types, refer to Supported Interface Types.
- interface-name
- The name of an interface.
- interval
- The time, in seconds, that the specified interface waits to detect hello packets from neighboring routers before declaring a neighbor down. The interval ranges from 1 through 65535. The default interval is 4 times the hello interval.
Configuration mode
interfaces {
interfaces interface-name {
ip {
ospf {
dead-interval interval
}
}
}
}
Use this command to specify the interval during which an interface should expect a hello packet from its neighbor.
If the dead interval passes before the interface receives a hello packet from a neighbor, the status of the neighbor is changed to out-of-service and all associated state is cleared.
The dead interval must be the same for all routers that are to establish two-way communication within a network. If two routers do not agree on these parameters, they do not establish adjacencies and disregard communication from each other.
Use the set form of this command to set the OSPF dead interval for an interface.
Use the delete form of this command to restore the default OSPF dead interval, which is 4 times the hello interval, for an interface.
Use the show form of this command to display the OSPF dead interval for an interface.