mpls te tie-breaking (MPLS view)

Function

The mpls te tie-breaking command configures a rule for selecting a route from multiple equal-cost routes to the destination.

The undo mpls te tie-breaking command restores the default tie-breaker.

By default, the random routing principle is used.

Format

mpls te tie-breaking least-fill

mpls te tie-breaking most-fill

mpls te tie-breaking random

undo mpls te tie-breaking

Parameters

Parameter Description Value
most-fill

The path with minimum available bandwidth ratio is preferred.

-

random

Path selection is random.

-

least-fill

The path with maximum available bandwidth ratio is preferred.

-

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

A rule for selecting a route configured in the local tunnel interface view is preferred for a tunnel. If no rule is configured in the tunnel interface view, a rule configured in the MPLS view is used.

A route is selected based on the ratio of the used available bandwidth to the maximum reservable bandwidth. If least-fill is configured, the route with the lowest ratio is selected; if most-fill is configured, the route with the highest ratio is selected.

The Most-fill and Least-fill modes are only effective when the difference in bandwidth usage between the two links exceeds 10%, such as 50% of link A bandwidth utilization and 45% of link B bandwidth utilization. The value is 5%. At this time, the Most-fill and Least-fill modes do not take effect, and the Random mode is still used.

Example

# Select a path with the lowest ratio of the used bandwidth to the maximum reservable bandwidth on a device.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te tie-breaking least-fill
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >