R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

67
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
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