Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Run the command set protocols ospf6 timers throttle spf to set the initial delay, the initial hold-time and the maximum hold-time between when the SPF is calculated and the event which triggered the calculation. These timers prevents the system from overburdening the CPU with frequent SPF calculations.

Run the command delete protocols ospf timers throttle spf to delete this configuration.


Command Syntax

set protocols ospf6 timers throttle spf {delay<delay> | initial-holdtime<nitial-hold-time> | maximum-holdtime<max-hold-time>}

delete protocols ospf6 timers throttle spf {delay<delay> | initial-holdtime<delay> | maximum-holdtime<max-hold-time>}


Parameter

Parameter

Description

delay<delay>Specifies the initial delay, the value ranges from 0 to 600000 milliseconds.
initial-holdtime<nitial-hold-time> Specifies the initial hold time, the value ranges from 0 to 600000 milliseconds.
maximum-holdtime<max-hold-time>Specifies the maximum hold time, the value ranges from 0 to 600000 milliseconds.

Usage Guidelines

These three parameters are important fine tuning tools for OSPFv3. These timers are introduced to delay starting SFP calculations when a SPF-triggering event occurs. Frequent SPF calculations may incur heavy burden on the device resources such as CPU especially in large OSPFv3 networks. The delay parameter specifies the delay in SPF calculation. This delay also applies to events occurring outside the hold-time of the previous SPF calculation. Two consecutive SPF calculations are always delayed by at least hold-timdelay in milliseconds. The hold-time is initially set to the initial hold-time but its value is flexible and may be changed. If an event occurs within the hold-time of the previous SPF calculation, it results in increasing the hold-time by initial hold-time. If the flexible hold-time expires and no SPF triggering event occurs, the hold-time is reset to initial hold-time. 

The example below sets the initial delay to 20ms, initial hold-time to 50ms and maximum hold-time to 5 seconds. This means that there will be a delay of 20ms between an SPF-triggering event and the commencement of the actual SPF calculation. The delay between two consecutive SPF calculations will be between 50ms and 5 seconds. If an SPF-triggering event occurs between the hold-time of the previous SPF calculation, the hold-time is increased by 50ms.

Example

  •  Configure OSPFv3 SPF times of initial delay, initial hold-time and maximum hold-time to 20ms, 50ms and 5000ms respectively.
admin@XorPlus# set protocols ospf6 timers throttle spf delay 20 
admin@XorPlus# set protocols ospf6 timers throttle spf initial-holdtime 50
admin@XorPlus# set protocols ospf6 timers throttle spf maximum-holdtime 5000
admin@Xorplus# commit



  • No labels