The spf-slice-size command sets the maximum duration for each IS-IS route calculation.
The undo spf-slice-size command restores the default setting.
By default, the maximum duration for each IS-IS route calculation is 2 milliseconds.
| Parameter | Description | Value |
|---|---|---|
| duration-time | Specifies the maximum duration for each route calculation. | The value is an integer that ranges from 1 to 5000, in milliseconds. The default value is 2. |
This command is valid for all topologies in an IS-IS process.
When too many routes exist in the routing table, you can run the spf-slice-size command to shorten the maximum duration for route calculation. This prevents route calculation from occupying system resources for a long time.