The spf timers command sets the interval for calculating OSPFv3 routes by a common SPF timer.
The undo spf timers command restores the default setting.
By default, the interval for calculating OSPFv3 routes by a common SPF timer is not set.
Parameter | Description | Value |
---|---|---|
delay-interval | Specifies the delay for OSPFv3 from receiving network changes to performing SPF calculation. | The value is an integer ranging from 0 to 65535 seconds. |
hold-interval | Specifies the holding interval between two consecutive SPF calculations. | The value is an integer ranging from 0 to 65535 seconds. |
Usage Scenario
According to the local LSDB, the switch that runs OSPFv3 can calculate a SPT with itself as the root and determines the next hop to the destination network according to the SPT. Adjusting SPF calculation interval can avoid the exhaustion of bandwidth and switch sources caused by frequent change of the network.
Precautions
By default, the intelligent SPF timer takes effect.
The spf timers delay-interval hold-interval and spf-schedule-interval delay-interval hold-interval commands have the same functions.
The configurations of the spf timers delay-interval hold-interval, spf-schedule-interval delay-interval hold-interval, and spf-schedule-interval intelligent-timer max-interval start-interval hold-interval-1 commands will override each other, and only the configuration of the last executed command takes effect.