< Home

mpls te ordinary-lsp-constraint

Function

The mpls te ordinary-lsp-constraint command allows you to use a CR-LSP attribute template to set up an ordinary backup CR-LSP.

The undo mpls te ordinary-lsp-constraint command deletes a used CR-LSP attribute template.

No CR-LSP attribute template is used to set up an ordinary backup CR-LSP by default.

Format

mpls te ordinary-lsp-constraint number { dynamic | lsp-attribute lsp-attribute-name }

undo mpls te ordinary-lsp-constraint number

Parameters

Parameter Description Value
number Specifies the number of a CR-LSP attribute template. The CR-LSP attribute templates are used to set up ordinary backup CR-LSPs in sequence of ascending number. An integer ranging from 1 to 3.
dynamic Indicates that when an ordinary backup CR-LSP is being set up, it is assigned the same bandwidth and priority as the primary CR-LSP. -
lsp-attribute lsp-attribute-name Specifies the name of a CR-LSP attribute template. It is a string of 1 to 31 characters.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

A maximum number of three CR-LSP attribute templates can be configured to set up an ordinary backup CR-LSP. The ordinary backup CR-LSPs must be consistent with the primary CR-LSP in the following attributes:
  • Setup priority
  • Holding priority
  • Bandwidth type

Among the three CR-LSP attribute templates corresponding to a primary CR-LSP and ordinary backup CR-LSP, only one CR-LSP attribute template can be specified with the dynamic parameter.

The parameter number is used to number each CR-LSP attribute template. The CR-LSP attribute templates are each applied by the system in sequence of ascending number until an ordinary backup CR-LSP is set up.

  • Before running the mpls te ordinary-lsp-constraint command, you must run the mpls te primary-lsp-constraint command to use a CR-LSP attribute template to set up a primary CR-LSP.

  • When the mpls te ordinary-lsp-constraint command is run to help set up an ordinary backup CR-LSP, the record route function is automatically enabled.

Example

# Use the attribute template named t3 to set up an ordinary backup CR-LSP.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] mpls te primary-lsp-constraint lsp-attribute t1
[HUAWEI-Tunnel1] mpls te ordinary-lsp-constraint 1 lsp-attribute t3
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >