flex-algo identifier

Function

The flex-algo identifier command configures a Flex-Algo with a specified ID and displays the Flex-Algo view.

The undo flex-algo identifier command deletes a Flex-Algo.

By default, no Flex-Algo is created.

Format

flex-algo identifier flexAlgoId

undo flex-algo identifier flexAlgoId

Parameters

Parameter Description Value
flexAlgoId

Specifies the flexible algorithm identifier.

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

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flexalgo write

Usage Guidelines

Usage Scenario

Originally, IGPs can use only the SPF algorithm to calculate the shortest paths to destination addresses based on link costs. As the SPF algorithm is fixed and cannot be adjusted by users, it cannot calculate the optimal paths based on diverse user requirements. For example, it cannot support traffic forwarding along the lowest-delay path or without passing through certain links.

On a network, constraints used for path calculation may be different. For example, an IGP needs to use delay as the constraint to calculate paths for autonomous driving, which requires an ultra-low delay network, or needs to exclude some links that have high costs. These constraints may also be combined.

To make path calculation more flexible, users may want to customize IGP algorithms for different requirements. They can define an algorithm value to identify a fixed algorithm. When all devices on a network use the same algorithm, their calculation results are also the same, preventing loops. Since users, not standards organizations, are the ones to define these algorithms, they are called Flex-Algos.

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

To configure a Flex-Algo with a specified ID, run the flex-algo identifier command.

Example

# Configure a Flex-Algo with ID 128.
<HUAWEI> system-view
[~HUAWEI] flex-algo identifier 128
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >