SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
© Peter R. Egli 2015
1/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
Peter R. Egli
INDIGOO.COM
OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES
LAYER 3 ROUTING WITH LAYER 2 SWITCHING
FOR OPTIMIZED NETWORK USAGE
MPLS
MULTI PROTOCOL LABEL SWITCHING
© Peter R. Egli 2015
2/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
Contents
1. Why MPLS?
2. MPLS elements and terms
3. Basic architecture of an LSR MPLS node
4. Basic architecture of an LER MPLS (MPLS edge node)
5. MPLS operation – label switching
6. MPLS label stacking
7. IP routing versus MPLS switching
8. MPLS header position
9. MPLS label distribution
10. Penultimate hop popping PHP
11. MPLS applications
© Peter R. Egli 2015
3/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
1. Why MPLS (1/2)?
Why not ATM?
ATM (Asynchronous Transfer Mode) as a backbone transmission technology has a
scalability problen.
 ATM is connection-oriented:
Between any pair of switches / routers, a separate PVC (Permanent Virtual Connection)
must be set up. If optimal routing is required a full mesh of PVCs needs to be
established (O(n^2) complexity). In large networks this becomes unfeasible.
 ATM does not have powerful routing protocols:
ATM does not provide such powerful routing protocols as IP (OSPF, BGP).
 ATM is dying:
ATM is slowly but steadily being replaced by other, simpler technologies.
Why not simple IP routing?
 QoS is difficult to meet with traditional routers:
Traditional routers have become the bottleneck in the backbone.
 Routing is costly:
Routing is costly ($) since it needs a lot of performance and memory.
(@ 2014 ca. 300‘000 BGP routes in Internet backbone; requires 60-120Mb memory to hold these
routes)
© Peter R. Egli 2015
4/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
1. Why MPLS (2/2)?
MPLS (RFC3031) combines the advantages of layer 3 routing with layer 2 packet
forwarding (in hardware).
Routing in MPLS is done with IP routing protocols. No change to the existing Internet
backbone routing infrastructure is required (AS/BGP4 for Internet backbone, OSPF for
‚private‘ or enterprise backbone routing).
QoS (Quality of Service) is achieved through layer 2 switching.
The routing tables size can be reduced through layer 2 switching.
MPLS allows to add additional services like VPN.
+
+
+
+
© Peter R. Egli 2015
5/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
2. MPLS elements and terms (1/3):
LSR:
Label Switching Router. Core MPLS router/switch that switches packets based on label.
LER:
Label Edge Router; same as edge-LSR; a LER sits at the edge of a network and
performs label push/pop = label imposition/disposition.
LSP:
Label Switched Path (is unidirectional). Path that an IP packet takes.
Ingress LSR:
The ingress LSR is an LER an as such the first MPLS hop in an LSP.
The ingress LSR performs the transition from IP routing and packet forwarding to
MPLS switching (IP to MPLS).
Egress LSR:
The egress LSR is an LER as well and does the opposite operation of an ingress LSR.
The egress LSR terminates the MPLS LSP and performs the transition from MPLS switching
to IP routing and packet forwarding (MPLS to IP).
Label swapping:
Ingress to egress label exchange (like ATM VPI/VCI).
© Peter R. Egli 2015
6/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
2. MPLS elements and terms (2/3):
FEC:
Forwarding Equivalent Class. Set of packets that belong to the same forwarding treatment.
PHP:
Penultimate Hop Popping. The penultimate LSR removes (‚pops‘) the MPLS label and
forwards the IP packet to reduce MPLS processing overhead.
LIB:
Label Information Base (Label to IP prefix binding table).
The LIB contains the label bindings (mappings) for every route prefix received via BGP.
FIB:
Forwarding Information Base (routing table), used in the ingress-LSR. The FIB is actually
the same as the IP routing table but augmented with MPLS information to allow a decision
about the forwarding method (forward incoming IP packet as a pure IP packet or label it and
send it into an MPLS LSP).
LFIB:
Label Forwarding Information Base. The LFIB contains the mappings that are actually
used by the label switching engine. It contains a subset of the label bindings of the LIB.
© Peter R. Egli 2015
7/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
2. MPLS elements and terms (3/3):
Label binding:
The label binding is the mapping of an IP prefix (FEC) to a label.
Label imposition:
Label imposition is the same as label pushing.
© Peter R. Egli 2015
8/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
3. Basic architecture of an LSR MPLS node:
 MPLS consists of a Forwarding (data plane) and a Control (control plane) part.
 The control plane runs an ordinary IP routing stack with routing protocols.
 Additionally the control plane runs a label binding (label to IP prefix) exchange protocol
with other routers (LDP and others).
 The data plane receives labeled packets, looks up the label to ascertain the outgoing interface
and label (label swapping).
IP routing
protocol (OSPF, BGP)
MPLS IP routing
protocol (LDP)
Control plane
IP routing table
Label forwarding table
(LFIB)
Data plane
IP2 L1 IP2 L2
Incoming labeled
packet
Outgoing labeled
packet
Label binding
exchange with
other routers
Routing information
exchange with other
routers
L1: Label 1
L2: Label 2
© Peter R. Egli 2015
9/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
4. Basic architecture of an LER MPLS (MPLS edge node):
 An edge-LSR (LER) augments the general MPLS node architecture with an MPLS-enabled
IP forwarding table (FIB) that allows desicion routing/switching on incoming IP packets.
IP routing
protocol (OSPF, BGP)
MPLS IP routing
protocol (LDP)
Control plane
IP routing table
Label forwarding table
(LFIB)
Data plane
Incoming labeled
packet
Outgoing labeled
packets
Label binding
exchange with other
routers (LDP)
Routing information
exchange with other
routers (BGP4)
IP forwarding table (FIB) Outgoing IP packetsIncoming IP packets
1)
1) Label removal and
subsequent L3 route
lookup.
2) The LIB contains
all prefix to label
mappings received
by this LSR.
LIB
2)
© Peter R. Egli 2015
10/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
5. MPLS operation – label switching (1/2):
1. The ingress LSR receives the IP packet with Dest.=192.168.2.2, classifies it into an FEC and
labels it with a label according to the FEC (L1). The FEC corresponds to a traditional
destination subnet.
2. The core LSRs receive the packet, use the ingress label as an index into a lookup table and
thus ascertains the egress label and interface on which to forward the packet (label swapping
and switching).
3. The egress LSR receives the packet, removes the label and performs a traditional layer 3
routing lookup to forward the packet to the final destination.
IP
D=192.168.2.2
Label switchingIP forwarding IP forwarding
LSR Label Switched Routers LSP Label
Switched Path
MPLS headers
L1
IP
D=192.168.2.2
L2
IP
D=192.168.2.2
L3
IP
D=192.168.2.2
IP
D=192.168.2.2
Ingress LSR (LER) Egress LSR (LER)
192.168.2.2
© Peter R. Egli 2015
11/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
5. MPLS operation – label switching (2/2):
Multiple streams of IP traffic (IP prefixes) can be mapped onto the same path (LSP).
E.g. both IP1 and IP2 in the example below are mapped into the same
FEC (Forwarding Equivalent Class).
 The assignment of label (path) can be done based on VPN identifiers or QoS.
IP1
IP1 L1
IP2 L1IP2
IP1 L2
IP2 L2
IP1 L3
IP2 L3
IP1
IP2
Ingress LSR (LER) Egress LSR (LER)
LSR Label Switched Routers
IP1
IP2
© Peter R. Egli 2015
12/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
6. MPLS label stacking:
 Labels can be stacked for specific purposes, e.g. VPNs. The switching in the MPLS core
uses only the outermost label. In case of VPNs the inner label is used for destination lookup
in the egress LSR.
 Usually only 2 labels are stacked (inner label for VPN, outer label for path).
 Label stacking is used by RFC2547bis (MPLS based VPNs with BGP4).
IP 73 30 IP 73 28 IP 73 16 IPIP
1. Ingress LSR performs route lookup to ascertain FEC. The IP packet belongs to a VPN
(VPN membership of route prefixes along with label are exchanged with BGP in core).
2. Core LSR switch the packet downstream and exchange the outer label.
3. The egress LSR pops the outer label, performs a label lookup which tells it to pop the outer
label. Then the egress LSR looks up the inner label that tells the LSR to which VPN the packet
belongs. The egress LSR pops the inner label and performs a route lookup in the VPNs
routing table. Eventually the egress LSR forwards the packet towards the destination.
Ingress LSR Core LSR 1 Core LSR 2 Egress LSR
1. 2. 3.2.
© Peter R. Egli 2015
13/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
7. IP routing versus MPLS switching (1/4):
 Comparison of headers:
Ver. IHL TOS Total length
ID Fragment offset
TTL Protocol Header checksum
Source address
Destination address
Optional options
MF
DF
u
IP header
Routing (packet forwarding) means:
1. Decrement TTL by 1; drop packet if TTL=0
2. Route lookup (packet leaves router through which interface?)
3. (Optional) Fragment packet if too big for outbound interface
4. Recalculate header checksum
5. Apply QoS (change TOS/DSCP value,
put packet into priority queue)
Switching a packet with MPLS means:
1. Lookup of outbound interface with MPLS label; outbound
LSP‘s label is looked up in the same step. Copy outbound
label into label field in header.
2. Decrement TTL by 1
3. Apply QoS (queueing of MPLS packet).
 The MPLS address is only 20 bits which represents an address space of 1 million entries. This reduces
memory demands and allows using the label as a direct index into a lookup table.
 The MPLS address does not have prefixes („masks“). This allows using the label as a direct index into a
lookup table.
 MPLS switching does not involve costly processing such as header checksum calculation.
Label (20 bit) EXP S TTL (8 bit)
MPLS Header
Label: Address
EXP: EXPerimental or EXPedite bits
S: If set to 1 indicates bottom of label stack in case of label
stacking.
TTL: Time To Live (max. number of MPLS hops, like IP TTL)
for loop detection.
© Peter R. Egli 2015
14/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
7. IP routing versus MPLS switching (2/4):
 Why IP route lookups are costly:
Route lookups = Find the longest matching prefix among all prefixes that match
the destination address. Both 128.9.16.0/21 and 128.9.0.0/16 in the example below match the
destination IP address 128.9.16.14 but the former is more specific (longer prefix) and thus is
the correct routing entry.
 The job of the router is to find this longest prefix matching route entry among possibly
many other matching (but less specific) route entries.
 IPv6 still has prefixes (to allow route aggregation) but unlike IPv4 the address space is
gigantic and can be partitioned more freely and thus allows easier aggregation.
128.9.16.0/21 128.9.172.0/21
128.9.176.0/24
0 232-1
142.12.0.0/1965.0.0.0/8
128.9.16.14
Longest matching
prefix
128.9.0.0/16
IP address range
IP prefix covering
a range in the entire
possible IP address
range.
Matching prefix but
not longest prefix
© Peter R. Egli 2015
15/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
7. IP routing versus MPLS switching (3/4):
 Patricia trie (tree with internal and external (=leaf) nodes) (1):
The PATRICIA trie (Practical Algorithm to Retrieve Information Coded in Alphanumeric) is one of many route
lookup algorithms (e.g. used in BSD kernel).
A. Build up of trie:
1. Generally the PATRICIA trie contains the prefixes as nodes. 0 bit in address prefix results in a node to the
left of the current node, 1 bits result in a node to the right of the current node.
2. If there is only 1 child node it is removed (path compression). The remaining parent node stores the
number of bits that were compressed and thus can be skipped. This reduces the number of
necessary comparisons.
B. Search algorithm:
The router proceeds bit by bit of the destination IP address through the tree (decision left or right child
node).
The router skips the specified number of bits as indicated in the nodes.
The PATRICIA trie does not allow to find an exact match but only a possible match. Therefore the router must
perform a full match in the leaf node (after masking the input IP address with the number of bits that lead to
this leaf node). If the destination IP matches the full prefix that the leaf node contains the route lookup is
successful and the router finds the outgoing interface and next-hop-gw in the leaf node.
If not the router must go up the trie (towards the root) and do a mask/full match operation
in each node until there is a match. If none of the nodes match the root node will (if configured so) contain
the default route. If no default route is configured the route lookup has failed.
 It is evident that the maintenance of the PATRICIA trie (add routes / nodes, remove routes / nodes based
on routing protocol like OSPF, BGP) and the lookup are costly in terms of processing power (N.B.: The
lookup is done anew per IP packet).
© Peter R. Egli 2015
16/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
7. IP routing versus MPLS switching (4/4):
 Patricia trie (tree with internal and external (=leaf) nodes) (2):
Example Prefixes:
a) 00001
b) 00010
c) 00011
d) 001
e) 0101
f) 011
g) 100
h) 1010
I) 1100
j) 11110000
k) 000101
e
f g
h i
j
Skip 5
0 1
a b c
d
Prefix length
1. IP address 20.9.4.2  Node k matches best. Route in node k is taken.
00010100.
2. IP address 31.9.4.2  Node c matches best. Route in node c is taken.
00011111.
3. IP address 18.9.4.2  Node b matches best. Route in node b is taken.
00010010.
k
© Peter R. Egli 2015
17/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
8. MPLS header position:
 Where is the MPLS header (label)?
MPLS, unlike other protocols, is inserted between existing layer 2 and layer 3 header („shim“
header):
 MPLS label encapsulation with different layer 2 protocols:
PoS (Packet over SONET):
Ethernet:
Frame Relay:
Label over ATM PVCs:
ATM label switching:
Payload IP L2 L1 Payload IP L2 L1
MPLS
Payload IP MPLS PPP SDH
Payload IP MPLS MAC Phy
Payload IP MPLS FR Phy
Payload IP MPLS ATM Phy
Payload ATM Phy
Payload IP HEC CLP PTI VCI VPI GFC
Label
Label
HEC CLP PTI VCI VPI GFCPayload
(subsequent cell)
(subsequent cell)
© Peter R. Egli 2015
18/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
9. MPLS label distribution (1/2):
 LDP Label Distribution Protocol:
Label distribution propagates upstream from destination to source. In this way a LSP is already
established when the last label binding „hits“ the edge-LSR (source of IP packet).
1. LDP hello packets are used to discover neighbors on links. LDP hello packets use IP broadcast
or IP multicast and UDP.
2. After the discovery the LDP neighbors establish an LDP session through a TCP connection (like BGP).
3. Every Edge-LSR creates IP prefix  label bindings for the network it is attached to and distributes these
bindings via LDP to its upstream neighbors (into the MPLS cloud).
4. The neighbors fill their LIB with the LDP bindings received from both upstream and downstream LDP
neighbors (LIB contains mapping IP/FEClabel).
5. The LSRs distribute all their label bindings to their adjacent LSRs (both upstream and downstream).
6. The LSRs fill their LFIB only with label bindings that were received from a downstream neighbor.
LSR2 LER3
For 17.0.0.0
use label 44
LER1
For 17.0.0.0
use label 32
17.0.0.0 17.0.0.0
Unsolicited label distribution in
upstream direction.
17.0.0.0
network
LIB:
17.0.0.0/44
LFIB:
3244
LIB:
17.0.0.0/44
LFIB:
44pop
LIB:
17.0.0.0/32
LFIB:
32push
© Peter R. Egli 2015
19/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
9. MPLS label distribution (2/2):
 LDP parameters:
1. Unsolicited vs. on-demand distribution:
Unsolicited: Label is distributed even if upstream LSR does not need prefix/label mapping.
2. Independent vs. ordered control:
Independent control allocation: Assignment of label to a new IP prefix (received via BGP)
regardless of whether the router has already received a label mapping for the same route prefix
from the downstream LSR.
Ordered control allocation: Assignment of label only for prefixes where a downstream label
already exists in LIB.
3. Liberal retention vs. conservative retention:
Conservative retention: An LSR only inserts label bindings into its LIB that are received from its
current IP next hop gateway for this prefix.
Liberal retention: An LSR retains also label bindings that were not received from the current
next hop gateway for that specific prefix.
 The combinations unsolicited distribution/independent control/liberal retention are used to
provide faster convergence in case of a link failure:
LDP: For 17.0.0.1
use label 28
LIB:
17.0.0.0/28
17.0.0.0/32
LFIB:
1228
LDP: For 17.0.0.1
use label 12
LIB:
17.0.0.0/28
17.0.0.0/32
LFIB:
1232
Before link
failure:
After link
failure:
© Peter R. Egli 2015
20/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
10. Penultimate hop popping PHP:
Without PHP the egress LSR performs the following steps on a received packet:
1. Inspect MPLS header and look up label. The lookup tells the LSR to pop the label (1st lookup).
2. Inspect IP packet and perform layer 3 (routing) lookup (2nd lookup).
3. Forward IP packet to destination.
The 2 lookups (MPLS and IP) present additional load on the egress edge-LSR. The MPLS
label lookup can be removed without changing the MPLS logic.
 Thus the edge-LSR can request the upstream MPLS neighbor by sending a special LDP
label (called implicit null-label, value 3). The penultimate LSR then pops the label and sends
a pure IP packet to the egress-LSR.
LDP: For 17.0.0.1
use label L2
IP
17.0.0.1
LSR Label Switched Routers
32
IP
17.0.0.1
44
IP
17.0.0.1
IP
D=17.0.0.1
Ingress LSR (LER) Egress LSR (LER)
17.0.0.1
IP
17.0.0.1
LDP: For 17.0.0.1
use label 3
LDP: For 17.0.0.1
use label L1
LIB:
17.0.0.0/32
LFIB:
3244
LIB:
17.0.0.0/44
LFIB:
44pop
LIB:
17.0.0.0/32
LFIB:
32push
LIB:
17.0.0.0/3
LFIB:
-
© Peter R. Egli 2015
21/21
Rev. 1.50
MPLS – Multiprotocol Label Switching indigoo.com
11. MPLS applications:
1. Backbone routing (switching, service provider network):
 Reduction of routes on backbone routers (lower memory demands).
 Faster routing (switching instead of routing).
2. Layer 3 VPNs (e.g. RFC2547bis):
3. QoS for IP-based networks:
 Assign IP packets to different traffic classes (FEC) based on different criteria (destination
address, payload type (voice), TOS/DSCP bits etc.) and then prioritize packets.
 N.B.: MPLS per se does not provide QoS. MPLS is only a means to assign packets to
classes and switch these classes differently.
Company 1
(branch)
10.0/16
Company 2
(branch)
10.0/16
Company 1
(branch)
10.1/16
Company 2
(branch)
10.1/16
Provider
MPLS core
OSPF, RIP,
static routes
Edge-LSR
BGP4 for VPN route distribution
OSPF, RIP,
static routes
Edge-LSR Edge-LSR
Edge-LSRLDP for label distribution

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
 
Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
 
Multi-Protocol Label Switching
Multi-Protocol Label SwitchingMulti-Protocol Label Switching
Multi-Protocol Label Switching
 
MPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - BasicMPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - Basic
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
Bgp
BgpBgp
Bgp
 
MPLS (Multi-Protocol Label Switching)
MPLS  (Multi-Protocol Label Switching)MPLS  (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
Mpls
MplsMpls
Mpls
 
MPLS ppt
MPLS pptMPLS ppt
MPLS ppt
 
MPLS
MPLSMPLS
MPLS
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
Mpls by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Mpls Services
Mpls ServicesMpls Services
Mpls Services
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
 
Segment Routing Lab
Segment Routing Lab Segment Routing Lab
Segment Routing Lab
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 

Andere mochten auch

Multi-Protocol Label Switching: Basics and Applications
Multi-Protocol Label Switching: Basics and ApplicationsMulti-Protocol Label Switching: Basics and Applications
Multi-Protocol Label Switching: Basics and ApplicationsVishal Sharma, Ph.D.
 
MPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by KhatriMPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by KhatriFebrian ‎
 
Comparison between traditional vpn and mpls vpn
Comparison between traditional vpn and mpls vpnComparison between traditional vpn and mpls vpn
Comparison between traditional vpn and mpls vpnmmubashirkhan
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1Febrian ‎
 
Implémentation de la QoS au sein d'un IP/MPLS - Présentation
Implémentation de la QoS au sein d'un IP/MPLS - PrésentationImplémentation de la QoS au sein d'un IP/MPLS - Présentation
Implémentation de la QoS au sein d'un IP/MPLS - PrésentationRihab Chebbah
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Febrian ‎
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Agreeta Sharma
 

Andere mochten auch (18)

Multi-Protocol Label Switching: Basics and Applications
Multi-Protocol Label Switching: Basics and ApplicationsMulti-Protocol Label Switching: Basics and Applications
Multi-Protocol Label Switching: Basics and Applications
 
MPLS
MPLSMPLS
MPLS
 
MPLS: Multiprotocol Label Switching
MPLS: Multiprotocol Label SwitchingMPLS: Multiprotocol Label Switching
MPLS: Multiprotocol Label Switching
 
Doc6 mpls vpn-ppt
Doc6 mpls vpn-pptDoc6 mpls vpn-ppt
Doc6 mpls vpn-ppt
 
MPLS
MPLSMPLS
MPLS
 
MPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by KhatriMPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by Khatri
 
MPLS-TE
MPLS-TEMPLS-TE
MPLS-TE
 
Comparison between traditional vpn and mpls vpn
Comparison between traditional vpn and mpls vpnComparison between traditional vpn and mpls vpn
Comparison between traditional vpn and mpls vpn
 
Mpls
MplsMpls
Mpls
 
Mpls
MplsMpls
Mpls
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
 
Implémentation de la QoS au sein d'un IP/MPLS - Présentation
Implémentation de la QoS au sein d'un IP/MPLS - PrésentationImplémentation de la QoS au sein d'un IP/MPLS - Présentation
Implémentation de la QoS au sein d'un IP/MPLS - Présentation
 
VPNs sobre MPLS con Tecnología Cisco
VPNs sobre MPLS con Tecnología CiscoVPNs sobre MPLS con Tecnología Cisco
VPNs sobre MPLS con Tecnología Cisco
 
Cisco: MPLS en Castellano
Cisco: MPLS en CastellanoCisco: MPLS en Castellano
Cisco: MPLS en Castellano
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)
 
MPLS VPN
MPLS VPNMPLS VPN
MPLS VPN
 

Ähnlich wie MPLS - Multiprotocol Label Switching

Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network PresentationMuhammad Faisal
 
An introduction to MPLS networks and applications
An introduction to MPLS networks and applicationsAn introduction to MPLS networks and applications
An introduction to MPLS networks and applicationsShawn Zandi
 
Mpls Traffic Engineering ppt
Mpls Traffic Engineering pptMpls Traffic Engineering ppt
Mpls Traffic Engineering pptNitin Gehlot
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introductionPhilip Agu Bah
 
Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)RAHIL REYAZ
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMulugetaTsehay1
 
ISP core routing project
ISP core routing projectISP core routing project
ISP core routing projectvishal sharma
 
Cisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study NotesCisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study NotesDuane Bodle
 

Ähnlich wie MPLS - Multiprotocol Label Switching (20)

MPLS
MPLSMPLS
MPLS
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
 
MPLS-jpl.ppt
MPLS-jpl.pptMPLS-jpl.ppt
MPLS-jpl.ppt
 
Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
 
An introduction to MPLS networks and applications
An introduction to MPLS networks and applicationsAn introduction to MPLS networks and applications
An introduction to MPLS networks and applications
 
MPLS
MPLSMPLS
MPLS
 
Mpls Traffic Engineering ppt
Mpls Traffic Engineering pptMpls Traffic Engineering ppt
Mpls Traffic Engineering ppt
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
 
J010136172
J010136172J010136172
J010136172
 
QOS of MPLS
QOS of MPLSQOS of MPLS
QOS of MPLS
 
Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdf
 
Switching systems lecture8 mpls
Switching  systems lecture8 mplsSwitching  systems lecture8 mpls
Switching systems lecture8 mpls
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
 
ISP core routing project
ISP core routing projectISP core routing project
ISP core routing project
 
Cisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study NotesCisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study Notes
 

Mehr von Peter R. Egli

LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosPeter R. Egli
 
Data Networking Concepts
Data Networking ConceptsData Networking Concepts
Data Networking ConceptsPeter R. Egli
 
Communication middleware
Communication middlewareCommunication middleware
Communication middlewarePeter R. Egli
 
Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Peter R. Egli
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Peter R. Egli
 
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET PlatformPeter R. Egli
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud ComputingPeter R. Egli
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingPeter R. Egli
 
Enterprise Application Integration Technologies
Enterprise Application Integration TechnologiesEnterprise Application Integration Technologies
Enterprise Application Integration TechnologiesPeter R. Egli
 
Overview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyOverview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyPeter R. Egli
 
Android Native Development Kit
Android Native Development KitAndroid Native Development Kit
Android Native Development KitPeter R. Egli
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Peter R. Egli
 
MSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingMSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingPeter R. Egli
 
Common Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBACommon Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBAPeter R. Egli
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Peter R. Egli
 
JMS - Java Messaging Service
JMS - Java Messaging ServiceJMS - Java Messaging Service
JMS - Java Messaging ServicePeter R. Egli
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Peter R. Egli
 

Mehr von Peter R. Egli (20)

LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
 
Data Networking Concepts
Data Networking ConceptsData Networking Concepts
Data Networking Concepts
 
Communication middleware
Communication middlewareCommunication middleware
Communication middleware
 
Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)
 
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET Platform
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud Computing
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
 
Enterprise Application Integration Technologies
Enterprise Application Integration TechnologiesEnterprise Application Integration Technologies
Enterprise Application Integration Technologies
 
Overview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyOverview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technology
 
Android Native Development Kit
Android Native Development KitAndroid Native Development Kit
Android Native Development Kit
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Web services
Web servicesWeb services
Web services
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
MSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingMSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message Queueing
 
Common Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBACommon Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBA
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)
 
JMS - Java Messaging Service
JMS - Java Messaging ServiceJMS - Java Messaging Service
JMS - Java Messaging Service
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 

Kürzlich hochgeladen

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 

Kürzlich hochgeladen (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 

MPLS - Multiprotocol Label Switching

  • 1. © Peter R. Egli 2015 1/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com Peter R. Egli INDIGOO.COM OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE MPLS MULTI PROTOCOL LABEL SWITCHING
  • 2. © Peter R. Egli 2015 2/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com Contents 1. Why MPLS? 2. MPLS elements and terms 3. Basic architecture of an LSR MPLS node 4. Basic architecture of an LER MPLS (MPLS edge node) 5. MPLS operation – label switching 6. MPLS label stacking 7. IP routing versus MPLS switching 8. MPLS header position 9. MPLS label distribution 10. Penultimate hop popping PHP 11. MPLS applications
  • 3. © Peter R. Egli 2015 3/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 1. Why MPLS (1/2)? Why not ATM? ATM (Asynchronous Transfer Mode) as a backbone transmission technology has a scalability problen.  ATM is connection-oriented: Between any pair of switches / routers, a separate PVC (Permanent Virtual Connection) must be set up. If optimal routing is required a full mesh of PVCs needs to be established (O(n^2) complexity). In large networks this becomes unfeasible.  ATM does not have powerful routing protocols: ATM does not provide such powerful routing protocols as IP (OSPF, BGP).  ATM is dying: ATM is slowly but steadily being replaced by other, simpler technologies. Why not simple IP routing?  QoS is difficult to meet with traditional routers: Traditional routers have become the bottleneck in the backbone.  Routing is costly: Routing is costly ($) since it needs a lot of performance and memory. (@ 2014 ca. 300‘000 BGP routes in Internet backbone; requires 60-120Mb memory to hold these routes)
  • 4. © Peter R. Egli 2015 4/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 1. Why MPLS (2/2)? MPLS (RFC3031) combines the advantages of layer 3 routing with layer 2 packet forwarding (in hardware). Routing in MPLS is done with IP routing protocols. No change to the existing Internet backbone routing infrastructure is required (AS/BGP4 for Internet backbone, OSPF for ‚private‘ or enterprise backbone routing). QoS (Quality of Service) is achieved through layer 2 switching. The routing tables size can be reduced through layer 2 switching. MPLS allows to add additional services like VPN. + + + +
  • 5. © Peter R. Egli 2015 5/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 2. MPLS elements and terms (1/3): LSR: Label Switching Router. Core MPLS router/switch that switches packets based on label. LER: Label Edge Router; same as edge-LSR; a LER sits at the edge of a network and performs label push/pop = label imposition/disposition. LSP: Label Switched Path (is unidirectional). Path that an IP packet takes. Ingress LSR: The ingress LSR is an LER an as such the first MPLS hop in an LSP. The ingress LSR performs the transition from IP routing and packet forwarding to MPLS switching (IP to MPLS). Egress LSR: The egress LSR is an LER as well and does the opposite operation of an ingress LSR. The egress LSR terminates the MPLS LSP and performs the transition from MPLS switching to IP routing and packet forwarding (MPLS to IP). Label swapping: Ingress to egress label exchange (like ATM VPI/VCI).
  • 6. © Peter R. Egli 2015 6/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 2. MPLS elements and terms (2/3): FEC: Forwarding Equivalent Class. Set of packets that belong to the same forwarding treatment. PHP: Penultimate Hop Popping. The penultimate LSR removes (‚pops‘) the MPLS label and forwards the IP packet to reduce MPLS processing overhead. LIB: Label Information Base (Label to IP prefix binding table). The LIB contains the label bindings (mappings) for every route prefix received via BGP. FIB: Forwarding Information Base (routing table), used in the ingress-LSR. The FIB is actually the same as the IP routing table but augmented with MPLS information to allow a decision about the forwarding method (forward incoming IP packet as a pure IP packet or label it and send it into an MPLS LSP). LFIB: Label Forwarding Information Base. The LFIB contains the mappings that are actually used by the label switching engine. It contains a subset of the label bindings of the LIB.
  • 7. © Peter R. Egli 2015 7/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 2. MPLS elements and terms (3/3): Label binding: The label binding is the mapping of an IP prefix (FEC) to a label. Label imposition: Label imposition is the same as label pushing.
  • 8. © Peter R. Egli 2015 8/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 3. Basic architecture of an LSR MPLS node:  MPLS consists of a Forwarding (data plane) and a Control (control plane) part.  The control plane runs an ordinary IP routing stack with routing protocols.  Additionally the control plane runs a label binding (label to IP prefix) exchange protocol with other routers (LDP and others).  The data plane receives labeled packets, looks up the label to ascertain the outgoing interface and label (label swapping). IP routing protocol (OSPF, BGP) MPLS IP routing protocol (LDP) Control plane IP routing table Label forwarding table (LFIB) Data plane IP2 L1 IP2 L2 Incoming labeled packet Outgoing labeled packet Label binding exchange with other routers Routing information exchange with other routers L1: Label 1 L2: Label 2
  • 9. © Peter R. Egli 2015 9/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 4. Basic architecture of an LER MPLS (MPLS edge node):  An edge-LSR (LER) augments the general MPLS node architecture with an MPLS-enabled IP forwarding table (FIB) that allows desicion routing/switching on incoming IP packets. IP routing protocol (OSPF, BGP) MPLS IP routing protocol (LDP) Control plane IP routing table Label forwarding table (LFIB) Data plane Incoming labeled packet Outgoing labeled packets Label binding exchange with other routers (LDP) Routing information exchange with other routers (BGP4) IP forwarding table (FIB) Outgoing IP packetsIncoming IP packets 1) 1) Label removal and subsequent L3 route lookup. 2) The LIB contains all prefix to label mappings received by this LSR. LIB 2)
  • 10. © Peter R. Egli 2015 10/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 5. MPLS operation – label switching (1/2): 1. The ingress LSR receives the IP packet with Dest.=192.168.2.2, classifies it into an FEC and labels it with a label according to the FEC (L1). The FEC corresponds to a traditional destination subnet. 2. The core LSRs receive the packet, use the ingress label as an index into a lookup table and thus ascertains the egress label and interface on which to forward the packet (label swapping and switching). 3. The egress LSR receives the packet, removes the label and performs a traditional layer 3 routing lookup to forward the packet to the final destination. IP D=192.168.2.2 Label switchingIP forwarding IP forwarding LSR Label Switched Routers LSP Label Switched Path MPLS headers L1 IP D=192.168.2.2 L2 IP D=192.168.2.2 L3 IP D=192.168.2.2 IP D=192.168.2.2 Ingress LSR (LER) Egress LSR (LER) 192.168.2.2
  • 11. © Peter R. Egli 2015 11/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 5. MPLS operation – label switching (2/2): Multiple streams of IP traffic (IP prefixes) can be mapped onto the same path (LSP). E.g. both IP1 and IP2 in the example below are mapped into the same FEC (Forwarding Equivalent Class).  The assignment of label (path) can be done based on VPN identifiers or QoS. IP1 IP1 L1 IP2 L1IP2 IP1 L2 IP2 L2 IP1 L3 IP2 L3 IP1 IP2 Ingress LSR (LER) Egress LSR (LER) LSR Label Switched Routers IP1 IP2
  • 12. © Peter R. Egli 2015 12/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 6. MPLS label stacking:  Labels can be stacked for specific purposes, e.g. VPNs. The switching in the MPLS core uses only the outermost label. In case of VPNs the inner label is used for destination lookup in the egress LSR.  Usually only 2 labels are stacked (inner label for VPN, outer label for path).  Label stacking is used by RFC2547bis (MPLS based VPNs with BGP4). IP 73 30 IP 73 28 IP 73 16 IPIP 1. Ingress LSR performs route lookup to ascertain FEC. The IP packet belongs to a VPN (VPN membership of route prefixes along with label are exchanged with BGP in core). 2. Core LSR switch the packet downstream and exchange the outer label. 3. The egress LSR pops the outer label, performs a label lookup which tells it to pop the outer label. Then the egress LSR looks up the inner label that tells the LSR to which VPN the packet belongs. The egress LSR pops the inner label and performs a route lookup in the VPNs routing table. Eventually the egress LSR forwards the packet towards the destination. Ingress LSR Core LSR 1 Core LSR 2 Egress LSR 1. 2. 3.2.
  • 13. © Peter R. Egli 2015 13/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 7. IP routing versus MPLS switching (1/4):  Comparison of headers: Ver. IHL TOS Total length ID Fragment offset TTL Protocol Header checksum Source address Destination address Optional options MF DF u IP header Routing (packet forwarding) means: 1. Decrement TTL by 1; drop packet if TTL=0 2. Route lookup (packet leaves router through which interface?) 3. (Optional) Fragment packet if too big for outbound interface 4. Recalculate header checksum 5. Apply QoS (change TOS/DSCP value, put packet into priority queue) Switching a packet with MPLS means: 1. Lookup of outbound interface with MPLS label; outbound LSP‘s label is looked up in the same step. Copy outbound label into label field in header. 2. Decrement TTL by 1 3. Apply QoS (queueing of MPLS packet).  The MPLS address is only 20 bits which represents an address space of 1 million entries. This reduces memory demands and allows using the label as a direct index into a lookup table.  The MPLS address does not have prefixes („masks“). This allows using the label as a direct index into a lookup table.  MPLS switching does not involve costly processing such as header checksum calculation. Label (20 bit) EXP S TTL (8 bit) MPLS Header Label: Address EXP: EXPerimental or EXPedite bits S: If set to 1 indicates bottom of label stack in case of label stacking. TTL: Time To Live (max. number of MPLS hops, like IP TTL) for loop detection.
  • 14. © Peter R. Egli 2015 14/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 7. IP routing versus MPLS switching (2/4):  Why IP route lookups are costly: Route lookups = Find the longest matching prefix among all prefixes that match the destination address. Both 128.9.16.0/21 and 128.9.0.0/16 in the example below match the destination IP address 128.9.16.14 but the former is more specific (longer prefix) and thus is the correct routing entry.  The job of the router is to find this longest prefix matching route entry among possibly many other matching (but less specific) route entries.  IPv6 still has prefixes (to allow route aggregation) but unlike IPv4 the address space is gigantic and can be partitioned more freely and thus allows easier aggregation. 128.9.16.0/21 128.9.172.0/21 128.9.176.0/24 0 232-1 142.12.0.0/1965.0.0.0/8 128.9.16.14 Longest matching prefix 128.9.0.0/16 IP address range IP prefix covering a range in the entire possible IP address range. Matching prefix but not longest prefix
  • 15. © Peter R. Egli 2015 15/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 7. IP routing versus MPLS switching (3/4):  Patricia trie (tree with internal and external (=leaf) nodes) (1): The PATRICIA trie (Practical Algorithm to Retrieve Information Coded in Alphanumeric) is one of many route lookup algorithms (e.g. used in BSD kernel). A. Build up of trie: 1. Generally the PATRICIA trie contains the prefixes as nodes. 0 bit in address prefix results in a node to the left of the current node, 1 bits result in a node to the right of the current node. 2. If there is only 1 child node it is removed (path compression). The remaining parent node stores the number of bits that were compressed and thus can be skipped. This reduces the number of necessary comparisons. B. Search algorithm: The router proceeds bit by bit of the destination IP address through the tree (decision left or right child node). The router skips the specified number of bits as indicated in the nodes. The PATRICIA trie does not allow to find an exact match but only a possible match. Therefore the router must perform a full match in the leaf node (after masking the input IP address with the number of bits that lead to this leaf node). If the destination IP matches the full prefix that the leaf node contains the route lookup is successful and the router finds the outgoing interface and next-hop-gw in the leaf node. If not the router must go up the trie (towards the root) and do a mask/full match operation in each node until there is a match. If none of the nodes match the root node will (if configured so) contain the default route. If no default route is configured the route lookup has failed.  It is evident that the maintenance of the PATRICIA trie (add routes / nodes, remove routes / nodes based on routing protocol like OSPF, BGP) and the lookup are costly in terms of processing power (N.B.: The lookup is done anew per IP packet).
  • 16. © Peter R. Egli 2015 16/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 7. IP routing versus MPLS switching (4/4):  Patricia trie (tree with internal and external (=leaf) nodes) (2): Example Prefixes: a) 00001 b) 00010 c) 00011 d) 001 e) 0101 f) 011 g) 100 h) 1010 I) 1100 j) 11110000 k) 000101 e f g h i j Skip 5 0 1 a b c d Prefix length 1. IP address 20.9.4.2  Node k matches best. Route in node k is taken. 00010100. 2. IP address 31.9.4.2  Node c matches best. Route in node c is taken. 00011111. 3. IP address 18.9.4.2  Node b matches best. Route in node b is taken. 00010010. k
  • 17. © Peter R. Egli 2015 17/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 8. MPLS header position:  Where is the MPLS header (label)? MPLS, unlike other protocols, is inserted between existing layer 2 and layer 3 header („shim“ header):  MPLS label encapsulation with different layer 2 protocols: PoS (Packet over SONET): Ethernet: Frame Relay: Label over ATM PVCs: ATM label switching: Payload IP L2 L1 Payload IP L2 L1 MPLS Payload IP MPLS PPP SDH Payload IP MPLS MAC Phy Payload IP MPLS FR Phy Payload IP MPLS ATM Phy Payload ATM Phy Payload IP HEC CLP PTI VCI VPI GFC Label Label HEC CLP PTI VCI VPI GFCPayload (subsequent cell) (subsequent cell)
  • 18. © Peter R. Egli 2015 18/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 9. MPLS label distribution (1/2):  LDP Label Distribution Protocol: Label distribution propagates upstream from destination to source. In this way a LSP is already established when the last label binding „hits“ the edge-LSR (source of IP packet). 1. LDP hello packets are used to discover neighbors on links. LDP hello packets use IP broadcast or IP multicast and UDP. 2. After the discovery the LDP neighbors establish an LDP session through a TCP connection (like BGP). 3. Every Edge-LSR creates IP prefix  label bindings for the network it is attached to and distributes these bindings via LDP to its upstream neighbors (into the MPLS cloud). 4. The neighbors fill their LIB with the LDP bindings received from both upstream and downstream LDP neighbors (LIB contains mapping IP/FEClabel). 5. The LSRs distribute all their label bindings to their adjacent LSRs (both upstream and downstream). 6. The LSRs fill their LFIB only with label bindings that were received from a downstream neighbor. LSR2 LER3 For 17.0.0.0 use label 44 LER1 For 17.0.0.0 use label 32 17.0.0.0 17.0.0.0 Unsolicited label distribution in upstream direction. 17.0.0.0 network LIB: 17.0.0.0/44 LFIB: 3244 LIB: 17.0.0.0/44 LFIB: 44pop LIB: 17.0.0.0/32 LFIB: 32push
  • 19. © Peter R. Egli 2015 19/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 9. MPLS label distribution (2/2):  LDP parameters: 1. Unsolicited vs. on-demand distribution: Unsolicited: Label is distributed even if upstream LSR does not need prefix/label mapping. 2. Independent vs. ordered control: Independent control allocation: Assignment of label to a new IP prefix (received via BGP) regardless of whether the router has already received a label mapping for the same route prefix from the downstream LSR. Ordered control allocation: Assignment of label only for prefixes where a downstream label already exists in LIB. 3. Liberal retention vs. conservative retention: Conservative retention: An LSR only inserts label bindings into its LIB that are received from its current IP next hop gateway for this prefix. Liberal retention: An LSR retains also label bindings that were not received from the current next hop gateway for that specific prefix.  The combinations unsolicited distribution/independent control/liberal retention are used to provide faster convergence in case of a link failure: LDP: For 17.0.0.1 use label 28 LIB: 17.0.0.0/28 17.0.0.0/32 LFIB: 1228 LDP: For 17.0.0.1 use label 12 LIB: 17.0.0.0/28 17.0.0.0/32 LFIB: 1232 Before link failure: After link failure:
  • 20. © Peter R. Egli 2015 20/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 10. Penultimate hop popping PHP: Without PHP the egress LSR performs the following steps on a received packet: 1. Inspect MPLS header and look up label. The lookup tells the LSR to pop the label (1st lookup). 2. Inspect IP packet and perform layer 3 (routing) lookup (2nd lookup). 3. Forward IP packet to destination. The 2 lookups (MPLS and IP) present additional load on the egress edge-LSR. The MPLS label lookup can be removed without changing the MPLS logic.  Thus the edge-LSR can request the upstream MPLS neighbor by sending a special LDP label (called implicit null-label, value 3). The penultimate LSR then pops the label and sends a pure IP packet to the egress-LSR. LDP: For 17.0.0.1 use label L2 IP 17.0.0.1 LSR Label Switched Routers 32 IP 17.0.0.1 44 IP 17.0.0.1 IP D=17.0.0.1 Ingress LSR (LER) Egress LSR (LER) 17.0.0.1 IP 17.0.0.1 LDP: For 17.0.0.1 use label 3 LDP: For 17.0.0.1 use label L1 LIB: 17.0.0.0/32 LFIB: 3244 LIB: 17.0.0.0/44 LFIB: 44pop LIB: 17.0.0.0/32 LFIB: 32push LIB: 17.0.0.0/3 LFIB: -
  • 21. © Peter R. Egli 2015 21/21 Rev. 1.50 MPLS – Multiprotocol Label Switching indigoo.com 11. MPLS applications: 1. Backbone routing (switching, service provider network):  Reduction of routes on backbone routers (lower memory demands).  Faster routing (switching instead of routing). 2. Layer 3 VPNs (e.g. RFC2547bis): 3. QoS for IP-based networks:  Assign IP packets to different traffic classes (FEC) based on different criteria (destination address, payload type (voice), TOS/DSCP bits etc.) and then prioritize packets.  N.B.: MPLS per se does not provide QoS. MPLS is only a means to assign packets to classes and switch these classes differently. Company 1 (branch) 10.0/16 Company 2 (branch) 10.0/16 Company 1 (branch) 10.1/16 Company 2 (branch) 10.1/16 Provider MPLS core OSPF, RIP, static routes Edge-LSR BGP4 for VPN route distribution OSPF, RIP, static routes Edge-LSR Edge-LSR Edge-LSRLDP for label distribution