![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg619.png)
1561
■ If you specify the outgoing interface when configuring a static LSP, you must
also specify the outgoing interface when configuring the static IP route.
■ The address of the next hop cannot be any local public network IP address.
Related command: static-lsp egress, static-lsp transit, display mpls static-lsp.
Example # Configure a static LSP to destination address 202.25.38.1, taking the current LSR
as the ingress.
<Sysname> system-view
[Sysname] static-lsp ingress bj-sh destination 202.25.38.1 24 nextho
p 202.55.25.33 out-label 237
static-lsp transit
Syntax static-lsp transit lsp-name incoming-interface interface-type interface-number
in-label in-label { nexthop next-hop-addr | outgoing-interface interface-type
interface-number } out-label out-label
undo static-lsp transit lsp-name
View System view
Parameter lsp-name: Name for the LSP, a string of 1 to 15 characters.
incoming-interface interface-type interface-number: Specifies an incoming
interface by its type and number.
in-label: Incoming label value, in the range 16 to 1023.
next-hop-addr: Address of the next hop.
outgoing-interface interface-type interface-number: Specifies an outgoing
interface by its type and number.
out-label: Outgoing label value, in the range 16 to 1023.
Description Use the
static-lsp transit command to configure a static LSP taking the current
LSR as a transit LSR.
Use the
undo static-lsp transit command to remove a static LSP taking the
current LSR as a transit LSR.
Note that:
■ If you specify the next hop when configuring a static LSP, and the address of
the next hop is present in the routing table, you must also specify the next hop
when configuring the static IP route.
■ If you specify the outgoing interface when configuring a static LSP, you must
also specify the outgoing interface when configuring the static IP route.
■ The address of the next hop cannot be any local public network IP address.