< Home

lsp-attribute

Function

The lsp-attribute command creates a CR-LSP attribute template and displays the LSP attribute view.

The undo lsp-attribute command deletes a specified CR-LSP attribute template.

By default, no CR-LSP attribute template is created.

Format

lsp-attribute lsp-attribute-name

undo lsp-attribute lsp-attribute-name

Parameters

Parameter Description Value
lsp-attribute-name Specifies the name of the CR-LSP attribute template. The value is a string of 1 to 31 case-insensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To simplify configurations of TE tunnel interfaces and enhance their flexibility, you can reference CR-LSP attribute templates to set up TE tunnels. The CR-LSP attribute template contains the attributes relevant to a TE tunnel, including the bandwidth, affinity property, explicit path, hop limit, route storing, setup priority, holding priority, FRR, and bypass tunnel attribute.

Prerequisites

Before configuring a CR-LSP attribute template, you must enable the MPLS TE function in the system view.

Precautions

When deleting a CR-LSP attribute template, ensure that the CR-LSP attribute template is not referenced by any tunnel interface.

Example

# Create the CR-LSP attribute template named lsp-attribute-name.

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