The mpls te hotstandby-lsp-constraint command allows you to use a CR-LSP attribute template to set up a hot-standby CR-LSP.
The undo mpls te hotstandby-lsp-constraint command deletes the used CR-LSP attribute template.
No CR-LSP attribute template is used to set up a hot-standby CR-LSP by default.
mpls te hotstandby-lsp-constraint number { dynamic | lsp-attribute lsp-attribute-name }
undo mpls te hotstandby-lsp-constraint number
Parameter | Description | Value |
---|---|---|
number | Specifies the number of a CR-LSP attribute template. It indicates the sequence of using each CR-LSP attribute template to set up a hot-standby CR-LSPs The CR-LSP attribute templates are used in ascending order. | An integer ranging from 1 to 3. |
dynamic | Indicates that when a hot-standby CR-LSP is being set up, it is assigned the same bandwidth and priority as the primary CR-LSP, but specified with a different path from the primary LSP. | - |
lsp-attribute lsp-attribute-name | Specifies the name of a CR-LSP attribute template. | The value is an existing CR-LSP attribute template name. |
In each of the three CR-LSP attribute template types corresponding to the primary CR-LSP, the hot-standby CR-LSP, and the ordinary backup CR-LSP respectively, only one attribute template can be specified with the dynamic parameter.
The parameter number is used to number each CR-LSP attribute template, which indicates the sequence of using each CR-LSP attribute template to set up a hot-standby CR-LSP. To set up a hot-standby CR-LSP, the system attempts to apply each CR-LSP attribute template by the template number in ascending order until a hot-standby CR-LSP is successfully up.
Before configuring the mpls te hotstandby-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 hotstandby-lsp-constraint command is configured to help set up a hot-standby CR-LSP, the record-route function is automatically enabled.