The static-lsp transit command configures a transit node of a static LSP.
The undo static-lsp transit command deletes the configuration.
By default, no transit node of a static CR-LSP is configured.
static-lsp transit lsp-name [ incoming-interface { in-interface-name | { in-interface-type in-interface-number } } ] in-label in-label { outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } nexthop next-hop-address } out-label out-label
static-lsp transit lsp-name [ incoming-interface { in-interface-name | { in-interface-type in-interface-number } } ] in-label in-label { nexthop next-hop-address outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } } out-label out-label
static-lsp transit lsp-name [ incoming-interface { in-interface-name | { in-interface-type in-interface-number } } ] in-label in-label outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } out-label out-label
static-lsp transit lsp-name [ incoming-interface { in-interface-name | { in-interface-type in-interface-number } } ] in-label in-label nexthop next-hop-address out-label out-label
undo static-lsp transit lsp-name
Parameter | Description | Value |
---|---|---|
lsp-name |
Specifies the name of a static LSP. |
The value is a string of 1 to 19 case-sensitive characters. It cannot contain spaces. The string can contain spaces if it is enclosed with double quotation marks ("). |
incoming-interface |
Indicates an inbound interface. |
- |
in-interface-name |
Specifies the name of an inbound interface. |
- |
in-interface-type in-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 ranging from 16 to 1048575. |
outgoing-interface |
Indicates an outbound interface. |
- |
out-interface-name |
Specifies the name of an outbound interface. |
- |
out-interface-type out-interface-number |
Specifies the type and number of an outbound interface. |
- |
nexthop next-hop-address |
Specifies a next-hop IP address. |
The value is in dotted decimal notation. |
out-label out-label |
Specifies the value of an outgoing label. |
The value is an integer ranging from 16 to 1048575. |
Usage Scenario
To modify the inbound interface name, incoming label value, next-hop address, outbound interface name, or outgoing label value, run the static-lsp transit command to set a new value, but there is no need to run the undo static-lsp transit command before changing a setting.
Precautions
If an outbound interface name is configured but no next-hop IP address is specified, a forwarding failure occurs on an Ethernet network.