metric-type (flexible algorithm view)

Function

The metric-type command sets a metric type for a Flex-Algo.

The undo metric-type command restores the default setting.

By default, the metric type of a Flex-Algo is IGP.

Format

metric-type { igp | delay | te }

undo metric-type

undo metric-type { igp | delay | te }

Parameters

Parameter Description Value
igp

Sets the metric type to IGP.

-

delay

Sets the metric type to Delay.

-

te

Sets the metric type to TE.

-

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.

To configure a metric type for a Flex-Algo, run the metric-type command. A metric type is a FAD attribute used in path calculation.

Example

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