Configuring OSPF timers

An OSPF interface includes the following timers:

To configure OSPF timers:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Specify the hello interval.

ospf timer hello seconds

By default:

  • The hello interval on P2P and broadcast interfaces is 10 seconds.

  • The hello interval on P2MP and NBMA interfaces is 30 seconds.

The default hello interval is restored when the network type for an interface is changed.

4. Specify the poll interval.

ospf timer poll seconds

The default setting is 120 seconds.

The poll interval is at least four times the hello interval.

5. Specify the dead interval.

ospf timer dead seconds

By default:

  • The dead interval on P2P and broadcast interfaces is 40 seconds.

  • The dead interval on P2MP and NBMA interfaces is 120 seconds.

The dead interval must be at least four times the hello interval on an interface.

The default dead interval is restored when the network type for an interface is changed.

6. Specify the retransmission interval.

ospf timer retransmit interval

The default setting is 5 seconds.

A retransmission interval setting that is too small can cause unnecessary LSA retransmissions. This interval is typically set bigger than the round-trip time of a packet between two neighbors.