priority (flexible algorithm view)

Function

The priority command sets a priority for a Flex-Algo.

The undo priority command restores the default priority of a Flex-Algo.

By default, the priority of a Flex-Algo is 128.

Format

priority priority-value

undo priority

undo priority priority-value

Parameters

Parameter Description Value
priority-value

Specifies the priority of a flexible algorithm.

The value is an integer that ranges from 0 to 255.

Views

Flexible algorithm view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flexalgo write

Usage Guidelines

Usage Scenario

With Flex-Algo, an IGP can automatically calculate eligible paths based on the link cost, delay, or TE constraint to flexibly meet TE requirements.

Each user can individually defines their Flex-Algos, and therefore the same Flex-Algo running on devices in the same IGP domain may have different FADs. To ensure that the path calculated using a specific Flex-Algo is loop-free, one FAD must be preferentially selected and advertised in the domain.

The detailed selection rules are as follows:

  1. In the advertisement domain of FADs, the FAD of the Flex-Algo with the highest priority is preferred.
  2. If the FADs to be advertised in a domain have the same priority: For IS-IS, the FAD generated by the device with the largest system ID is preferred.

    To configure a priority for a Flex-Algo, run the priority command. The priority is used for FAD selection.

Example

# Set the priority of Flex-Algo 128 to 200.
<HUAWEI> system-view
[~HUAWEI] flex-algo identifier 128
[*HUAWEI-flex-algo-128] priority 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >