
Operation Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration
1-20
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a static LSP
taking the current LSR as
the ingress
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
Optional
Configure a static LSP
taking the current LSR as
a transit LSR
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
Optional
Configure a static LSP
taking the current LSR as
the egress
static-lsp egress lsp-name
incoming-interface
interface-type
interface-number
in-label
in-label
Optional
Note:
z
If you specify the next hop when configuring a static LSP, and the address of the
next hop is in the routing table, you must specify the next hop when configuring the
static IP route.
z
If you specify the outgoing interface for a static LSP, you must also specify the
outgoing interface when configuring the static IP route.
z
When configuring an ingress or transit LSR, the local public network address cannot
be specified as the next hop.
z
For information about configuring static IP route, refer to
Static Routing
Configuration
in
IP Routing Volume
.
1.7 Configuring MPLS LDP
1.7.1 Configuration Prerequisites
Before configuring LDP, be sure to complete the following task:
z
Configuring MPLS basic capability
z
Configuring a route between an LSR and the opposite LSR
1.7.2 MPLS LDP Configuration Tasks
Complete these tasks to configure LDP: