ip ospf hello-interval

Syntax

ip ospf hello-interval <SECONDS>

no ip ospf hello-interval

Description

Sets the time interval between OSPF hello packets for the OSPF interface.

The no form of this command sets the time interval OSPF hello packets to the default of 10 seconds for the OSPF interface.

Command context

config-if

config-if-vlan

Parameters

<SECONDS>

Specifies the time interval for the hello interval, in seconds. Default: 10 seconds. Range: 1-65535.

Authority

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

Examples

Setting OSPF hello interval on the interface:

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

Setting OSPF hello interval to the default on the interface:

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