The static-lsp egress command configures the egress node for a static LSP.
The undo static-lsp egress command deletes the configuration.
By default, no static LSP is configured for the egress node.
static-lsp egress lsp-name [ incoming-interface interface-type interface-number ] in-label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ]
undo static-lsp egress lsp-name
Parameter | Description | Value |
---|---|---|
lsp-name | Specifies the name of an 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 inbound interface of an LSP.
|
- |
in-label | Specifies the value of an incoming label. | The value is an integer ranging from 16 to 1023. |
lsrid ingress-lsr-id | Specifies the ingress LSR ID. | The value is in dotted decimal notation. |
tunnel-id tunnel-id | Specifies the ID of a tunnel. | The value is an integer ranging from 1 to 65535. |
Usage Scenario
Run the static-lsp egress command on the egress node to configure a static LSP.
After configuring a static LSP, run the display mpls static-lsp command to verify that the static LSP is established successfully.
Precautions
To modify incoming-interface interface-type interface-number or in-label in-label, run the static-lsp egress command to set a new value. You do not need to run the undo static-lsp egress command before changing a configured value.