The static-lsp ingress command configures the ingress of a static LSP.
The undo static-lsp ingress command deletes the configuration.
By default, no ingress of a static CR-LSP is configured.
static-lsp ingress lsp-name destination ip-address { mask | mask-length } { { outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } } { nexthop next-hop-address } } out-label out-label
static-lsp ingress lsp-name destination ip-address { mask | mask-length } { { nexthop next-hop-address } { outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } } } out-label out-label
static-lsp ingress lsp-name destination ip-address { mask | mask-length } { outgoing-interface { out-interface-name | { out-interface-type out-interface-number } } } out-label out-label
static-lsp ingress lsp-name destination ip-address { mask | mask-length } nexthop next-hop-address out-label out-label
undo static-lsp ingress 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 ("). |
destination ip-address |
Specifies the destination address of a static LSP. |
The value is in dotted decimal notation. |
mask |
Specifies the mask of IP addresses. |
The value is in dotted decimal notation. |
mask-length |
Specifies the mask length of a specified IP address. |
The value is an integer ranging from 0 to 32. |
outgoing-interface |
Indicates an inbound interface. |
- |
out-interface-name |
Specifies the name of an outbound interface. |
- |
out-interface-type |
Specifies the type of an outbound interface. |
- |
out-interface-number |
Specifies the number of an outbound interface. |
- |
nexthop next-hop-address |
Specifies a next-hop IP address. |
The value is in dotted decimal notation. No local IP address can be configured as a next-hop IP address. |
out-label out-label |
Specifies the value of an outgoing label. |
The value is an integer ranging from 16 to 1048575. |
Usage Scenario
The establishment of static LSPs does not require a label distribution protocol or any control packets. The static LSPs consume a few resources and are applicable to small-scale networks with simple and stable topology. To configure the ingress of a static LSP, run the static-lsp ingress command.
To modify the destination address, next-hop IP address, outbound interface name, or outgoing label value, run the static-lsp ingress command to set a new value, but there is no need to run the undo static-lsp ingress 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.
Note the following conditions when you configure a static LSP: