The spf timers command uses a common Shortest Path First (SPT) timer to calculate the interval at which OSPFv3 routes are calculated.
The undo spf timers command restores the default setting.
By default, delay-interval is 5 seconds, hold-interval is 10 seconds.
Parameter | Description | Value |
---|---|---|
delay-interval |
Specifies the interval between the network change detection and the SPF calculation. |
The value is an integer ranging from 0 to 65535 seconds. The default value is 5 seconds. |
hold-interval |
Specifies the holding interval between two consecutive SPF calculations. |
The value is an integer ranging from 0 to 65535 seconds. The default value is 10 seconds. |
Usage Scenario
According to the local LSDB, the Router that runs OSPFv3 can calculate an SPT with itself as the root and determines the next hop to the destination network according to the SPT. To use a common Shortest Path First (SPT) timer to calculate the interval at which OSPFv3 routes are calculated, run the spf timers command. Adjusting the SPF calculation interval can avoid the exhaustion of bandwidth and router sources caused by frequent change of the network.
NOTE: A common SPF timer and an intelligent SPF timer are mutually exclusive.