mpls te priority (Tunnel interface view)

Function

The mpls te priority command configures the setup and holding priority values for an MPLS TE tunnel.

The undo mpls te priority command restores default priority values.

By default, both the setup and the holding priority values are 7.

Format

mpls te priority setup-priority [ hold-priority ]

undo mpls te priority

Parameters

Parameter Description Value
setup-priority

Specifies the setup priority value.

The value is an integer ranging from 0 to 7. The smaller the value, the higher the priority.

hold-priority

Specifies the holding priority value.

The value is an integer ranging from 0 to 7. A holding priority value must be less than or equal to a setup priority value. The smaller the value, the higher the priority. The default value is the same as the configured setup priority value.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

The setup priority of a tunnel must be no higher than its hold priority. This means a setup priority value must be greater than or equal to a hold priority value.

You can specify the priority of a tunnel to release resources of low-priority LSPs when network resources are insufficient so that high-priority LSPs can be established.

Bandwidth cannot be shared by tunnels with different priorities. If make-before-break (MBB) is used to change tunnel priorities, tunnels may fail to be established or preempt bandwidth of other tunnels. Therefore, break-before-make (BBM) is used for tunnel processing.

Example

# Set both the setup and holding priority values to 1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te priority 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >