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.
mpls te ordinary-lsp-constraint number { dynamic | lsp-attribute lsp-attribute-name }
undo mpls te ordinary-lsp-constraint number
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. |
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.