flex-algo (LSP Trace test instance)

Function

The flex-algo command configures a Flex-Algo ID for an SR-MPLS BE tunnel in an NQA test instance.

The undo flex-algo command deletes the Flex-Algo ID of an SR-MPLS BE tunnel in an NQA test instance.

By default, no Flex-Algo ID is configured.

Format

flex-algo flex-algo-id

undo flex-algo

undo flex-algo flex-algo-id

Parameters

Parameter Description Value
flex-algo flex-algo-id

Specifies a Flex-Algo ID.

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

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

When an NQA LSP trace test is performed for an SR-MPLS BE tunnel that supports Flex-Algo, you need to specify a Flex-Algo ID for the SR-MPLS BE tunnel.

Example

# Set the Flex-Algo ID to 129 for SR-MPLS BE tunnel in the NQA view.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance admin lsptrace
[*HUAWEI-nqa-admin-lsptrace] test-type lsptrace
[*HUAWEI-nqa-admin-lsptrace] lsp-type srbe
[*HUAWEI-nqa-admin-lsptrace] flex-algo 129
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >