R3303-HP HSR6800 Routers MPLS Command Reference
71
configure a static IP route for the LSP, be sure to specify the same next hop or outgoing interface for the
static route and the static LSP.
The next hop address cannot be any local public network IP address.
Examples
# Configure a static LSP taking the current LSR as the ingress, and specify the LSP's name as bj-sh,
destination address as 202.25.38.1/24, next hop address as 202.55.25.33, and outgoing label as
237.
<Sysname> system-view
[Sysname] static-lsp ingress bj-sh destination 202.25.38.1 24 nexthop 202.55.25.33
out-label 237
Related commands
• display mpls static-lsp
• static-lsp egress
• static-lsp transit
static-lsp transit
Use static-lsp transit to configure a static LSP taking the current LSR as a transit LSR.
Use undo static-lsp transit to remove a static LSP taking the current LSR as a transit LSR.
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
Views
System view
Default command level
2: System level
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 in the range of 16 to 1023.
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 a 0, 3, or a value in the range of 16 to
1023.
Usage guidelines
The next hop address cannot be any local public network IP address.










