R3303-HP HSR6800 Routers MPLS Configuration Guide
11
Task Remarks
Configuring MPLS LSP tracert Optional.
Enabling MPLS trap Optional.
Enabling the MPLS function
In an MPLS domain, you must enable MPLS on all routers before you can configure other MPLS features.
Before you enable MPLS, complete the following tasks:
• Configure link layer protocols to ensure the connectivity at the link layer.
• Assign IP addresses to interfaces so that all neighboring nodes can reach each other at the network
layer.
• Configure static routes or an IGP protocol for the LSRs to communicate with each other.
To enable MPLS:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the MPLS LSR ID.
mpls lsr-id lsr-id
By default, no MPLS LSR ID is
configured.
An MPLS LSR ID is in the format of
an IP address and must be unique
within an MPLS domain. HP
recommends that you use the IP
address of a loopback interface on
an LSR as the MPLS LSR ID.
3. Enable MPLS globally and
enter MPLS view.
mpls
By default, global MPLS is
disabled.
4. Return to system view.
quit N/A
5. Enter interface view.
interface interface-type
interface-number
N/A
6. Enable MPLS for the interface.
mpls
By default, MPLS is disabled on
interfaces.
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.