The spf-holdtime parameter indicates the minimum interval between two SPF calculations. Then, the
interval of the consecutive SPF calculations is at least twice as the last interval until it reaches to
spf-max-waittime. If the interval between two SPF calculations has exceeded the required value, the
SPF calculation will restart from spf-holdtime.
Smaller spf-delay and spf-holdtime values can make the topology converge faster. A greater
spf-max-waittime value can reduce the system resource consumption of SPF calculation. Those
configurations can be flexibly adjusted according to the actual stability of the network topology.
Compared with the timers spf command, this command is more flexible. It speeds up the SPF
calculation convergence, and reduces the system resource consumption of SPF calculation due to
the topology change. To this end, the timers throttle spf command is recommended.
The value of spf-holdtime cannot be smaller than the value of spf-delay, or the value
ofspf-holdtime will be set to be equal to the value of spf-delay;
The value of spf-max-waitime cannot be smaller than the value of spf-holdtime, or the value of
spf-max-waittime will be set to be equal to the value of spf-holdtime automatically;
The configurations of the timers spf command and the timers throttle spf command may
overwrite each other.
If both the timers spf command and the timers throttle spf command are not configured, the
default value of the timers throttle spf command is used.
The following example configures the delay and holdtime and the maximum time interval of the OSPF
as 5ms, 1000ms and 90000ms respectively. If the topology changes consecutively, the SPF
calculation intervals are: 5ms, 1second, 3 seconds, 7 seconds, 15 seconds, 31 seconds, 63 seconds,
89 seconds, 179 seconds, 179+90seconds…
Ruijie(config)# routerospf20
Ruijie(config-router)# timersspf 5 1000 90000
Configures the SPF calculation delay. This
command is supported in versions earlier than
RGOS 10.4. It is recommended to replace the
timers spf command with the timers throttle spf
command.