tie-breaking (MPLS TE P2P template view)

Function

The tie-breaking command configures a rule for selecting a route among multiple routes to the same destination.

The undo tie-breaking command restores the default tie-breaking rule.

By default, the random tie-breaking rule is used.

Format

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

undo tie-breaking

Parameters

Parameter Description Value
least-fill

Selects a route with the lowest ratio of the used bandwidth to the maximum reservable bandwidth.

-

most-fill

Selects a route with the highest ratio of the used bandwidth to the maximum reservable bandwidth.

-

random

Selects a route randomly.

-

Views

MPLS TE P2P template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

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.

Prerequisites

A P2P TE tunnel template has been configured using the mpls te p2p-template command.

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] quit
[*HUAWEI] mpls te p2p-template Template1
[*HUAWEI-te-p2p-template-Template1] tie-breaking least-fill
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >