R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
42
Usage guidelines
The next hop specified for the LSP must be consistent with the next hop of the optimal route destined for
the specified address. If you configure a static IP route for the LSP, be sure to specify the same next hop
for the static route and the static LSP.
You must enable MPLS on the outgoing interface of the static LSP.
Examples
# Configure a static LSP on the ingress node: 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 transit
Use static-lsp transit to configure the transit node of a static LSP.
Use undo static-lsp transit to delete the transit node configuration for a static LSP.
Syntax
static-lsp transit lsp-name in-label in-label nexthop next-hop-addr out-label out-label
undo static-lsp transit lsp-name
Default
No static LSP exists on the device.
Views
System view
Predefined user roles
network-admin
Parameters
lsp-name: Specifies a name for the static LSP, a case-sensitive string of 1 to 15 characters.
in-label in-label: Specifies an incoming label in the range of 16 to 1023.
nexthop next-hop-addr: Specifies a next hop address.
out-label out-label: Specifies an outgoing label in the range of 16 to 1023.
Usage guidelines
You must enable MPLS on the outgoing interface of the static LSP.
Examples
# Configure a static LSP on the transit node: specify the LSP's name as bj-sh, incoming label as 123 , next
hop address as 202.34.114.7, and outgoing label as 253.
<Sysname> system-view
[Sysname] static-lsp transit bj-sh in-label 123 nexthop 202.34.114.7 out-label 253