priority (MPLS TE P2MP template view)

Function

The priority command sets the setup and holding priority values for automatic P2MP TE tunnels.

The undo priority command restores the default priority values.

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

Format

priority setup-priority [ hold-priority ]

undo priority

Parameters

Parameter Description Value
setup-priority

Specifies the setup priority of a tunnel.

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

hold-priority

Specifies the holding priority of a tunnel.

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

Views

MPLS TE P2MP template 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 holding priority. A setup priority value must be greater than or equal to a holding priority value.

If resources are insufficient, setting the setup and holding priority values allows LSPs with lower priorities to release resources for establishing LSPs with higher priorities.

Prerequisites

A P2MP tunnel template has been configured using the mpls te p2mp-template command.

Example

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