Enabling the mpls function, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 54: 12 configuration procedure

2-12
Currently, only VLAN-interface supports MPLS capability.
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 enabling MPLS, be sure to complete these tasks:
z
Configuring link layer protocols to ensure the connectivity at the link layer.
z
Assigning IP addresses to interfaces, making all neighboring nodes reachable at the network
layer.
z
Configuring static routes or an IGP protocol, ensuring that LSRs can communicate with each
other at the network layer.
Configuration Procedure
Follow these steps 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