Operation Manual – MPLS Basics
H3C S9500 Series Routing Switches
1.4.2 Configuration Procedure
Follow these steps to configure MPLS basic capability:
Enter system view
Configure the MPLS LSR
ID
Enable MPLS for the
current node and enter
MPLS view
Exit to system view
Enter interface view
Enable MPLS for the
interface
Note:
An LSR ID uses the format of an IP address and is unique within an MPLS domain. You
are recommended to use the IP address of a loopback interface on an LSR as the LSR
ID.
1.5 Configuring PHP
You configure PHP on the egress and select the type of labels for the egress to
distribute based on whether the penultimate hop supports PHP.
1.5.1 Configuration Prerequisites
Before configuring PHP, be sure to complete configuring MPLS basic capability on all
LSRs.
1.5.2 Configuration Procedure
According to RFC 3032 "MPLS Label Stack Encoding":
A label value of 0 represents an IPv4 explicit null label and is valid only when it
appears at the bottom of the label stack. It indicates that the label of the packet
must be popped out on the node, and that the next node will perform IP
forwarding.
To do...
system-view
mpls lsr-id lsr-id
mpls
quit
interface interface-type
interface-number
mpls
Chapter 1 MPLS Basics Configuration
Use the command...
1-18
Remarks
—
Required
By default, no LSR ID is
configured.
Required
Not enabled by default
—
—
Required
Not enabled by default