To set the shortest-path first (SPF) best-path schedule initial delay time and the minimum hold between SPF best-path calculation for Open Shortest Path First (OSPF), use the timers throttle spf command. To turn off SPF throttling, use the no form of this command.
timers throttle spf spf-start spf-hold spf-max-wait
no timers throttle spf spf-start spf-hold spf-max-wait
|
spf-start
|
Initial SPF schedule delay in milliseconds. The range is from 1 to 600,000 milliseconds.
|
|
spf-hold
|
Minimum hold time between two consecutive SPF calculations. The range is from 1 to 600,000 milliseconds.
|
|
spf-max-wait
|
Maximum wait time between two consecutive SPF calculations. The range is from 1 to 600,000 milliseconds.
|
SPF throttling is not set.
Router configuration mode
VRF configuration mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
Use the timers throttle spf command to set the SPF timers.
The first wait interval between SPF calculations is the amount of time in milliseconds specified by the spf-start argument. Each consecutive wait interval is two times the current hold level in milliseconds until the wait time reaches the maximum time in milliseconds as specified by the spf-maximum argument. Subsequent wait times remain at the maximum until the values are reset or an LSA is received between SPF calculations.
This example shows how to configure a router configured with the start, hold, and maximum interval values for the timers throttle spf command set at 5, 1,000, and 90,000 milliseconds:
|
Command
|
Description
|
|---|---|
|
copy running-config startup-config
|
Saves the configuration changes to the startup configuration file.
|
|
show ip ospf
|
Displays information about OSPF routing processes.
|
|
timers lsa arrival
|
Sets the minimum interval at which the software accepts the same LSA from OSPF neighbors.
|
|
timers throttle lsa
|
Sets the rate limit for generating LSAs.
|