Project of Security
Project of Security
GROUP MEMBERS ID NO
1 ALENE MEHARI 00403
2 BIRHANU BERHE 00970
3 BERHE GEZU 00857
4 ASSEFU ABRIHA 00620
5 ALAZAR TEDROS 00327
6 NIGUS SAMRAY 03223
Page5
1
Multi Protocol Label Switching (MPLS)
Introduction
The deployment of a flexible, efficient Internet Protocol/Multiprotocol Label Switching
(IP/MPLS) packet infrastructure has become the key driver for service providers in
allows service providers flexibility and economies of scale that are not possible with
implement packet-based connectivity for both voice and data services in the IP core
network. This means that local area connectivity is needed between core network elements
on the sites and wide area connectivity is needed between the core network sites
MPLS is an Internet Engineering Task Force (IETF) specified framework which provides for
efficient routing, forwarding and switching of traffic packets through the network.
MPLS depends independent to layer 2 and 3 protocols. This technology maps IP addresses to
LSPs are sequence of labels at each and every node along the path from source to destination and
are established prior to data transmission or upon detection of certain flow of traffic.
For cost efficiency and in order to ensure compatibility with the emerging new services
IP/MPLS and Ethernet Local Area Network (LAN) are the baseline technologies for the IP
NGN network connectivity. In addition to being future proof these technologies offer the
Page5
best price performance ratio and best service availability on the market. Additionally the
IP/MPLS backbone can be used for consolidating dedicated networks such as charging
2
network management and Intranet traffic to one unified infrastructure.
MPLS is a new switching mechanism that uses labels (numbers) to forward packets. Labels usually
correspond to L3 destination addresses (equal to destination-based routing). Labels can also correspond
to other parameters (Quality of Service [QoS], source address, etc.). MPLS was designed to support
other protocol stacks than IP as well. Label switching is performed regardless of the L3 protocol.
This figure illustrates a situation where the intermediary router does not have to perform a time-
consuming routing lookup. Instead this router simply swaps a label with another label (5 is replaced by
3) and forwards the packet based on the received label (3). In larger networks the result of MPLS
labeling is that only the edge routers perform a routing lookup. All the core routers forward packets
based on the labels
Page5
MPLS Components
3
A key to the success of MPLS and the L3 MPLS VPN is the use of "tunnels" created by the MPLS labeling.
Tunnelling in the service provider cloud has many benefits:
Only edge points (ingress and egress) need to understand the meaning of the inner network information
(prefixes); core routers simply switch traffic based on labels
The overhead with MPLS is relatively low (4 bytes per MPLS header)
Examine the Exhibit as we review some of the additional, key components of the L3 MPLS VPN:mpls
components
Notice how edge routers are known as Label Edge Routers (LERs) or Provider Edge Routers (PEs).
Routers in the core of the provider network are called Label Switching Routers (LSRs) or Provider (P)
routers. Label Switched Paths (LSPs) represent the path traffic takes through the provider MPLS
network. All of the traffic that is to be forwarded using the same path is known as the Forwarding
Equivalence Class (FEC). All of this traffic is forwarded with the same MPLS label. In the simple case of
the Routing and Switching CCIE Exam, the FEC typically consists of all packets with a destination address
of the BGP next-ho
Notice how the network is a thing of beauty for the Label Switching Routers (LSRs)/Provider (P) routers,
especially when you consider scalability. The service provider can add more customers and introduce
many more network prefixes into its infrastructure, but these prefixes only need to exist on Label
(Provider) Edge Routers (LERs/PERs). These edge devices are the "workhorses" of the provider network.
Notice among many jobs, it is their responsibility to identify the Label Switched Path (LSP) that the
packet is destined for.
Customer networks consist of Customer Edge routers (CEs) and Customer (C) routers. These devices
need no knowledge whatsoever about MPLS. They can be completely oblivious to the fact they are
interacting with a structure that uses MPLS as its basis for forwarding traffic.
In order to master MPLS for the CCIE R&S written and lab exam, this is the first of the terminology we
must commit to memory regarding MPLS. Please join me for future posts in this series.
Page5
4
•MPLS technology is intended to be used anywhere regardless of Layer 1 (L1) media and L2
protocol •MPLS uses a 32-bit label field which is inserted between L2 and L3 headers (frame-
mode) •MPLS over ATM uses the ATM header as the label (cell-mode)
MPLS is designed for use on virtually any media and L2 encapsulation. Most L2 encapsulations
are frame-based and MPLS simply inserts a 32-bit label between the L2 and L3 headers (“frame-
mode” MPLS). ATM is a special case where fixed-length cells are used and a label cannot be
inserted on every cell. MPLS uses the virtual path identifier/ virtual channel identifier (VPI/VCI)
fields in the ATM header as a label (“cell-mode” MPLS).
Label Format
MPLS uses a 32-bit label field that contains the following information: • 20-bit label • 3-bit
experimental field • 1-bit bottom-of-stack indicator • 8-bit time-to-live field (TTL)
LABEL EXP S TTL
0 19 22 23 31 20 24
Page5
Figure 2.4 shows MPLS protocol stack. The two main sections are control plane and data
5
plane. First one could be an embedded processor for fast efficient operation and data plane
could be implemented in programmable logic. The "IP Fwd" is the usual forwarding
module at layer 3 to do routing based on IP FWP next hop information in fact MPLS "Fwd"
forwarding module matches a label to an MPLS outgoing port for a given packet.
FWP
From the diagram LOP module uses TCP for reliable transmission of control data from
Data LINK
one LSR to another during a session. Label distribution protocol (LOP) is a new
protocol PHY
that defines a set of procedures and messages by which one LSR infom1s another of the
label bindings it has made. The LOP maintains the Label information base (LIB) and uses
user datagram protocol (UDP) during discovery phase. During this phase LSR tries to
identify neighboring elements and signals itself to inform about its presence in the
LOP protocol structure is illustrated in figure 2.4 and protocol stack fields are described
below. More on LOP messages are explained in section 2.7.4 and LOP header is shown in
LDP CR-LDP
Control plane
TCP UDP
IP FWP
MPLS FWP
Page5
PHY
6
A B D
MPLS Applications
MPLS is already used in many different applications:
• Unicast IP routing
Page5
• Multicast IP routing
7
• MPLS-TE
• Any Transport over MPLS (AToM) Regardless of the application, the functionality is
• In general a label is assigned to a Forwarding Equivalence Class (FEC)MPLS can be used in different
applications:
■ MPLS-TE is an add-on to MPLS that provides better and more intelligent link utilization
■ MPLS VPNs are implemented using labels to allow overlapping address space between VPNs
■ AToM is allowing transport of L2 frames (or cells) across an MPLS cloud The data plane is the same
regardless of the application. The control plane
however needs appropriate mechanisms to exchange routing information and labels. The term
“Forwarding Equivalence Class” (FEC) is used to describe the packets that are using the same Labeled
Switched Path (LSP) across the network
Page5
8
9
Page5