flex-algo color-mapping

Function

The flex-algo color-mapping command creates or displays the Flex-Algo and color mapping view.

The undo flex-algo color-mapping command deletes the Flex-Algo and color mapping view.

By default, the Flex-Algo and color mapping view is not created.

Format

flex-algo color-mapping

undo flex-algo color-mapping

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flexalgo write

Usage Guidelines

Usage Scenario

When a BGP route with a specific color value is specified for a VPN, the VPN uses the color value to find the mapped SR-MPLS Flex-Algo LSP. The BGP route is then recursed to this LSP for data packet forwarding on the backbone network. To configure a mapping between a color value and a Flex-Algo, you need to first run the flex-algo color-mapping command to create and enter the Flex-Algo and color mapping view, and then run the color flex-algo command in this view.

Example

# Create the Flex-Algo and color mapping view.
<HUAWEI> system-view
[~HUAWEI] flex-algo color-mapping
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >