The static-cr-lsp egress command configures a static CR-LSP on the egress LSR.
The undo static-cr-lsp egress command deletes a static CR-LSP from the egress LSR.
By default, no static CR-LSP on the egress LSR is configured.
static-cr-lsp egress lsp-name [ incoming-interface interface-type interface-number ] in-label in-label
undo static-cr-lsp egress lsp-name
Parameter | Description | Value |
---|---|---|
lsp-name | Specifies the name of a CR-LSP. | The value is a string of 1 to 19 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
incoming-interface interface-type interface-number | Specifies the type and number of an inbound interface. | - |
in-label in-label | Specifies the value of an incoming label. | The value is an integer ranges from 16 to 1023. |
When configuring the egress of the CR-LSP, you can run the command static-cr-lsp egress. Before setting up an MPLS TE tunnel through a static CR-LSP, configure a static route or an IGP to ensure connectivity between LSRs, and enable basic MPLS and MPLS TE functions. After setting up a static CR-LSP, you can run the display mpls static-cr-lsp command to ensure that the static CR-LSP is established successfully.
To modify the value of incoming-interface interface-type interface-number and in-label in-label, run the static-cr-lsp egress command to set a new value. There is no need to run the undo static-cr-lsp egress command before changing a configured value.