< Home

mpls te tie-breaking

Function

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

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

By default, tie-breaking policy is random.

Format

mpls te tie-breaking { least-fill | most-fill | random }

undo mpls te tie-breaking

Parameters

Parameter Description Value
least-fill Selects the route with the smallest ratio of the occupied bandwidth to the maximum reservable bandwidth. -
most-fill Selects the route with the largest ratio of the occupied bandwidth to the maximum reservable bandwidth. -
random Selects a route randomly. -

Views

MPLS view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The route is selected based on the ratio of the occupied available bandwidth to the maximum reservable bandwidth. If least-fill is configured, the route with the smallest ratio is selected; if most-fill is configured, the route with the largest ratio is selected.

Prerequisites

MPLS TE has been enabled by running the mpls te command.

Precautions

Note that the link is selected according to a ratio through the tie-breaking mechanism. In the case that the ratios are the same when the reservable bandwidth is not used or the same reservable bandwidth is used on the links, the first found link is used regardless of whether least-fill or most-fill is configured.

A tunnel prefers the route-selecting rule configured in the local tunnel interface view. If no rule is configured in the tunnel interface view, the rule configured in the MPLS view is used.

Example

# Select the path with the smallest ratio of the occupied bandwidth to the maximum reservable bandwidth.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] mpls te tie-breaking least-fill
[HUAWEI-Tunnel1] mpls te commit

# Select the path with the smallest ratio of the occupied bandwidth to the maximum reservable bandwidth.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te tie-breaking least-fill
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >