< Home

spf-slice-size

Function

The spf-slice-size command sets the maximum duration for IS-IS route calculation.

The undo spf-slice-size command restores the default setting.

By default, IS-IS route calculation lasts for a maximum of 2 ms at a time.

Format

spf-slice-size duration-time

undo spf-slice-size

Parameters

Parameter Description Value
duration-time Specifies the maximum duration for IS-IS 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

When a routing table contains a large number of routes, run the spf-slice-size command to specify the maximum duration of SPF calculation to prevent route calculation from using system resources for a long period.

Example

# Set the maximum duration of IS-IS route calculation to 50 ms.

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