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

config-if-vlan

Parameters

<SECONDS>

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting OSPF dead interval on the interface:

switch(config)# interface vlan 1
switch(config-if-vlan)# ip ospf dead-interval 30

Setting OSPF dead interval to default on the interface:

switch(config)# interface vlan 1
switch(config-if-vlan)# no ip ospf dead-interval