Professional Documents
Culture Documents
BRKMPL-1101
BRKMPL-1101
Cisco Public
Session Goals
Objectives
BRKMPL-1101
Cisco Public
Agenda
Topics
Introduction
MPLS Technology Basics
MPLS Layer-3 VPNs
MPLS Layer-2 VPNs
Advanced Topics
Summary
BRKMPL-1101
Cisco Public
Introduction
What is MPLS?
Brief Summary
Cisco Public
Technology Comparison
Key Characteristics of IP, Native Ethernet, and MPLS
IP
Native Ethernet
MPLS
Label based
Forwarding table learned from
control plane
TTL support
Routing Protocols
Routing Protocols
MPLS protocols
IP Header
802.3 Header
QoS
OAM
IP ping, traceroute
E-OAM
MPLS OAM
Forwarding
Control Plane
Packet Encapsulation
BRKMPL-1101
Cisco Public
Evolution of MPLS
Technology Evolution and Main Growth Areas
Today
Optimize MPLS
for Cloud
Optimize MPLS for
packet transport
Optimize MPLS for video
First MPLS TE
Deployments
BRKMPL-1101
Large Scale
L2VPN
Deployments
First L2VPN
Deployments
Large Scale
L3VPN
Deployments
Large Scale
MPLS TE
Deployments
First LSM
Deployments
First MPLS TP
Deployments
Cisco Public
2013 2014
Market Segments
MPLS Business Drivers and Typical Deployment Characteristics
Service Provider
Enterprise
Data Center
BRKMPL-1101
Business Drivers
Business Goals
MPLS Capabilities
Layer-3 VPN
Layer-2 VPN
MPLS TE
MPLS OAM, QoS
S Network Segmentation
S Network integration
S Multi-tenant hosting
S Data Center Interconnect
Layer-3 VPN
Cisco Public
Layer-2 VPN
Layer-3 VPN
Aggregation
Distribution
Enterprise
Core Backbone
WAN Edge
ISR/G2
6500
NEXUS
7K
ASR1K
Data Center
NEXUS 7K
6500
6500
6500
NEXUS 7K
ASR9000
7600
Service Provider
ASR901
ASR903
ASR9000
ME3800X
BRKMPL-1101
7600
CRS
GSR
ASR9000
ASR9000
GSR
ASR1K
7600
Cisco Public
10
Topics
Service (Clients)
MPLS Labels
Management
Layer-3 VPNs
Transport
IP/MPLS
(LDP/RSVP-TE/BGP)
Layer-2 VPNs
MPLS Forwarding
BRKMPL-1101
Cisco Public
12
MPLS Domain
CE
PE
PE
CE
CE
CE
PE
BRKMPL-1101
PE
Cisco Public
13
MPLS
Label
0
1
2
3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Label # 20bits
TC
TTL-8bits
MAC Header
Label
Layer 3 Packet
Label
Label S
Layer 3 Packet
BRKMPL-1101
Cisco Public
14
MPLS QoS
TC
At ingress PE router
Layer-2 Header
MPLS Header
IP DiServ Marking
DSCP
Layer
3
Header
Cisco Public
15
BRKMPL-1101
L1
L2
Label
Swap
L2
L3
Label
Disposion
(PoP)
L3
L2/L3 Packet
CE
PE
PE
CE
CE
CE
PE
Cisco Public
PE
16
Forwarding
Exchange of labels
IP
MPLS
Label based
Forwarding table learned
from control plane
TTL support
Label bindings
Control Plane
Packet
Encapsulation
IP Header
QoS
OAM
IP ping, traceroute
MPLS OAM
MPLS forwarding
MPLS Forwarding table
(FIB)
*
LDP
signaling
assumed
for
next
the
examples
BRKMPL-1101
Cisco Public
17
RSVP signaling
Aka MPLS RSVP/TE
Enables enhanced
capabilities, such as
Fast ReRoute (FRR)
Forwarding path
Forwarding
Calculation
Packet
Encapsulation
Signaling
BRKMPL-1101
LDP
RSVP
LSP
LSP or TE Tunnel
Primary and, optionally, backup
Based on TE topology
database
Shortest-path and/or other
constraints
(CSPF calculation)
Single label
Cisco Public
18
IP routing information
exchanged between
nodes
Via IGP (e.g., OSFP,
IS-IS)
Forwarding
Table
Forwarding
Table
Address
Prex
128.89
171.69
BRKMPL-1101
Address
Prex
I/F
Address
Prex
I/F
128.89
171.69
I/F
128.89
171.69
Packets being
forwarded based on
destination IP address
Lookup in routing table
(RIB)
Forwarding Table
128.89
0
0
128.89.25.4
128.89.25.4
Data
Data
1
128.89.25.4
Data
128.89.25.4
Data
171.69
Cisco Public
19
Exchange of IP routes
OSPF, IS-IS, EIGRP,
etc.
Establish IP
reachability
Forwarding
Table
In
Label
Forwarding
Table
In
Label
128.89
128.89
171.69
171.69
Forwarding
Table
In
Label
0
128.89
0
1
1
BRKMPL-1101
0
1
1
Cisco Public
171.69
20
Forwarding
Table
In
Label
Forwarding Table
In
Label
128.89
20
128.89
171.69
21
171.69
Forwarding Table
In
Label
30
128.89
0
128.89
0
1
1
1
171.69
BRKMPL-1101
Cisco Public
21
Forwarding
Table
In
Label
Forwarding Table
In
Label
128.89
20
20
128.89
30
171.69
21
21
171.69
36
In
Label
30
128.89
0
128.89
0
Label
Distribuon
Protocol
(LDP)
(Downstream Allocaon)
BRKMPL-1101
Forwarding Table
Cisco Public
171.69
22
Forwarding
Table
In
Label
128.89
20
20
128.89
30
171.69
21
21
171.69
36
In
Label
30
128.89
0
128.89
0
128.89.25.4
Data
20
0
128.89.25.4
In
Label
Forwarding Table
Outgoing interface
Out label
Forwarding Table
30
128.89.25.4
Data
128.89.25.4
Data
Data
1
1
Cisco Public
171.69
23
Primary tunnel:
Router B
Router D
Router E
ABDE
Backup tunnel:
B C D (pre-provisioned)
Router Y
Router
X
Router
C
Primary Tunnel
Recovery time* ~ 50 ms
Backup Tunnel
Cisco Public
24
MPLS-LDP-STD-MIB
Provides LDP session configuration and status information
Frequently used: LDP session status Trap notifications
MPLS-L3VPN-STD-MIB
Provides VRF configuration and status information and associated interface mappings
Frequently used: VRF max-route Trap notifications
MPLS-TE-STD-MIB
Provides TE tunnel configuration and status information
Frequently used: TE Tunnel status Trap notifications
BRKMPL-1101
Cisco Public
25
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 reach ability 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-1101
Cisco Public
26
Summary
Key Takeaways
Cisco Public
27
Service (Clients)
Technology options
BRKMPL-1101
Layer-3 VPNs
Layer-2 VPNs
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
Cisco Public
MPLS
MIBs
and
OAM
Management
29
BRKMPL-1101
Cisco Public
30
VPN signaling
PE
CE
Between PEs
VPN
Policy
VPN Signaling
PE-CE
Link
CE
VPN
Policy
Additional VPN-related
MPLS label encapsulation
PE
VPN
PE-CE
Link
PE
CE
VPN
Policy
VPN
Policy
CE
PE
PE-CE link
Connects customer network
to MPLS network; either
layer-2 or layer-3
BRKMPL-1101
Cisco Public
31
BRKMPL-1101
Mul-Point
Layer-2
VPNs
CE
connected
to
PE
via
Ethernet
connecon
(VLAN)
CEs
peer
with
each
other
via
fully/
paral
mesh
Layer-2
VPN
connecon
CE-CE
roung;
no
SP
involvement
Cisco Public
32
Technology components
Service (Clients)
Management
Layer-3 VPNs
Layer-2 VPNs
BRKMPL-1101
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
Cisco Public
34
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-1101
Cisco Public
35
CE
VPN 1
VRF Green
PE
CE
VPN
2
MPLS
Backbone
VRF
Blue
Cisco Public
36
Multi-Protocol BGP
extensions (MP-iBGP) to
carry VPN policies
PE-CE routing options
Static routes
eBGP
PE-CE
Link
PE
CE
PE
Blue
VPN
Policy
CE
CE
BlueVPN
Policy`
Red
VPN
Policy
CE
Red
VPN
Policy
PE
OSPF
IS-IS
BRKMPL-1101
PE-CE
Link
PE
Cisco Public
37
BRKMPL-1101
Cisco Public
38
eBGP:
16.1/16
IP
Subnet
CE1
PE1
BGP
adversement:
VPN-IPv4
Addr
=
RD:16.1/16
BGP
Next-Hop
=
PE1
Route
Target
=
100:1
Label=42
Blue VPN
eBGP:
16.1/16
IP
Subnet
PE2
CE2
VRF
ip
vrfparameters:
blue-vpn
Name
= blue-vpn
RD 1:100
RD
= 1:100 export 1:100
route-target
Import
Route-Target
= 100:1
route-target
import 1:100
Cisco Public
39
IPv4
IPv4
IPv4
Packet
IPv4
Packet
CE1
PE1
P1
Blue
VPN
P2
PE2
CE2
VRF
ip vrfparameters:
blue-vpn
Name
= blue-vpn
RD 1:100
RD
= 1:100 export 1:100
route-target
Import
Route-Target
= 1:100
route-target
import 1:100
Export Route-Target = 1:100
Cisco Public
40
Benefits
CPE
Edge
Network Segment
MPLS Node
Typical Platforms
Core
VPN
Core
Edge
CPE
CPE
Edge
Core
CE
PE
ASR1K
ASR9K
CRS-1
ISR/G2
7600
GSR
ASR1K
ASR9K
ASR903
ME3800X
Cisco Public
41
Benefits
Network segmentation only
requires edge node
configuration
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
GSR
ASR9K
7600
6500
Cisco Public
42
MPLS Layer-3 VPNs for Segmented L3 Data Center Access and Interconnect
Deployment Use Case
MPLS
VPNs
at
DC
edge
Access
Top
Of
Rack
Distribuon
Benefits
Only single Data Center
edge node needed for
segmented layer-3 access
Enables VLAN/Layer-2
scale (> 4K)
BRKMPL-1101
Core
Core
Edge
Data
Center
Network Segment
MPLS Node
Typical Platforms
Distribution
Core
Edge
CE or PE
P or CE
PE
N7K
N7K
ASR9K
6500
6500
7600
Cisco Public
43
Summary
Key Takeaways
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-1101
Cisco Public
44
Management
Layer-3 VPNs
Layer-2 VPNs
Transport
IP/MPLS (LDP/RSVP-TE/BGP)
MPLS Forwarding
MPLS
MIBs
and
OAM
Service (Clients)
BRKMPL-1101
Cisco Public
46
Point-to-point
Referred to as
Pseudowires (PWs)*
VPLS services
Multipoint-to-Multipoint
Point-to-Point
Layer-2
VPNs
(PWs)
CE
connected
to
PE
via
p2p
L2
connecon
(e.g.,
FR,
ATM)
CEs
peer
with
each
other
(IP
roung)
via
p2p
layer-2
VPN
connecon
CE-CE
roung;
no
MPLS
network
involvement
Mulpoint-to-Mulpoint
Layer-2
VPNs
(VPLS)
CE
connected
to
PE
via
Ethernet
connecon
(VLAN)
CEs
peer
with
each
other
via
fully/paral
mesh
Layer-2
VPN
connecon
CE-CE
roung;
no
MPLS
network
involvement
BRKMPL-1101
Cisco Public
47
Aachment
Circuit
(AC)
PE
CE
Pseudo-Wire 1
PE
Layer-2
CE
Layer-2
Pseudo-Wire 2
CE
CE
Layer-2
BRKMPL-1101
Aachment
Circuit
(AC)
PE
PE
Layer-2
Cisco Public
48
VPN signaling
Targeted LDP* or BGP session between ingress and egress PE router
Virtual Connection (VC)-label negotiation, withdrawal, error notification
1 or 2 labels used for encapsulation + 1 (IGP) label for forwarding: VC label + optional control word
Inner de-multiplexer (VC) label: identifies L2 circuit (packet)
Control word: replaces layer-2 header at ingress; used to rebuild layer-2 header at egress
Outer tunnel (IGP) label: to get from ingress to egress PE using MPLS LSP
PE-CE link
Referred to as Attachment Circuit (AC)
Can be any type of layer-2 connection (e.g., FR, ATM)
*
LDP
is
assumed
as
signaling
protocol
for
next
examples
BRKMPL-1101
Cisco Public
49
BRKMPL-1101
3
4
PE
CE
Layer-2
2
P
LDP session
4
PE
1
CE
Layer-2
Cisco Public
50
L2
Layer-2
Tunnel
VC
Label
C
Label
L2
Tunnel
VC
Label
B
Label
L2
P1
Tunnel
VC
Label
A
Label
L2
P2
L2
Layer-2
PE2
Packet
CE2
Cisco Public
51
Aachment
Circuit
(AC)
PE
CE
PE
Layer-2
CE
Layer-2
CE
CE
Layer-2
Always Ethernet
BRKMPL-1101
Aachment
Circuit
(AC)
PE
PE
Layer-2
Cisco Public
52
VPN signaling
Full mesh of targeted LDP* (VC exchange) and/or BGP sessions (discovery and VC exchange)
Virtual Connection (VC)-label negotiation, withdrawal, error notification
PE-CE link
Referred to as Attachment Circuit (AC)
Ethernet VCs are either port mode or VLAN ID
*
LDP
is
assumed
as
signaling
protocol
for
next
examples
BRKMPL-1101
Cisco Public
53
L2
Tunnel
VSI
Label
C
Label
L2
PE
CE
Tunnel
VSI
Label
B
Label
L2
Tunnel
VSI
Label
A
Label
L2
L2
PE
Layer-2
CE
Layer-2
CE
CE
Layer-2
PE
PE
Layer-2
BRKMPL-1101
Cisco Public
54
Benefits
NID
Edge
Ethernet
xconnect
Network Segment
MPLS Node
Core
Typical Platforms
MPLS
Core
Network
Edge
NID
Ethernet
xconnect
NID *
Edge
Core
CE
U-PE
M3400
ME3800X
CRS-1
ASR901
ASR903
GSR
ASR9K
ASR9K
BRKMPL-1101
Cisco Public
55
Data
Center
DC
Edge
Benefits
Single WAN uplink to
connect to multiple
Data Centers
Easy implementation of
segmented layer-2 traffic
between Data Centers
Data
Center
DC
Edge
Core
Edge
Data
Center
Edge
DC
Edge
Ethernet
Core
Network Segment
MPLS Node
Typical Platforms
BRKMPL-1101
Core
Edge
Core
Ethernet
DC Edge
Core
Edge
CE
PE
ASR9K
CRS-1
ASR9K
7600
GSR
7600
6500
ASR9K
Cisco Public
56
Summary
Key Takeaways
BRKMPL-1101
Cisco Public
57
Advanced Topics
Latest MPLS Technology Developments, Trends, and Futures
IPv6 Support for Native MPLS Deployments and MPLS Layer-3 Services
IPv6 traffic carried over IPv4
MPLS network
Encapsulation of IPv6 into
IPv4 LSP (6PE)
IPv6
6PE
CE
IPv6
IPv4 MPLS
6PE
CE
IPv6
CE
6VPE
IPv6
IPv4 MPLS
v6VPN
6VPE
CE
BRKMPL-1101
Cisco Public
59
Uni-Direconal
LSP
MPLS
/
IP
IP/MPLS
Benefits of Label-Switched
Multicast
Efficient IP multicast traffic
forwarding
P2MP
or
MP2MP
LSP
Tree
Label
Switched
Mulcast
(LSM)
IP/MPLS
Cisco Public
BRKMPL-1101
Bi-Direconal
MPLS
TP
Tunnel
PE
CE
PE
CE
Transport
IP/MPLS
(LDP/RSVP-TE/BGP)
MPLS-TP
(Stac/RSVP-TE)
MPLS Forwarding
Cisco Public
61
Futures
New MPLS Developments on the Horizon
MPLS
Transport
Evoluon
BRKMPL-1101
Cisco Public
62
Summary
Final Notes and Wrap Up
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
BRKMPL-1101
Cisco Public
64
Cisco Public
65
References
Further Readings on MPLS Technology
Cisco Public
67
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-1101
Cisco Public
68
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-1101
Cisco Public
69
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
70
BRKMPL-1101
Cisco Public
71
Presentation_ID
Cisco Public
For
your
reference
only
Overview
MPLS nodes need to exchange label information with each other
Ingress PE node (Push operation)
Needs to know what label to use for a given FEC to send packet to neighbor
Note that, in addition LDP, also other protocols are being used for label information
exchange
Will be discussed later
BRKMPL-1101
Cisco Public
73
For
your
reference
only
Uses UDP (port 646) for session discovery and TCP (port 646) for exchange of LDP messages
LDP operations
LDP Peer Discovery
LDP Session Establishment
MPLS Label Allocation, Distribution, and Updating MPLS forwarding
BRKMPL-1101
Cisco Public
74
For
your
reference
only
Operations Details
LDP startup
Local labels assigned to RIB
prefixes and stored in LIB
Peer discovery and session
setup
Exchange of MPLS label
bindings
Programming of MPLS
forwarding
Based on LIB info
CEF/MFI updates
BRKMPL-1101
MPLS Node A
MPLS Node B
Session Setup
RIB
LIB
RIB
LIB
Label
Binding
Exchange
LDP
Interacons
with
MPLS
Forwarding
MPLS
Forwarding
CEF/MFI
MPLS
Forwarding
CEF/MFI
Cisco Public
75
For
your
reference
only
MPLS QoS used for traffic prioritization to guarantee minimal traffic loss
and delay for high priority traffic
Involves packet classification and queuing
BRKMPL-1101
Cisco Public
76
For
your
reference
only
At ingress PE:
CE
PE
CE
IP
DSCP
3
MPLS
EXP
3
MPLS
EXP
2
MPLS
EXP
3
MPLS
EXP
3
MPLS
EXP
2
IP
DSCP
3
IP
DSCP
3
IP
DSCP
3
PE
IP
DSCP
2
IP
DSCP
2
At egress PE:
EXP value copied back into
IP DSCP value
BRKMPL-1101
Cisco Public
77
For
your
reference
only
CE
At ingress PE:
PE
CE
IP
DSCP
3
PE
MPLS
EXP
3
MPLS
EXP
2
MPLS
EXP
2
MPLS
EXP
3
MPLS
EXP
3
MPLS
EXP
3
MPLS
EXP
2
IP
DSCP
3
IP
DSCP
3
IP
DSCP
3
IP
DSCP
3
IP
DSCP
3
At egress PE:
EXP value not copied back
into IP DSCP value
BRKMPL-1101
Cisco Public
78
For
your
reference
only
CE
At ingress PE:
PE
CE
IP
DSCP
3
MPLS
EXP
3
MPLS
EXP
2
MPLS
EXP
3
MPLS
EXP
3
MPLS
EXP
2
IP
DSCP
3
IP
DSCP
3
IP
DSCP
3
PE
IP
DSCP
3
IP
DSCP
3
At egress PE:
Original IP DSCP value
used for QoS processing
BRKMPL-1101
Cisco Public
79
For
your
reference
only
Cisco Public
80
Node
Next-Hop
Cost
10
10
20
20
30
30
Router
B
Router A
b Dr
OC-3
ops
OC-3
Router
E
Router
G
DS3
OC-3
Router
C
BRKMPL-1101
DS3
Tra
b
80
M
Router F
35 M
DS3
OC-3
Router D
Cisco Public
81
For
your
reference
only
Node
Next-Hop
Cost
10
10
20
20
Tunnel 0
30
Tunnel 1
30
No link oversubscribed!
Router
B
Router
A
OC-3
OC-3
DS3
40 M
40 Mb
OC-3
Router
C
BRKMPL-1101
Router F
DS3
Router
E
Router
G
DS3
OC-3
Router D
Cisco Public
82
TE Tunnel Signaling
For
your
reference
only
IP/MPLS
Head end
L=16
Tail end
RESV
PATH
Input
Label
Out Label,
Interface
17
16, 0
TE LSP
BRKMPL-1101
Cisco Public
83
For
your
reference
only
Head
end
IP/MPLS
Mid-point
Tail end
TE LSP
*
Oponal
BRKMPL-1101
Cisco Public
84
For
your
reference
only
IP/MPLS
Neighbor address
Physical bandwidth
Maximum reservable bandwidth
Unreserved bandwidth
(at eight priorities)
TE metric
Administrative group (attribute flags)
TE
Topology
database
Cisco Public
85
Path Calculation
For
your
reference
only
IP/MPLS
R1
15
10
10
R8
10
10
TE
Topology
database
n
n
BRKMPL-1101
Cisco Public
86
TE Tunnel Signaling
For
your
reference
only
IP/MPLS
Head end
L=16
Tail end
RESV
PATH
Input
Label
Out Label,
Interface
17
16, 0
TE LSP
BRKMPL-1101
Cisco Public
87
For
your
reference
only
P
CE
PE
P
Benefits
Sub-second failover
protection against link
failures in core network
Can be less than 50 ms
Network Segment
MPLS Node
Typical Platforms
MPLS
CPE
P
PE
CE
Edge
Core
CE
PE
ASR1K
ASR9K
CRS-1
ISR/G2
7600
GSR
ASR1K
ASR9K
ASR903
ME3800X
BRKMPL-1101
Cisco Public
88
MPLS Management
For
your
reference
only
Overview
Cisco Public
89
Presentation_ID
Cisco Public