ip ospf dead-interval

Syntax

ip ospf dead-interval <SECONDS>

no ip ospf dead-interval

Description

Sets the interval after which a neighbor is declared dead if no hello packet is received on the OSPF interface.

The no form of this command sets the interval after which a neighbor is declared dead, to the default for the OSPF interface. The default value is 40 seconds (generally 4 times the hello packet interval).

Command context

config-if

Parameters

<SECONDS>

Specifies the time interval for the dead interval, in seconds. Default: 40 seconds. Range: 1-65535.

Authority

Administrators

Examples

Setting OSPF dead interval on the interface:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# ip ospf dead-interval 30

Setting OSPF dead interval to default on the interface:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# no ip ospf dead-interval