The mpls te backup ordinary-lsp-constraint command globally locks an attribute template for ordinary backup CR-LSPs.
The undo mpls te backup ordinary-lsp-constraint command restores the default setting.
The attribute template for ordinary backup CR-LSPs is unlocked by default.
Parameter | Description | Value |
---|---|---|
lock | Locks an attribute template for ordinary backup CR-LSPs. | - |
Usage Scenario
Assume that an existing ordinary backup CR-LSP has been set up using a lower-priority attribute template. When the lower-priority attribute template is locked, the system does not attempt to use a higher-priority attribute template to set up a new ordinary backup CR-LSP, avoiding unnecessary traffic switchover.
Prerequisites
An ordinary backup CR-LSP has been set up using a CR-LSP attribute template by running the mpls te ordinary-lsp-constraint command.
Precautions
This command is valid only for an ordinary backup CR-LSP that is set up using a CR-LSP attribute template.
# Lock an attribute template for ordinary backup CR-LSPs.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] mpls te primary-lsp-constraint lsp-attribute t1 [HUAWEI-Tunnel1] mpls te ordinary-lsp-constraint 2 lsp-attribute t2 [HUAWEI-Tunnel1] mpls te ordinary-lsp-constraint 3 lsp-attribute t3 [HUAWEI-Tunnel1] mpls te backup ordinary-lsp-constraint lock [HUAWEI-Tunnel1] mpls te commit