The mpls te primary-lsp-constraint command allows you to use a CR-LSP attribute template to set up a primary CR-LSP.
The undo mpls te primary-lsp-constraint command restores the default configuration.
No CR-LSP attribute template is used to set up a primary CR-LSP by default.
mpls te primary-lsp-constraint { dynamic | lsp-attribute lsp-attribute-name }
undo mpls te primary-lsp-constraint
Parameter | Description | Value |
---|---|---|
dynamic | Indicates that when a CR-LSP attribute template is used to set up a primary CR-LSP, all attributes in the attribute template use the default values. | - |
lsp-attribute lsp-attribute-name | Specifies the name of a CR-LSP attribute template. | The value is an existing CR-LSP attribute template name. |
A CR-LSP attribute template already configured with the bandwidth and priority can be referenced to set up CR-LSPs in batches, greatly simplifying configurations of CR-LSPs.
If the TE attribute configured in the tunnel interface view and that configured through a CR-LSP attribute template coexist, the former takes precedence over the latter.