Professional Documents
Culture Documents
Contents
Figures
Tables
1 MPLS Overview
Section Description
1.1 Introduction
This section covers the following topics that you need to know before you configure MPLS:
Basic Concepts of MPLS
MPLS Network Structure
MPLS Architecture
MPLS and Routing Protocols
References
Label
A label is a short identifier of a fixed length with local significance. It is used to uniquely
identify an FEC. The label assigned to the packet represents an FEC. In some cases, different
labels are assigned to an FEC, but only a single label represents it.
A label is 4 bytes long and is contained in the packet header, excluding the topology
information.
Figure 1-1 shows the label encapsulation structure.
The label here is a connection identifier, similar to the ATM VPI/VCI and the Frame Relay
DLCI.
If the link layer protocol has the label field, the label is encapsulated in the field.
If the link layer protocol has no label field, the label resides between Layer 2 and Layer 3
like a "shim".
The label, thus, can be supported by any link layer protocol. Figure 1-2 shows the label
encapsulation location in a packet.
Ethernet/SONET/SDH packet
LSR
A Label Switched Router (LSR) is a basic component of the MPLS network and all the LSRs
support MPLS.
An LSR has two components:
Control part: It allocates labels, selects routes, creates the label-forwarding information
base, and sets up or deletes a Label Switched Path (LSP).
Forwarding part: It forwards received packets according to the entries in the
label-forwarding base.
LSP
An LSP refers to the path along which an FEC is transmitted in the MPLS network.
The LSP functions as a unidirectional path from the ingress to the egress, similar to the ATM
or FR virtual circuit. Each node in the path is an LSR. Two neighboring LSRs are called
upstream LSR and downstream LSR respectively according to the data transmission direction.
The LSP is divided into:
Static LSP: The administrator configures static LSPs.
Dynamic LSP: The routing protocol and the label distribution protocol generate dynamic
LSPs.
Ingress Egress
MPLS Core
Switch (LSR)
Figure 1-3 shows the working process of the MPLS. The details are as follows:
1. LDP establishes a label map for the preferred FECs in each LSR through the routing
table generated by the traditional routing protocols like OSPF and IS-IS.
2. The ingress receives a packet, determines its FEC and adds a label to the packet. This
packet is called the MPLS labeled packet.
3. The transits forward the packet according to its label and the label forwarding
information base without any Layer 3 processing.
4. The egress strips off the label and continues the forwarding for delivery.
MPLS is a tunnel technique rather than a service or application. It is a routing and forwarding
platform that combines the label switched forwarding with the network layer routing. It
supports multiple upper layer protocols and services, and guarantees security during the
transmission of information.
Control Plane
IP Routing Protocol
Label Information
MPLS IP Routing Protocol
Base(LIB)
Forwarding Plane
Label Forwarding
Information Base(LFIB)
On the forwarding plane, core LSRs forward only labeled packets, whereas LERs forward
both labeled packets and IP packets. The labeled packets use the Label Forwarding
Information Base (LFIB), and the IP packets use the Forwarding Information Base (FIB).
MPLS Forwarding
1.1.5 References
For more information on MPLS, refer to RFC 3031 Multiprotocol Label Switching
Architecture.
CE3
VPN
branch 3
PE3
CE1 PE1
Backbone network
VPN
branch 1 PE2
CE2
VPN
branch 2
The PE manages VPN users, sets up LSP connections between PEs, and assigns routes for
each branch of users of the same VPN. Usually the route allocation between PEs is carried out
by LDP or the extended BGP.
The MPLS-based VPN supports the IP address space overlap between different branches and
the interconnection between different VPNs. Compared to the traditional routes, the VPN
routes are added with the branch and VPN distinguisher information. So, it is necessary to
extend BGP to carry the VPN routing information.
This volume deals with the MPLS basics and MPLS TE.
For details of MPLS VPN configuration, refer to the Quidway NetEngine40E Universal Service
Router Configuration Guide VPN.
For details of MPLS QoS configuration, refer to the Quidway NetEngine40E Universal Service
Router Configuration Guide QoS.