ip ospf hello-interval

To specify the interval between hello packets that Open Shortest Path First (OSPF) sends on the interface, use the ip ospf hello-interval command. To return to the default, use the no form of this command.

ip ospf hello-interval seconds

no ip ospf hello-interval

Syntax Description

seconds

Interval (in seconds). The value must be the same for all nodes on a specific network. The range is from 1 to 65535.


Command Default

10 seconds

Command Modes

Interface configuration mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

Use the ip ospf hello-interval command to set the rate at which OSPF advertises hello packets. Shorter hello intervals allow OSPF to detect topological changes faster. This value must be the same for all routers and access servers on a specific network.

This command requires the LAN Base Services license.

Examples

This example shows how to set the interval between hello packets to 15 seconds:

switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip ospf hello-interval 15
switch(config-if)#

Related Commands

Command
Description

copy running-config startup-config

Saves the configuration changes to the startup configuration file.

ip ospf dead-interval

Sets the time period for which hello packets must not have been seen before neighbors declare the router as down.

show ip ospf

Displays OSPF information.