< Home

spf-priority

Function

The spf-priority commands sets the priority of SPF calculation.

The undo spf-priority command restores the default priority of SPF calculation.

By default, the priority of SPF calculation in a base topology is 64.

Format

spf-priority priority-value

undo spf-priority

Parameters

Parameter Description Value
priority-value Specifies the priority of SPF calculation. A larger value indicates a higher priority. The value is an integer that ranges from 1 to 127.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

When multiple IS-IS topology instances are deployed on a network, the spf-priority command can be used to set a priority for the SPF calculation in each IS-IS topology instance.

If a higher priority is set for a topology, routes of the topology instance are converged first, ensuring that important services are running properly.

Example

# Set the priority of SPF calculation in an IPv4 base topology to 30.

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