Professional Documents
Culture Documents
BRKMPL-1100
Eric Osborne
Principal Engineer, Cisco
eosborne@cisco.com
2
Session Goals
Objectives
Understand history and business drivers for MPLS
Learn about MPLS customer and market segments
Understand the problems MPLS is addressing
Understand the major MPLS technology components
Understand typical MPLS applications
Understand benefits of deploying MPLS
Learn about MPLS futures; where MPLS is going
BRKMPL-1100
Cisco Public
Agenda
Topics
Introduction
MPLS Technology Basics
MPLS Layer-3 VPNs
MPLS Layer-2 VPNs
Advanced Topics
Summary
BRKMPL-1100
Cisco Public
Introduction
Intro
About Me
Involved in Internet networks since 1995
At cisco since 1998
TAC, AS, DE
BRKMPL-1100
Cisco Public
What Is MPLS?
Multi
Protocol
Label
Switching
BRKMPL-1100
Cisco Public
What is MPLS?
Brief Summary
Its all about labels
Use the best of both worlds
Layer-2 (ATM/FR): efficient forwarding and traffic engineering
Layer-3 (IP): flexible and scalable
Cisco Public
Technology Comparison
Key Characteristics of IP, Native Ethernet, and MPLS
IP
Native Ethernet
MPLS
Label based
TTL support
No TTL support
TTL support
Routing Protocols
Routing Protocols
IP Header
802.3 Header
QoS
OAM
IP ping, traceroute
E-OAM
MPLS OAM
Forwarding
Control Plane
Packet Encapsulation
BRKMPL-1100
Cisco Public
MPLS protocols
Evolution of MPLS
Technology Evolution and Main Growth Areas
Evolved from tag switching in 1996 to full
IETF standard, covering over 130 RFCs
Key application initially were Layer-3 VPNs,
followed by Traffic Engineering (TE),
and Layer-2 VPNs
Optimize MPLS
for Cloud
Optimize MPLS for
packet transport
Optimize MPLS for video
Cisco ships
MPLS
1997 1998
BRKMPL-1100
Large Scale
L2VPN
Deployments
First L2VPN
Deployments
First MPLS TE
Deployments
1999 2000
2001 2002
Large Scale
L3VPN
Deployments
2003 2004
Large Scale
MPLS TE
Deployments
2005 2006
2007 2008
First LSM
Deployments
First MPLS TP
Deployments
Cisco Public
2013 2014
10
Topics
Basics of MPLS Signaling and Forwarding
MPLS reference architecture
MPLS Labels
Service (Clients)
Layer-3 VPNs
Layer-2 VPNs
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS OAM
Management
MPLS OAM
MPLS Forwarding
BRKMPL-1100
Cisco Public
12
MPLS Domain
CE
PE
PE
CE
CE
CE
PE
BRKMPL-1100
PE
Cisco Public
13
MPLS Labels
Label Definition and Encapsulation
MPLS Label Stack Entry
Label = 20 bits
TC
TTL
Label, S=1
Layer 3
Packet
Label, S=0
Label, S=1
Layer 3
Packet
Cisco Public
14
MPLS QoS
QoS Marking in MPLS Labels
MPLS label contains 3 TC bits
Used for packet classification and
prioritization
Similar to Type of Service (ToS) field
in IP packet (DSCP values)
TC
At ingress PE router
Layer-2 Header
MPLS Header
IP DiffServ Marking
DSCP
Layer 3 Header
Cisco Public
15
Label Imposition
(Push)
Label swapping
PE
Label Swap
Label Swap
L1
CE
CE
CE
PE
PE
L3
L2
Label Disposition
(PoP)
PE
BRKMPL-1100
Cisco Public
16
Forwarding
IP
MPLS
Label based
TTL support
TTL support
Exchange of labels
Label bindings
Downstream MPLS node advertises what
label to use to send traffic to node
MPLS forwarding
Control Plane
Packet
Encapsulation
IP Header
QoS
OAM
IP ping, traceroute
MPLS OAM
LDP, RSVP
Cisco Public
17
LDP
Forwarding path
LSP
RSVP signaling
Aka MPLS RSVP/TE
Enables enhanced capabilities, such as
Fast ReRoute (FRR)
LSP or TE Tunnel
Primary and, optionally, backup
Based on TE topology database
Forwarding
Calculation
Packet
Encapsulation
RSVP
Single label
Cisco Public
18
Forwarding Table
Establish IP
reachability
In
Address
Label Prefix
Out Out
Iface Label
Forwarding Table
In
Address
Label Prefix
Forwarding Table
Out Out
Iface Label
128.89
128.89
171.69
171.69
In
Address
Label Prefix
Out Out
Iface Label
128.89
0
0
128.89
0
1
Routing Updates
(OSPF, EIGRP, )
BRKMPL-1100
Cisco Public
171.69
19
Forwarding
Table
Forwarding
Table
Address
I/F
Address
I/F
128.89
128.89
171.69
171.69
Forwarding
Table
Address
I/F
128.89
171.69
128.89
0
128.89.25.4 Data
128.89.25.4 Data
1
128.89.25.4 Data
128.89.25.4 Data
171.69
BRKMPL-1100
Cisco Public
20
Forwarding Table
In Address Out Out
Label Prefix IfaceLabel
128.89
1
20
Forwarding Table
Forwarding Table
171.69
21
21
171.69
36
Out label
0 128.89
0
1
Label Distribution
Protocol (LDP)
171.69
(Downstream
Allocation)
BRKMPL-1100
Cisco Public
21
Forwarding Table
Forwarding Table
171.69
21
21
171.69
36
0 128.89
0
Outgoing interface
Out label
128.89.25.4 Data
30 128.89.25.4 Data
20 128.89.25.4 Data
0
128.89.25.4 Data
Forwarding Table
11
Forwarding based on
Label
Cisco Public
171.69
22
So what?
Cisco Public
23
BRKMPL-1100
Cisco Public
24
IP/MPLS
TE
Topology
database
BRKMPL-1100
Cisco Public
25
Find
shortest
path to R8
with 8Mbps
IP/MPLS
R1
15
10
10
R8
10
10
TE
Topology
database
BRKMPL-1100
Cisco Public
26
Head end
IP/MPLS
L=16
RESV
Tail end
PATH
TE LSP
BRKMPL-1100
Cisco Public
27
Router A
Router B
Router D
Router E
Primary tunnel:
ABDE
Backup tunnel:
B C D (pre-provisioned)
Router Y
Router X
Router C
Primary Tunnel
Recovery time 50 ms
Backup Tunnel
Cisco Public
28
MPLS OAM
Tools for Reactive and Proactive Trouble Shooting of MPLS Connectivity
MPLS LSP Ping
Used for testing end-to-end MPLS connectivity similar to IP ping
Can we used to validate reachability of LDP-signaled LSPs, TE tunnels, and PWs
Auto IP SLA
Automated discovery of all available equal cost LSP paths between PEs
LSP pings are being sent over each discovered LSP path
BRKMPL-1100
Cisco Public
29
Summary
Key Takeaways
MPLS networks consist of PE routers at in/egress and P routers in core
Traffic is encapsulated with label(s) at ingress (PE router)
Labels are removed at egress (PE router)
MPLS forwarding operations include label imposition (PUSH), swapping, and
disposition (POP)
LDP and RSVP can be used for signaling label mapping information to set up
an end-to-end Label Switched Path (LSP)
RSVP label signaling enables setup of TE tunnels, supporting enhanced traffic
engineering capabilities; traffic protection and path management
BRKMPL-1100
Cisco Public
30
Layer-3 VPNs
BRKMPL-1100
Layer-2 VPNs
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
Cisco Public
MPLS OAM
Management
Service (Clients)
32
Cisco Public
33
BRKMPL-1100
Cisco Public
34
PE-CE
Link
PE
CE
VPN signaling
Between PEs
Exchange of VPN policies
PE-CE
Link
VPN Signaling
PE
VPN
Policy
VPN
Policy
VPN
Policy
VPN
CE Policy
CE
PE
CE
PE
PE-CE link
Connects customer network to MPLS
network; either layer-2 or layer-3
BRKMPL-1100
Cisco Public
35
Multi-Point
Layer-2 VPNs
CE
connected
to PE via
p2p L2
connection
CE
connected to
PE via
mp2mp
Ethernet
connection
CE-CE L2
connectivity
CE-CE
routing; no
SP
involvement
BRKMPL-1100
CE-CE L2
connectivity
CE-CE
routing; no
SP
involvement
Cisco Public
36
Management
Service (Clients)
Layer-3 VPNs
Layer-2 VPNs
BRKMPL-1100
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
Cisco Public
MPLS OAM
38
VPN signaling
Between PE routers: customer routes exchanged via BGP (MP-iBGP)
PE-CE link
Can be any type of layer-2 connection (e.g., FR, Ethernet)
CE configured to route IP traffic to/from adjacent PE router
Variety of routing options; static routes, eBGP, OSPF, IS-IS
BRKMPL-1100
Cisco Public
39
CE
VRF
Green
VPN 1
PE
MPLS Backbone
CE
VPN 2
VRF
Blue
Cisco Public
40
PE
CE
PE-CE
Link
PE
Blue VRF
CE
CE
Blue VRF
Red VRF
Red VRF
CE
PE
Static routes
eBGP
OSPF
IS-IS
BRKMPL-1100
PE-CE
Link
PE
Cisco Public
41
BRKMPL-1100
Cisco Public
42
eBGP:
16.1/16
CE1
PE1
BGP advertisement:
VPN-IPv4 Addr = RD:16.1/16
BGP Next-Hop = PE1
Route Target = 100:1
Label=42
Blue VPN
eBGP:
16.1/16
PE2
CE2
ip vrf blue-vpn
VRF
parameters:
RD 1:100
Name
= blue-vpn
route-target
export
RD = 1:100
1:100
Import
Route-Target
route-target
import = 100:1
Export Route-Target = 100:1
1:100
Cisco Public
43
IPv4
IGP
Label C
VPNv4
Label
IGP
Label B
IPv4
VPNv4
Label
IGP
Label A
IPv4
IPv4
IPv4
IPv4
Packet
IPv4
Packet
CE1
VPNv4
Label
PE1
P1
P2
PE2
CE2
Cisco Public
44
CPE
Edge
Core
VPN Core
Edge
CPE
Benefits
Leverage same network for
multiple services and customers
(CAPEX)
Highly scalable
MPLS Node
Network
Segment
Typical
Platforms
CPE
Edge
Core
CE
PE
ASR1K
ASR9K
CRS-1
ISR/G2
7600
ASR9K
ASR1K
ASR903
ME3800X
Cisco Public
45
Benefits
Network segmentation only
requires edge node configuration
Flexible routing; different IP
connectivity can be easily
configured; e.g., full/partial mesh
Access
Edge
Network
Segment
MPLS Node
Typical
Platforms
Core
VPN Core
Edge
Access
Access
Edge
Core
CE
PE
ASR1K
7600
CRS-1
ISR/G2
ASR1K
ASR9K
7600
6500
BRKMPL-1100
Cisco Public
46
MPLS VPNs
at DC edge
Access
Top Of Rack Distribution
Benefits
Core
Edge
Data Center
BRKMPL-1100
Core
Network
Segment
MPLS Node
Typical
Platforms
Distribution
Core
Edge
CE or PE
P or CE
PE
N7K
N7K
ASR9K
6500
6500
7600
Cisco Public
47
BRKMPL-1100
Cisco Public
48
Summary
Key Takeaways
MPLS Layer-3 VPNs provide IP connectivity among CE sites
MPLS VPNs enable full-mesh, hub-and-spoke, and hybrid IP connectivity
CE sites connect to the MPLS network via IP peering across PE-CE links
MPLS Layer-3 VPNs are implemented via VRFs on PE edge nodes
VRFs providing customer routing and forwarding segmentation
BGP used for signaling customer VPN (VPNv4) routes between PE nodes
To ensure traffic separation, customer traffic is encapsulated in an additional
VPN label when forwarded in MPLS network
Key applications are layer-3 business VPN services, enterprise network
segmentation, and segmented layer-3 Data Center access
BRKMPL-1100
Cisco Public
49
Layer-3 VPNs
Layer-2 VPNs
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
MPLS OAM
Management
Service (Clients)
Cisco Public
51
Point-to-point
Referred to as Pseudowires
(PWs)
Point-to-Point
Layer-2 VPNs (VPWS)
Multipoint-to-Multipoint
Layer-2 VPNs
VPLS services
Multipoint-to-Multipoint
EVPN
EVPN
VPLS
BGP-based mp2mp
PBB-EVPN
PBB-EVPN
Cisco Public
52
MPLS L2 VPN
Why so many solutions?
Started with p2p, but that doesnt scale well
Many issues to solve with multipoint
Cisco Public
53
Attachment
Circuit (AC)
Attachment
Circuit (AC)
Pseudo-Wire 1
PE
CE
PE
Layer-2
CE
Layer-2
CE
CE
Layer-2
PE
Pseudo-Wire 2
Layer-2
PE
Signaling: LDP
Cisco Public
54
3
4
CE
PE
4
LDP session
PE
CE
Cisco Public
55
Eth
IGP
Label C
PW
Label
IGP
Label B
Eth
PW
Label
IGP
Label A
Eth
Eth
Eth
Ethernet
Frame
Ethernet
Frame
CE1
PW
Label
PE1
P1
P2
PE2
CE2
Cisco Public
56
EVPN
Provides mp2mp
BGP advertisement:
L2VPN/EVPN Addr = CE1.MAC
BGP Next-Hop = PE1
Route Target = 100:1
Label=42
BGP RR
CE1
PE
PE
CE3
CE4
CE2
PE
PE
Cisco Public
58
PBB-EVPN
Combines Provider Backbone
Bridging (802.1ah) with EVPN
Scales better than straight EVPN
Removes the need to flood all MAC
addresses in BGP
BGP advertisement:
L2VPN/EVPN Addr = PE1.B-MAC
BGP Next-Hop = PE1
Route Target = 100:1
Label=42
Provides mp2mp
BGP RR
CE1
Signaling: BGP
CE2
PE
PE
CE3
CE4
PE
PE
59
CE
PE
PE
CE
Benefits
Leverage same network for
multiple services and
customers (CAPEX)
Highly scalable
BRKMPL-1100
Network
Segment
CE
PE
Typical
Platforms
M3400
ME3800X
CRS-1
ASR901
ASR903
ASR9K
ASR9K
Cisco Public
60
Data Center
DC
Edge
Data Center
DC
Edge
Core
Core
Edge
Data Center
Edge
Benefits
DC
Edge
Core
Network
Segment
MPLS Node
Typical
Platforms
Edge
Core
DC Edge
Core
Edge
CE
PE
ASR9K
CRS-1
ASR9K
7600
ASR9K
7600
6500
BRKMPL-1100
Cisco Public
61
Summary
Key Takeaways
L2VPNs enable transport of any Layer-2 traffic over MPLS network
L2 packets encapsulated into additional VC label
Both LDP and BGP can be used L2VPN signaling
PWs suited for implementing transparent point-to-point connectivity between
Layer-2 circuits (E-LINE services)
VPLS suited for implementing transparent point-to-multipoint connectivity
between Ethernet links/sites (E-LAN services)
Typical applications of L2VPNs are layer-2 business VPN services and Data
Center interconnect
BRKMPL-1100
Cisco Public
62
Advanced Topics
IPv6
6PE
CE
IPv6
IPv4 MPLS
6PE
CE
Easier to deploy
Security mechanism
IPv6
CE
6VPE
IPv6
IPv4 MPLS
6VPE
CE
BRKMPL-1100
Cisco Public
64
Uni-Directional
LSP
MPLS /
IP
IP/MPLS
Benefits of Label-Switched
Multicast
Efficient IP multicast traffic
forwarding
Enables MPLS traffic protection and
BW control of IP multicast traffic
BRKMPL-1100
P2MP or MP2MP
LSP Tree
Label Switched
Multicast (LSM)
IP/MPLS
Cisco Public
65
Bi-Directional
MPLS TP Tunnel
PE
CE
Benefits of MPLS TP
PE
CE
Transport
IP/MPLS
(LDP/RSVP-TE/BGP)
BRKMPL-1100
MPLS-TP
(Static/RSVP-TE)
MPLS Forwarding
Cisco Public
66
Futures
New MPLS Developments on the Horizon
Global Optimization
S-PCE/SDN
MPLS Multilayer
Optimizaton
TE+TP+RSVP+GMPLS
BRKMPL-1100
Control Plane
Reduction
Segment Routing
Cisco Public
67
Summary
Summary
Key Takeaways
Its all about labels
Label-based forwarding and protocol for label exchange
Best of both worlds L2 deterministic forwarding and scale/flexible L3 signaling
Cisco Public
69
Cisco Public
70
BRKMPL-1100
BRKMPL-2100
BRKMPL-2101
BRKMPL-2102
BRKMPL-2108
BRKMPL-2109
BRKMPL-2333
BRKMPL-3010
BRKMPL-3101
LTRMPL-2102
LTRMPL-3100
LTRMPL-3102
PNLSPG-3999
TECMPL-3100
TECMPL-3200
BRKMPL-1100
Introduction to MPLS
Deploying MPLS Traffic Engineering
Deploying MPLS-based Layer 2 Virtual Private Networks
Deploying MPLS-based IP VPNs
Designing MPLS in Next Generation Data Center: A Case Study
MPLS Solutions for Cloud Networking
E-VPN & PBB-EVPN: the Next Generation of MPLS-based L2VPN
Generalized MPLS - Introduction and Deployment
Advanced Topics and Future Directions in MPLS
Enterprise Network Virtualization using IP and MPLS Technologies: Introduction
Unified MPLS Lab
Enterprise Network Virtualization using IP and MPLS Technologies: Advanced
Transport Evolution in SP Core Networks
Unified MPLS - An architecture for Advanced IP NGN Scale
SDN WAN Orchestration in MPLS and Segment Routing Networks
2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
71
Terminology Reference
Acronyms Used in MPLS Reference Architecture
Terminology
Description
AC
AS
CoS
Class of Service
ECMP
IGP
LAN
LDP
LER
Label Edge Router. An Edge LSR Interconnects MPLS and non-MPLS Domains.
LFIB
LSP
LSR
NLRI
P Router
PE Router
An LER in the Service Provider Administrative Domain that Interconnects the Customer Network and the Backbone Network.
PSN Tunnel
BRKMPL-1100
Cisco Public
72
Terminology Reference
Acronyms Used in MPLS Reference Architecture
Terminology
Description
Pseudo-Wire
PWE3
QoS
Quality of Service
RD
Route Distinguisher
RIB
RR
Route Reflector
RT
Route Target
RSVP-TE
VPN
VFI
VLAN
VPLS
VPWS
VRF
VSI
BRKMPL-1100
Cisco Public
73
Further Reading
MPLS References at Cisco Press and cisco.com
http://www.cisco.com/go/mpls
http://www.ciscopress.com
MPLS and VPN Architectures Cisco Press
Jim Guichard, Ivan Papelnjak
Cisco Public
74
Cisco Public
75