Command:

timers spf


Mode:

Router(config-router)#


Syntax:

timers spf spf-delay spf-holdtime
no timers spf spf-delay spf-holdtime

 

Syntax Description:

spf-delay Delay time (in seconds) between when OSPF receives a topology change and when it starts an SPF calculation. It can be an integer from 0 to 65535. The default time is 5 seconds. A value of 0 means that there is no delay; that is, the SPF calculation is started immediately.
spf-holdtime Minimum time (in seconds) between two consecutive SPF calculations. It can be an integer from 0 to 65535. The default time is 10 seconds. A value of 0 means that there is no delay; that is, two SPF calculations can be done, one immediately after the other.

 

Command Description:

To configure the delay time between when OSPF receives a topology change and when it starts a shortest path first (SPF) calculation, and the hold time between two consecutive SPF calculations, use the timers spf command in router configuration mode. To return to the default timer values, use the no form of this command.

Setting the delay and hold time low causes routing to switch to the alternate path more quickly in the event of a failure. However, it requires the router to use more CPU processing time.


Example:

The following example changes the delay to 10 seconds and the hold time to 20 seconds:

Router(config-router)#timers spf 10 20 


Misconceptions:

None


Related Commands:

None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)