R3303-HP HSR6800 Routers MPLS Command Reference
70
Parameters
lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
incoming-interface interface-type interface-number: Specifies an incoming interface by its type and
number.
in-label in-label: Specifies an incoming label, which can be 0, 3, or a value in the range of 16 to 1023.
Examples
# Configure a static LSP taking the current LSR as the egress, and specify the LSP's name as bj-sh,
incoming interface as Serial 2/1/0, and incoming label as 233.
<Sysname> system-view
[Sysname] static-lsp egress bj-sh incoming-interface serial 2/1/0 in-label 233
Related commands
• display mpls static-lsp
• static-lsp ingress
• static-lsp transit
static-lsp ingress
Use static-lsp ingress to configure a static LSP taking the current LSR as the ingress.
Use undo static-lsp ingress to remove a static LSP taking the current LSR as the ingress.
Syntax
static-lsp ingress lsp-name destination dest-addr { mask | mask-length } { nexthop next-hop-addr |
outgoing-interface interface-type interface-number } out-label out-label
undo static-lsp ingress lsp-name
Views
System view
Default command level
2: System level
Parameters
lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
destination dest-addr: Specifies a destination IP address for the LSP.
mask: Specifies the mask of the destination IP address.
mask-length: Specifies the mask length of the destination address, in the range of 0 to 32.
nexthop next-hop-addr: Specifies a next hop address.
outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and
number.
out-label out-label: Specifies an outgoing label, which can be 0, 3, or a value in the range of 16 to 1023.
Usage guidelines
When you configure a static LSP on an ingress LSR, the next hop or outgoing interface specified must be
consistent with the next hop or outgoing interface of the optimal route in the routing table. If you










