ospf timer dead

Use ospf timer dead to set the neighbor dead interval.

Use undo ospf timer dead to restore the default.

Syntax

ospf timer dead seconds

undo ospf timer dead

Default

The dead interval is 40 seconds for broadcast and P2P interfaces. The dead interval is 120 seconds for P2MP and NBMA interfaces.

Views

Interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the dead interval in the range of 1 to 2147483647 seconds.

Usage guidelines

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 a minimum of four times the hello interval. Routers attached to the same segment must have the same dead interval.

Examples

# Set the dead interval for VLAN-interface 10 to 60 seconds.

<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf timer dead 60

Related commands

ospf timer hello