11
Configuration procedure
To enable MPLS:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the MPLS LSR ID
mpls lsr-id
lsr-id
Required
Not configured by default
Enable MPLS globally and enter
MPLS view
mpls
Required
Not enabled by default
Return to system view
quit
—
Enter interface view
interface
interface-type
interface-number
—
Enable MPLS for the interface
mpls
Required
Not enabled by default
NOTE:
An MPLS LSR ID is in the format of an IP address and must be unique within an MPLS domain. HP
recommends using the IP address of a loopback interface on an LSR as the MPLS LSR ID.
Configuring a static LSP
The principle of establishing a static LSP is that the outgoing label of an upstream LSR is the incoming
label of its downstream LSR.
Configuration prerequisites
Before you configure a static LSP, complete the following tasks:
•
Determine the ingress LSR, transit LSRs, and egress LSR for the static LSP.
•
Enable MPLS on all these LSRs.
•
Make sure that the ingress LSR has a route to the FEC destination. This is not required on the transit
LSRs and egress LSR.
Configuration procedure
To configure a static LSP:
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
Required