Module 6 - L2VPN-VPWS
Module 6 - L2VPN-VPWS
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 259
Multiple Services over a
Converged Infrastructure
Frame IP
Relay VPN
ATM
Frame Relay
Existing Infrastructure PE
Ethernet MPLS/IP
IP/ IPsec
Broadband
Access
FR/ATM
Broadband Frame Relay
ATM
Internet
VLAN 100
Termination
MPLS/IP
VLAN 200 VLAN
200
Transport
VPWS
Layer3
PE
IP
Backbone
CE PE CE
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 264
Layer 3 and Layer 2 VPN Characteristics
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 265
L2VPN - Simple definition
L2VPN
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 266
L2VPN Models
L2-VPN Models
P2MP/
Like-to-Like -or- MP2MP Like-to-Like -or-
Any-to-Any P2P Any-to-Any P2P
Ethernet
FR ATM PPP/ FR ATM PPP/
AAL5/Cell HDLC AAL5/Cell HDLC
Ethernet Ethernet
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 267
Pseudowire—
IETF Technology Adoption
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 268
• Layer 2 Transport (VPWS)
L2TPv3
draft-ietf-l2tpext-l2tp-base-xx
draft-ietf-l2tpext-l2tpmib-base-xx
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 269
VPWS—Pseudowire Reference Model
Customer Customer
Site Site
AC1 MPLS or IP Core AC2
Pseudowires
SJC Vegas
AC3 AC4
Customer Customer
Site Site
Emulated Service
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 270
Building Blocks for L2VPNs—
Data Plan Components—MPLS Core
Customer
VF 100 MPLS VF 200 Customer
Site Site
VC Label 36
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 271
Building Blocks for L2VPNs—
Data Plan Components—FR Example
Customer
MPLS Customer
Site Site
VC Label 36
FR Control VC Tunnel L2
PDU Word Label Label Headers
MPLS Labels
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 272
PWE3 Signaling Concepts
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 273
Building Blocks for L2VPNs—Control Plane
2. Control 2. Control
Plane Plane
2. Auto-discovery (BGP) CE2
CE1
1. VPN101 1. VPN101
Config Config
MPLS
4. Data 4. Data
PE1 Plane Plane PE2
3. Control 3. Control
Plane 3. Signaling (LDP) Plane
Primary Primary
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 274
LDP Signaling Overview
Four Classes of LDP Messages:
1. Peer discovery
LDP link hello message
Targeted hello message
UDP
2. LDP session
LDP initialization and keepalive
Setup, maintain and disconnect LDP session
3. Label advertisement
Create, update and delete label mappings
TCP
4. LDP notification
Signal error or status info
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 275
L2VPN LDP Extended Discovery
Hello Adjacency Established
PE2
PE1
P1 P3
Primary
Site1 Primary
P2 P4 Site2
Targeted Hello
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 276
L2VPN LDP Session Establishment
Exchange LDP Parameters
PE2
PE1
P1 P3
Primary
Site1 Primary
P2 P4 Site2
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 277
L2VPN—Pseudowire Label Binding
2. PE1 Binds VCID 4. PE2 Repeats
to VC Label Same Steps
PE2
PE1 P1 P3
CE1 Primary CE2
Site1 Primary
Site2
P2 P4
3. PE2
1. Provision Matches its
AC and PW VCID to One
Received
Uni-Directional PW LSP Established
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 278
New VC FEC Element
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 279
Pseudowire VC Type
Some Widely Deployed VC Types
PW Type Description
0x0001 Frame Relay DLCI
0x0002 ATM AAL5 SDU VCC transport
0x0003 ATM transparent cell transport
0x0004 Ethernet Tagged Mode (VLAN)
0x0005 Ethernet
0x0006 HDLC
0x0007 PPP
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 280
L2VPNs—Label Stacking
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
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 281
Generic Control Word—
VC Information Fields
Control Word
bits 4 4 8 16
delivery of frames
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 282
VPWS Transport
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 283
VPWS Transports—Encapsulations
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 284
VPWS Transports
CE
Frame MPLS Frame
CE
Relay Relay
CE CE
ATM ATM
CE PPP/ PPP/ CE
HDLC HDLC
CE CE
Ethernet Ethernet
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 285
VPWS Transports Service—Reference Model
End-to-End VPWS VCs
Pair of Uni-Directional
PW LSPs
One One
Bi-Directional Bi-Directional
Ethernet Ethernet
CE-1 ATM ATM CE-2
FR FR
PPP PPP
HDLC PE1 PE2 HDLC
Tunnel LSP
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 286
VPWS EoMPLS—
RFC 4448
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 287
VPWS FRoMPLS—
draft-ietf-pwe3-frame-relay-encap-xx.txt
Bits 4 1 1 1 1 8 16
Rsvd F B D C Length Sequence Number FR Control Word
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 288
VPWS CRoMPLS—
draft-ietf-pwe3-atm-encap-xx.txt
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
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 289
VPWS CPKoMPLS—Encapsulation
draft-ietf-pwe3-atm-encap-xx.txt
ATM Cell
<4 bits> <8 bits> <16 bits> <3 bits> <1 bit> <8 bits> " 48 Bytes #
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 290
VPWS CPKoMPLS—
draft-ietf-pwe3-atm-encap-xx.txt
CPKoMPLS = Cell Packing over MPLS
• Used to mitigate cell to MPLS packet MTU
inefficiencies
• Concatenated ATM cell (52 bytes); no HEC
• Maximum 28 cells per MPLS frame
(<1500 byte MTU)
• VC/VP/port mode support
• Cell Packing operation:
-Maximum Number of Cells to Pack (MNCP)
-Minimum Cell Packing Timer (MCPT)
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 291
VPWS AAL5oMPLS—
draft-ietf-pwe3-atm-encap-xx.txt
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
AAL5 CPCS-SDU
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
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 293
Frame Format CE — LER
• C bit
• 12 bit VID TDP/LDP TDP/LDP
CE2
CE1
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 294
Frame Format LER—LSR
• 1 Byte TTL
TDP/LDP TDP/LDP
CE2
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved.
CE1 295
Frame Format LER—LSR (Cont.)
MPLS Labeled Packet
• VC Label
- Label 18 (12) TDP/LDP TDP/LDP
- Exp = 0
- S=1 CE2
CE1
- TTL = 02
Detaled packet header explanation at:
http://www-tac.cisco.com/Teams/NSA/MPLS/EOMPLS/pac1.htm
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 296
Frame Format LSR—LSR
• VC Label
TDP/LDP
- Label 18 (12) TDP/LDP
- Exp/S = 1
CE2
- TTL = 02
CE1
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 297
Frame Format LSR—LER
DA SA 8847 00012 1 01 DA SA …
•VC Label
- Label 18 (12)
- Exp/S = 1
11.10.128.204/32
- TTL = 01
PE2 11.10.128.201/32
Core-1 Core-3 PE4
GE2/1
TDP/LDP TDP/LDP
CE2
CE1
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 298
Example: VPWS
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 299
Point-to-Point
VLAN over MPLS
MPLS or IP Core
CE 1 PE 1 CE 2
PE 2
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 300
Point-to-Point
Cell Relay over MPLS
MPLS or IP Core
CE 1 PE 1 CE 2
PE 2
MPLS Overview © 2005 Cisco Systems, Inc. All rights reserved. 301