< Home

spf-priority

Function

The spf-priority command configures a priority for the SPF calculation in a base topology or all IPv4 and IPv6 topology instances.

The undo spf-priority command restores the default priority of the SPF calculation in a base topology or all IPv4 and IPv6 topology instances.

By default, the priority of the SPF calculation in base topology and all topology instances is 64.

Format

spf-priority priority-value

undo spf-priority

Parameters

Parameter Description Value
priority-value Specifies the priority of the SPF calculation in a base topology or all topology instances. The greater the priority value, the higher the priority. The value is an integer ranging from 1 to 127.

Views

IS-IS view, IS-IS topology view, or IS-IS IPv6 topology 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.

A higher priority of the SPF calculation in a topology instance means that the routes in the topology instance are converged preferentially, which ensures the proper operation of important services.

Example

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

<sysname> system-view
[sysname] isis 1
[sysname-isis-1] spf-priority 30
# Set the priority of the SPF calculation in a topology instance named red to 30.
<sysname> system-view
[sysname] isis 1
[sysname-isis-1] topology red topology-id 10
[sysname-isis-1-topology-red] spf-priority 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >