Enabling the mpls function, Configuration prerequisites, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 22: Configuring a static lsp

Advertising
background image

11

NOTE:

These types of interfaces support MPLS capability: Layer 3 Ethernet interface (GE interface and XGE
interface), ATM interface, POS interface, Layer 3 aggregate interface, Mp-group interface, MFR interface,
tunnel interface, VLAN interface, HDLC interface, and RPR logical interface.

Enabling the MPLS function

In an MPLS domain, you need to enable MPLS on all routers for MPLS forwarding before you can

configure other MPLS features.

Configuration prerequisites

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, making all neighboring nodes reachable at the network layer.

Configure static routes or an IGP protocol, ensuring that LSRs can communicate with each other at
the network layer.

Configuration procedure

To enable MPLS:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the MPLS LSR ID.

mpls lsr-id lsr-id

Not configured by default

3.

Enable MPLS globally and
enter MPLS view.

mpls

Not enabled by default

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

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. H3C
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:

Advertising