timer spf

Use timer spf to set the SPF calculation interval.

Use undo timer spf to restore the default.

Syntax

timer spf maximum-interval [ minimum-interval [ incremental-interval ] ]

undo timer spf

Default

The maximum interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

maximum-interval: Specifies the maximum SPF calculation interval in the range of 1 to 120 seconds.

minimum-interval: Specifies the minimum SPF calculation interval in the range of 10 to 60000 milliseconds.

incremental-interval: Specifies the incremental SPF calculation interval in the range of 10 to 60000 milliseconds.

Usage guidelines

Based on the LSDB, an IS-IS router uses the SPF algorithm to calculate an SPT with itself being the root. The router uses the SPT to determine the next hop to a destination network. By adjusting the SPF calculation interval, you can prevent bandwidth and router resources from being overused due to frequent topology changes.

For a stable network, the minimum interval is used. If network changes become frequent, the SPF calculation interval increases by the incremental interval for each calculation until the maximum interval is reached.

The minimum interval and the incremental interval cannot be greater than the maximum interval.

Examples

# Set the maximum, minimum, and incremental SPF calculation interval to 10 seconds, 100 milliseconds, and 300 milliseconds, respectively.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv6
[Sysname-isis-1-ipv6] timer spf 10 100 300