View
Interface view
Default level
2: System level
Parameters
seconds
: Dead interval in seconds, in the range of 1 to 2147483647.
Description
Use
ospf timer dead
to set the dead interval.
Use
undo ospf timer dead
to restore the default.
The dead interval defaults to 40s for Broadcast, P2P interfaces and defaults to 120s for P2MP and
NBMA interfaces.
If an interface receives no hello packet from a neighbor within the dead interval, the interface
considers the neighbor down. The dead interval on an interface is at least four times the hello interval.
Any two routers attached to the same segment must have the same dead interval.
Related commands:
ospf timer hello
.
Examples
# Configure the dead interval on the current interface as 60 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf timer dead 60
ospf timer hello
Syntax
ospf timer hello seconds
undo ospf timer hello
View
Interface view
Default level
2: System level
Parameters
seconds
: Hello interval in seconds, in the range of 1 to 65535.
Description
Use
ospf timer hello
to set the hello interval on an interface.
Use
undo ospf timer hello
to restore the default hello interval on an interface.
The hello interval defaults to 10s for P2P and Broadcast interfaces, and defaults to 30s for P2MP and
NBMA interfaces.
The shorter the hello interval is, the faster the topology converges and the more resources are
consumed. Make sure the hello interval on two neighboring interfaces is the same.
Related commands:
ospf timer dead
.
Examples
# Configure the hello interval on the current interface as 20 seconds.
112