< Home

priority

Function

The priority command sets the setup priority and holding priority in a CR-LSP attribute template.

The undo priority command restores the default setup priority and holding priority in a CR-LSP attribute template.

The default setup and holding priority for a CR-LSP attribute template are both 7.

Format

priority setup_priority_value [ hold_priority_value ]

undo priority

Parameters

Parameter Description Value
setup_priority_value Specifies the setup priority value in a CR-LSP attribute template. An integer ranging from 0 to 7. The smaller the value, the higher the priority. The default setup priority is 7.
hold_priority_value Specifies the holding priority value in a CR-LSP attribute template. An integer ranging from 0 to 7. The smaller the value, the higher the priority. The default holding priority is 7.

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

When configuring the priority command in the LSP attribute view, ensure that the setup priority is greater than or equal to the holding priority.

Example

# Set both the setup priority and holding priority to 4 in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] priority 4 4 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >