< Home

spf-slice-size

Function

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.

Format

spf-slice-size duration-time

undo spf-slice-size

Parameters

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.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the maximum duration for each IS-IS route calculation to 50 milliseconds.

<sysname> system-view
[sysname] isis
[sysname-isis-1] spf-slice-size 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >