Você está na página 1de 83

L2VPN TUTORIAL

Path to Convergence

Syed Nawaz (s n awaz@ c i s c o . c o m )


M u h am m ad W ar i s Sag h eer (war i s @ c i s c o . c o m )

L2VPN NANOG 2006 1


Agenda
1 . I n t r o du c t i o n t o L 2 V P Ns
2 . Si g n al i n g C o n c ep t s
3 . V P W S T r an s p o r t s
4 . V P W S Ser v i c e I n t er wo r k i n g
5 . V i r t u al P r i v at e L A N Ser v i c e
6 . P s eu do W i r e St i t c h i n g
7 . Q u al i t y o f Ser v i c e
8 . O A M
9 . D em o n s t r at i o n
1 0 .Q & A
L 2V P N N A N O G 20 0 6
. 2
Introduction to L2VPNs

L 2V P N N A N O G 20 0 6
. 3 3
VPN Deployments Today
Technology & VPN Diversity

Access D if f erent A c c es s T ec h nologies


Access
D if f erent C ore S olu tions
Only Partial Integration

IP/ IPsec MPLS o r I P IP/ IPsec

F R /A T M F R /A T M
B ro a d b a n d ATM B ro a d b a n d

E t h er n et S O N E T E t h er n et

L 2V P N N A N O G 20 0 6
. 4
C onsoli dated C or e su ppor ts …

Access D i f f er en t A c c es s T ec h n o l o g i es Access
C o m p l et e I n t eg r at i o n

IP/ IPsec IP/ IPsec


M P L S o r IP

F R /A T M F R /A T M
B ro a d b a n d B ro a d b a n d

E t h er n et E t h er n et

L 2V P N N A N O G 20 0 6
. 5
What is L2VPN?

• L 2 V P N p r o v i d es a n e n d -t o -e n d l a y e r 2 c o n n e c t i o n t o a n
en t er p r i se o f f i ce i n D a l l a s a n d S a n J o se o v er a S P ’s M P L S o r
I P co r e

It ca n b e E t h er n et , F r a m e R el a y , A T M , H D L C , PPP, et c …

It i s f o r layer 2 connectivity only,L2VPNl a y er 3 i s t r a n sp a r en t t o M PL S


co r e: l a y er 3 ca n b e IPX , IPv 4 , IPv 6 , et c … a n d no rou ting is involved
w i t h M PL S co r e
C E 1 Frame Relay Frame Relay C E 2
A T M M M PLPL S S /IP /IP A T M
o y ed o v er M PL S coC C r o eo r r eb eu t IP co r e ( L 2 T PvE t 3 h ernet
It i s d epE t h l ernet ) d ep l o y m en t s
ex i st
S J C - PE D a l l a s - PE

L 2V P N N A N O G 20 0 6
. 6
Why is L2VPN n e e d e d ?

• Al l o w s S P t o h a v e a s i n g l e i n f r a s t r u c t u r e f o r b o t h I P a n d l e g a c y s e r v i c e s

Migration

P rov is ioning is inc re m e ntal

C ap ital and O p e rational s av ings

• C u s to m e r c a n h a v e th e ir o w n r o u tin g , q o s p o lic ie s , s e c u r ity m e c h a n is m s , e tc

• o p e n a r c h i t e c t u r e a n d v e n do r i n t e r o p e r a b i l i t y

L 2V P N N A N O G 20 0 6
. 7
Lay e r 3 an d Lay e r 2 VPN C har ac te r istic s
LAYER 3 VPNS LAYER 2 VPNS
1 . P a ck et b a sed f o r w a r d i n g 1 . F r a m e B a sed f o r w a r d i n g e. g .
e. g . I P D L C I , V L AN , V P I / V C I
2 . S P i s i n v o l v ed 2 . N o S P i n v o l v em en t
3 . I P sp eci f i c 3 . M u l t i p r o t o co l su p p o r t
4 . E x a m p l e: R F C 2 5 4 7 b i s V P N s 4 . E x a m p l e: F R —AT M —E t h er n et
( L 3 M P L S -V P N )

T h e C h o i ce o f L 2 V P N o v er L 3 V P N W i l l D ep en d o n H o w M u ch
C o n t r o l t h e E n t er p r i se W a n t s t o R et a i n .
L 2 V P N S er v i ces Ar e C o m p l em en t a r y t o L 3 V P N S er v i ces
L 2V P N N A N O G 20 0 6
. 8
L2VPN M o d e l s
L2-V PN Mo de l s

MPLS C o r e IPc o r e

V PW S V PLS V PW S

P2MP/
Li k e -t o -l i k e -o r - Li k e -t o -l i k e -o r -
MP2MP
An y -t o -An y . P2P An y -t o -An y . P2P

E th e rn e t

F R ATM PPP/ F R ATM PPP/


AAL5 / C e l l HD LC AAL5 / C e l l HD LC

E th e rn e t E th e rn e t
L 2V P N N A N O G 20 0 6
. 9
VPWS - Pse u d o Wir e R e f e r e n c e M o d e l

Cus t o mer Cus t o mer


S ite S ite
M PL S o r I P c o re A C2
A C1

Ps eud o W i res

S J C D a lla s

A C3 A C4
Cus t o mer Cus t o mer
S ite S ite

E m u l a t ed S er v i ce

A p s e u do -w i r e ( PW ) i s a c o n n e c t i o n b e t w e e n t w o p r o v i de r e dg e ( PE ) de v i c e s
w h i c h c o n n e c t s t w o a t t a c h m e n t c i r c u i t s ( AC s ).

L 2V P N N A N O G 20 0 6
. 10
Pseudo Wire –
B as i c B u i l d i ng B l ock s

C o n tro l
C o n n e c tio n

R eq u i r ed C o m p o n en t s

Tr a n s p o r t M PL S o r a n IP H ea d er .
C o m p o n e n t

Tu n n e l i n g V C L a b el o r V C ID
C o m p o n e n t

L2 PD U E t h er n et , F r a m e R el a y , H D L C f r a m es

L 2V P N N A N O G 20 0 6
. 11
B uil din g B l oc k s f or L 2 V PN s –
D ata Pl an Com p onents – I P Core ( I P E x am p l e)

L 2T Pv 3 E nc ap
Frame Relay PD U CW (o p t) S es s I D + Co o k i e I Pv 4 L o c al H ead er

T rans p o rt
H ead er

T unneli ng
H ead er

4 b y te S e s s ion I D + O p tional 8 b y te C ook ie


L 2 PD U

L 2V P N N A N O G 20 0 6
. 12
B uil din g B l oc k s f or L 2 V PN s –
D ata Pl an Com p onents – M PL S Core ( E thernet)

M art i ni / PW E 3 E nc ap
E t h ernet PD U CW V C L ab el T unnel L ab el L o c al H ead er
M PL S L ab els

T rans p o rt
H ead er

T unneli ng
H ead er

4 b yt e M PL S L ab el
L 2 PD U

L 2V P N N A N O G 20 0 6
. 13
S erv ic e O f f erin g s –
L 2 V PN T rans p ort S ervi ces

A T M F r a m e R el a y E t h er n et
VPWS VPL S
Ethernet Multipoint
AAL5 over FR over Pseudowire Ethernet Relay Service (EMS)
Pseudowire Service (ERS)

Muxed UNI Muxed UNI Muxed UNI Unmuxed


UNI

Cell Relay w/ packing


over Pseudowire Ethernet Relay
PPP/HDLC over Ethernet Wire Service Multipoint Service
Pseudowire (EWS) (ERMS)

Muxed UNI
Muxed
Unmuxed UNI UNI

Unmuxed UNI
Other variants

PPP/H D L C
L 2V P N N A N O G 20 0 6
. 14
I E T F S t a n da rdiz a t ion A c t iv it y

• IE T F w o r k in g g r o u p P W E 3
‘P s eu d o W ire E m u lation E d g e to E d g e’;
R eq u irem ents d etailed in
• draft-i e tf-p w e 3 -re q u i re m e n ts
• draft-i e tf-p w e 3 -fram e w o rk
• D ev el o p st a n d a r d s f o r t h e en ca p su l a t i o n & ser v i ce em u l a t i o n o f
“p seu d o w i r es”
A cros s a p ack et s w itch ed b ack b one
• F o cu sed o n P o i n t -t o -P o i n t ci r cu i t em u l a t i o n
P S N tu nnel -> G R E , M P L S , L 2T P
S ervice -> E th ernet, A T M , P P P , F R , H D L C and s o on . .

L 2V P N N A N O G 20 0 6
. 15
• L a y er 2 T r a n sp o r t ( V P W S )
– L2TPv3
• d r a f t -i e t f -l 2 t p e x t -l 2 t p -b a s e -x x
• d r a f t -i e t f -l 2 t p e x t -l 2 t p m i b -b a s e -x x
– M PLS ( P2P, f o r m e r l y d r a f t -m a r t i n i )
• d r a f t -i e t f -p w e 3 -c o n t r o l -p r o t o c o l -x x
• d r a f t -i e t f -p w e 3 -[ a t m , f r a m e -r e l a y , e t h e r n e t , e t c . ]
• L a y er 2 V P N (V P L S )
• d r a f t -i e t f -l 2 v p n -v p l s -l d p -x x ( L D P B a s e d S i g n a l l i n g )
• Au t o -P r o v i si o n i n g
• d r a f t -i e t f -b g p v p n -a u t o -x x ( B G P a u t o -d i s c o v e r y )

L 2V P N N A N O G 20 0 6
. 16
S ig na l ing C once p ts

L 2V P N N A N O G 20 0 6
. 1 7 17
V irt ua l Priv a t e Wire S erv ic e–
Provi s i oni ng

Ps eud o w i re

PE 2 rep eat s s t ep s 1-5 s o t h at


b i -d i rec t i o nal lab el/ V CI D
map p i ng s are es t ab li s h ed
1. x c o nnec t c o mmand
ent ered o n t h e i ng PE res s 1
4 . PE 1 s end s lab el PE 2 UNI S i g nali ng
UNI PES i g ( nali
Po rtng, S ub I F, et c . )
map p i ng mes s ag e
c o nt ai ni ng V C FE C
T L V & V C lab el T L V
M PL S / IP 5. PE 2 rec ei v es V C
FE C T L V & V C lab el
3 . PE 1 allo c at es V C T L V t h at mat c h es
lab el f o r new i nt erf ac e 2. PE 1 s t art s t arg et ed lo c al V CI D
& b i nd s t o c o nf i g ured L D P s es s i o n w i t h PE 2
V CI D i f o ne d o es no t
alread y ex i s t

E x t end ed L D P

L 2V P N N A N O G 20 0 6
. 18
L2 VPN Ps e u d o w i r e La b e l B i n d i n g

• L a b el b i n d i n g
– Is t h e a sso ci a t i o n o f F E C a n d L S P L a b el
– C r ea t ed b y p l a ci n g F E C T L V a n d L a b el T L V i n l a b el m a p p i n g
m essa g e

• L a b el a d v er t i sem en t m essa g es
– L a b el m a p p i n g
• U sed t o a d v er t i se l a b el b i n d i n g t o L D P p eer s
– L a b el r eq u est
• U sed w h en a PE d o esn ’t h a v e l a b el b i n d i n g t o a F E C
• PE ca n r eq u est l a b el b i n d i n g b y sen d t h i s m essa g e
• R em o t e PE w i l l r esp o n d b y sen d i n g l a b el m a p p i n g
m essa g e

L 2V P N N A N O G 20 0 6
. 19
V irt ua l Priv a t e Wire S erv ic e –
PW S etu p u s i ng L D P S i gnal i ng PW i d F E C

N
PW i d en t i f i ed o n b o t h en d p o i n t s b y a co m m o n V C ID
PE 2

PW i d F E C
PW T L V C E t h ernet PW I nf o L eng t h LD P
G ro up I D

V CID
1. L o c al Co nf i g urat i o n
I nt erf ac e Paramet ers
2. PW S et up

L D P L a b el M a p p i n g < V F E C > , L a b el , Pa r a m et er s, T L V s
L 2V P N N A N O G 20 0 6
. 20
V C L a b el M a p p in g –
Com p os i ti on – PW i d Pi ctu red
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

0 L ab el M es s ag e ( 0x 04 00) M es s ag e L eng t h
LDP Label Mapping Message
M es s ag e I D
(Specified in RFC 3036)

0 0 FE C T L V ( 0x 0100) L eng t h FEC TLV Header


(Specified in RFC 3036)
V C I nf o
V C T L V ( 0x 8 0) 0 V C T yp e L eng t h

G ro up I D
Virtual Circuit FEC Element
V CID
(Specified in draft-
draft-martini-
martini-l2circuit-
l2circuit-trans-
trans-mpls)

I / F Paramet ers

G eneri c L ab el
0 0 ( 0x 0200) L eng t h Label TLV Header
(Specified in RFC 3036)
L ab el

O p t i o nal Paramet ers

L 2V P N N A N O G 20 0 6
. 21
V irt ua l Priv a t e Wire S erv ic e–
Control Connecti on H i ghl i ghts – PW N egoti ati on

• P seu d o w i r e l a b el s a r e ex ch a n g ed a cr o ss a d i r ect ed L D P sessi o n


b et w een P E r o u t er s
C a r r i ed i n G en er i c L a b el T L V w i t h i n L D P L a b el M a p p i n g M essa g e
( R F C 3 0 3 6 -L D P)
• ( 2 ) N ew L D P F E C T L V s d ef i n ed t o ca r r y V C in fo r m a tio n
– PW i d F E C E l em en t ( d o u b l e si d ed p r o v i si o n i n g ) ( T y p e 1 2 8 )
– G en er a l i z ed ID F E C E l em en t ( si n g l e si d ed p r o v i si o n i n g ) ( T y p e 1 2 9 )
– W h i ch i s u sed , d ep en d s o n t h e p r o v i si o n i n g m o d el b ei n g em p l o y ed
– C a r r i ed w i t h i n L D P L a b el M a p p i n g M essa g e
• P W i n f o r m a t i o n i s ex ch a n g ed u si n g D o w n st r ea m U n so l i ci t ed l a b el
d i st r i b u t i o n p r o ced u r es
– D escr i b ed i n d r a f t -i et f -p w e3 -co n t r o l -p r o t o co l

L 2V P N N A N O G 20 0 6
. 22
V irt ua l Priv a t e Wire S erv ic e –
Su m m ar y

• M P L S P W & L 2 T P v 3 a r e p o i n t -t o p o i n t t ech n o l o g i es f o r t h e t r a n sp o r t
o f L a y er 2 P D U s a cr o ss a n d n a t i v e o r M P L S en a b l ed I P co r es.
• M P L S P W u ses T a r g et ed L D P sessi o n s t o ex ch a n g e P W L a b el s
b et w een p a r t i ci p a t i n g p eer s w h i l e L 2 T P v 3 u ses C o n t r o l m essa g es t o
n eg o t i a t e S essi o n I D s
• M P L S P W & L 2 T P v 3 ca n u se a n o p t i o n a l C o n t r o l W o r d t o p r eser v e
i n f o r m a t i o n i n t r a n sp o r t ed P D U s
• M P L S P W & L 2 T P v 3 p r o v i d es i n t er w o r k i n g w i t h a ccess ci r cu i t
m a n a g em en t p r o t o co l s t o m a i n t a i n V C st a t u s co n si st en cy ( i . e . l a b e l
w i t h d r a w a l o r c a l l d i s c o n n e c t n o t i f i c a t i o n i n t h e e ve n t o f e d g e s e r vi c e l o s s , e t c . )

L 2V P N N A N O G 20 0 6
. 23
VPW S T ra nsp orts

L 2V P N N A N O G 20 0 6
. 24 24
VPWS T r an sp o r ts

• EoMPLS
• FRoMPLS
• A T MoMPLS
• PPPoMPLS
• H D LC oMPLS

L 2V P N N A N O G 20 0 6
. 25
E o M PLS T r an sp o r t F o r m ats
Ethernet II Encapsulation
<7 octets> <1 octet> <6 octets> <6 octets> <2 octets> <2 octets> <2 octets> <46-1500> <4 octets>

Preamble SFD DA SA TPID TCI Ethertype Data FCS

L2 h e a de r Tu n n e l La b e l V C La b e l O r ig in a l E th e r n e t F r a m e

Preamble SFD DA SA OUI


TPID TCI Length AA-
AA-AA-
AA-03 Ethertype Data FCS
0x00-
0x00-00-
00-00

<7 octets> <1 octet> <6 octets> <6 octets> <2 octets> <2 octets> <2 octets> <3 octets> <3 octets> <2 octets> <46-1492> <4 octets>

802.3/802.2/SNAP Encapsulation

L 2V P N N A N O G 20 0 6
. 26
E o M PLS E n c ap su l atio n

•V C t y p e -0 x 0 0 0 4 i s u s e d f o r V LA N o ve r M PLS a p p l i c a t i o n
•V C t y p e -0 x 0 0 0 5 i s u s e d f o r E t h e r n e t p o r t t u n n e l i n g a p p l i c a t i o n ( p o r t t r a n s p a r e n c y )

L 2V P N N A N O G 20 0 6
. 27
E o M PLS E n c ap su l atio n D e tail s

• T h e c o n t r o l wo r d i s o p t i o n al
• I f t h e c o n t r o l wo r d i s u s ed t h en t h e f l ag s m u s t b e s et t o
zer o
The VLAN tag is transmitted unchanged but may be
o v erw ritten by the egress P E ro uter

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

R s v d 0 0 0 0 0 0 Length Seq u enc e nu m b er

Optional

E ther net P D U
L 2V P N N A N O G 20 0 6
. 28
VPWS T r an sp o r ts

• E oMPLS
• F R oMPLS
• A T MoMPLS
• PPPoMPLS
• H D LC oMPLS

L 2V P N N A N O G 20 0 6
. 29
R F C 1 4 9 0 E n c ap su l atio n
RFC 1490 Frame Relay Encapsulation
<1 octet> <2 octets> <1 octet> <1 octet> <1 octet> <variable> <2 octets> <1 octet>
7E Frame-
Frame-relay Control Optional NLPID Data 7E
FCS
Flag Header UI 0x03 Pad 0x00 (SNAP) Payload Flag

OUI
0x00- Ethertype
0x00-00-
00-00
<3 octets> <2 octets>

T r a n sp o r t ed u si n g AT o M

VC Label V C La b el ( V C) E X P S T T L

Control Word R s v d B F D C 0 0 Length Seq u enc e nu m b er

Co ntr o l U I 0x 03 O p ti o na l P a d 0x 00 N LP I D O U I
PDU
O U I E ther ty p e

D a ta P a y l o a d
L 2V P N N A N O G 20 0 6
. 30
C isc o Pr o p r ie tar y E n c ap su l atio n

Cisco Frame Relay Encapsulation


<1 octet> <2 octets> <2 octets> <variable> <2 octets> <1 octet>
7E Frame-
Frame-relay Ethertype Data 7E
FCS
Flag Header Payload Flag

T r a n sp o r t ed u si n g AT o M

VC Label V C La b el ( V C) E X P S T T L

Control Word R s v d B F D C 0 0 Length Seq u enc e nu m b er

E ther ty p e D a ta P a y l o a d
PDU
D a ta P a y l o a d ( c o nt)

L 2V P N N A N O G 20 0 6
. 31
VPWS T r an sp o r ts

• E oMPLS
• FRoMPLS
• A T MoMPLS
• PPPoMPLS
• H D LC oMPLS

L 2V P N N A N O G 20 0 6
. 32
C e l l R e l ay E n c ap su l atio n D e tail s
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
Co nt ro l W o rd R s v d 0 0 0 0 0 0 Length Seq u enc e nu m b er

V P I V CI P T I C

A T M Cel l P a y l o a d

• Single cell is encapsulated


• C o ntr o l w o r d is o ptio nal
• C o ntr o l w o r d f lags sh o uld b e set to z er o and igno r ed

L 2V P N N A N O G 20 0 6
. 33
A T M C e l l Pac k in g – Why I m p o r tan t?

• U s ed t o m i t i g at e C el l t o M P L S P ac k et M T U
i n ef f i c i en c i es
• C o n c at en at ed A T M C el l (5 2 B yt es ); No H E C
• M ax i m u m 2 8 C el l s p er M P L S F r am e (< 1 5 0 0 b yt e
M T U )

L 2V P N N A N O G 20 0 6
. 34
C e l l Pac k in g E n c ap su l atio n D e tail s
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
Co nt ro l W o rd R s v d 0 0 0 0 0 0 Length Seq u enc e nu m b er

V P I V CI P T I C

A T M Cel l P a y l o a d

V P I V CI P T I C

A T M Cel l P a y l o a d

• Multiple cells are packed per MPLS packet


• A ll cells m ust b elo n g to th e sam e V C / V P
• Packin g co n tro lled b y m ax n um b er o f cells an d tim er
• C o n tro l w o rd is o ptio n al

L 2V P N N A N O G 20 0 6
. 35
C e l l Pac k in g E n c ap su l atio n

• AT M C el l
<4 bits> <8 bits> <16 bits> <3 bits> <1 bit> <8 bits>  48 Bytes 

G FC V PI V CI PT CL P H E C Paylo ad

• S i n g l e C el l R el a y
A T M H E A D E R
T unnel L ab el V C L ab el Paylo ad
w /o H E C

 4 Bytes  4 Bytes  4 Bytes  48 Bytes 

• P a ck ed C el l R el a y
ATM
T unnel L ab el V C L ab el Cells x N ATM
Paylo ad
H E AD E R w/o Paylo ad … H E AD E R w/o
H E C H E C

4 Bytes  4 Bytes  4 Bytes  48 Bytes  52xN Bytes  4 Bytes   48 Bytes 

P A C K E D C E L L S M A X 2 8
L 2V P N N A N O G 20 0 6 2 8 * 5 2 = 14 5 6 b y t e s 36
.
A A L5 E n c ap su l atio n D e tail s
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
Co nt ro l W o rd R s v d T E C U 0 0 Length Seq u enc e nu m b er

A A L5 CP CS-
CS-SD U

• A A L 5 SD U s ar e encapsulated
• C o ntr o l w o r d is r eq uir ed
• C o ntr o l w o r d f lags encapsulate tr anspo r t ty pe, E F C I , C L P ,
C / R b it
• Ser v ice allo w s tr anspo r t o f O A M and R M cells

L 2V P N N A N O G 20 0 6
. 37
VPWS T r an sp o r ts

• E oMPLS
• FRoMPLS
• A T MoMPLS
• PPPoMPLS & H D LC oMPLS

L 2V P N N A N O G 20 0 6
. 38
C isc o HD LC & PPP E n c ap su l atio n D e tail s

• C isc o H D L C & PPP PD U s a re t ra n sp ort ed w it h out


f l a g s or F C S
P P P f rames al so do no t carry H D LC address & co ntro l
inf o rmatio n
• T h e c on t rol w ord is op t ion a l
C bit is set by def aul t in C isco I mp l ementatio n
• I f t h e c on t rol w ord is used t h en t h e f l a g s m ust b e
set t o z ero
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

R s v d 0 0 0 0 0 0 Length Seq u enc e nu m b er Optional

H D LC o r P P P P D U

L 2V P N N A N O G 20 0 6
. 39
D E M O

L 2V P N N A N O G 20 0 6
. 4 0 40
Po in t to Po in t
VLA N o v e r M PLS

i nt erf ac e G i g ab i t E t h ernet 0/ 0/ 0/ 2. 1 i nt erf ac e G i g ab i t E t h ernet 1/ 2. 1


enc ap s ulat i o n d o t 1Q 1 enc ap s ulat i o n d o t 1Q 1
i p v 4 ad d res s 19 2. 16 8 . 1. 1 255. 255. 255. 0 i p ad d res s 19 2. 16 8 . 1. 2 255. 255. 255. 0

MPLS o r I P C o r e

C E 1 P E 1 P E 2 C E 2

i nt erf ac e G i g ab i t E t h ernet 8 / 2. 1 inte rf ac e G igab itE th e rne t2 / 2 . 1


enc ap s ulat i o n d o t 1Q 1 e nc ap s u l ation d ot1 Q 1
x c o nnec t 22. 22. 22. 22 1 enc ap s ulat i o n mp ls
x c onne c t 5 . 5 . 5 . 5 1 e nc ap s u l ation m p l s

L 2V P N N A N O G 20 0 6
. 41
Poin t t o Poin t
C el l R el a y ov er M PL S

i nt erf ac e A T M 0/ 2/ 0/ 2. 1 p o i nt -t o -p o i nt
i nt erf ac e A T M 3 / 0. 1 p o i nt -t o -p o i nt
p v c 0/ 3 2 p v c 0/ 3 2
i p v 4 ad d res s 19 2. 16 8 . 2. 1 255. 255. 255. 0 i p ad d res s 19 2. 16 8 . 2. 2 255. 255. 255. 0

MPLS o r I P C o r e

C E 1 P E 1 P E 2 C E 2

i nt erf ac e A T M 2/ 2
i nt erf ac e A T M 3 / 0
p v c 0/ 3 2 l2t rans p o rt
p v c 0/ 3 2 l2t rans p o rt
enc ap s ulat i o n aal0
enc ap s ulat i o n aal0
x c o nnec t 22. 22. 22. 22 2 enc ap s ulat i o n mp ls
x c o nnec t 5. 5. 5. 5 2 enc ap s ulat i o n mp ls

L 2V P N N A N O G 20 0 6
. 42
VPW S S e rv ice Inte rw ork ing

L 2V P N N A N O G 20 0 6
Pr e s e n t a t i o n _ I D . 4 3 43
L 2 V PN S erv ic e I n t erw ork in g –
O vervi ew – W hat i s i t’s p u rp os e?

• P r es er v e i n v es t m en t i n ex i s t i n g n et wo r k s
• No D i s r u p t i o n
• Need f o r c o m m o n edg e i n f r as t r u c t u r e t o s u p p o r t b o t h
n ew an d l eg ac y s er v i c es

L 2V P N N A N O G 20 0 6
. 44
M ap p in g s b e tw e e n d if f e r e n t te c hn o l o g ie s.

F r a m e R el a y AT M E t h er n et

C i r cu i t D L C I V P I/V C I P o rt, V L A N
I d en t i f i er

T r a ffic B c , B e P C R , S C R P IR , C IR
P a r a m et er s

P r io r itiz a tio n B E C N / F E C N C L P P -b i t s

L 2V P N N A N O G 20 0 6
. 45
T y p e o f S e r v ic e o v e r C o m m o n C o r e

A T M FR

MPLS / I P
PE 1 PE 2

E t h ernet E t h ernet

• B r in g in g to g e th e r F r a m e R e la y , A T M , a n d E th e r n e t

• A b ility to In te r w o r k
L 2V P N N A N O G 20 0 6
. 46
I P I n te r w o r k in g

I P -P D U C W V C -L T-L
A RP, I PCP S p o o f ed

MPLS o r I P C o r e

C E 1 “I P Ps eud o w i re”
P E 1 P E 2 C E 2

No n-I P d at a p ac k et s I P p ac k et s s ent d i rec t ly


d ro p p ed at PE o v er Ps eud o w i re

Ethernet Ethernet
F ra m e R el a y An y F ra m e R el a y
-2-
P P P / HD L C An y P P P / HD L C
A T M A T M

L 2V P N N A N O G 20 0 6
. 47
E the r n e t to A A L5 : I P in te r w o r k in g

CE 1
ATM I Po MPLS E t h e r n e t / V LAN

A T M h e a d e r T u n n e l la b e l

L L C ( A A -A A ) V C la b e l
L L C ( 03 ) O U I ( 00) M A C h e a d e r
O U I ( 00-00)
C o n tro l w o rd
P ID ( 0x 8 00) P r o t o c o l t y p e ( x x -x x )

IP P D U IP P D U IP P D U IP P D U

C P C S -U U C P I E th e rn e t F C S
L E N G T H
C R C

L 2V P N N A N O G 20 0 6
. 48
E the r n e t to F R b r id g e d in te r w o r k in g

CE 1
Runni ng RB E / I RB ( RFC24 27 )

E o F R E o MPLS E t h e r n e t / V LAN

T u n n e l la b e l
Q .9 2 2 a d d r e s s
C r t l ( 03 ) P a d ( 00)
V C la b e l
N L P I D ( 8 0) O U I ( 00)
O U I ( 8 0C 2 )
C o n tro l w o rd
P I D ( 0007 )

M A C h e a d e r M A C h e a d e r M A C h e a d e r
M A C h e a d e r

L 3 P D U L 3 P D U L 3 P D U
L 3 P D U

F C S E th e rn e t F C S

L 2V P N N A N O G 20 0 6
. 49
D E M O

L 2V P N N A N O G 20 0 6
. 5 0 50
Poin t t o Poin t
V L A N t o A T M I n t erw ork in g

i nt erf ac e G i g ab i t E t h ernet 0/ 0/ 0/ 2. 1
enc ap s ulat i o n d o t 1Q 2 i nt erf ac e A T M 3 / 0. 1 p o i nt -t o -p o i nt
i p ad d res s 19 2. 16 8 . 2. 2 255. 255. 255. 0
i p v 4 ad d res s 19 2. 16 8 . 1. 1 255. 255. 255. 0
p v c 0/ 3 3

MPLS o r I P C o r e

C E 1 P E 1 P E 2 C E 2

p s eud o w i re-c las s nano g p s eud o w i re-c las s nano g


enc ap s ulat i o n mp ls enc ap s ulat i o n mp ls
i nt erw o rk i ng i p i nt erw o rk i ng i p
i nt erf ac e G i g ab i t E t h ernet 8 / 2. 2 i nt erf ac e A T M 3 / 0
enc ap s ulat i o n d o t 1Q 2 mt u 1500
x c o nnec t 22. 22. 22. 22 3 p w -c las s nano g p v c 0/ 3 3 l2t rans p o rt
enc ap s ulat i o n aal5s nap
x c o nnec t 5. 5. 5. 5 3 p w -c las s nano g
L 2V P N N A N O G 20 0 6
. 51
Virtua l Priv a te LA N S e rv ice
( VPLS )

L 2V P N N A N O G 20 0 6
. 5 2 52
Vir tu al Pr iv ate LA N S e r v ic e

• VPLS Overview
• VPLS Architecture

L 2V P N N A N O G 20 0 6
. 53
VPLS – O v e r v ie w

• Ar ch i t ect u r e
I t i s a n e n d-t o -e n d a r c h i t e c t u r e t h a t a l l o w s I P/ MPLS n e t w o r k s t o
p r o v i de La y e r 2 m u l t i p o i n t E t h e r n e t s e r v i c e s w h i l e u s i n g LD P a s
s ig n a lin g p r o to c o l

• B r i d g e em u l a t i o n
E m u l a t e s a n E t h e r n e t b r i dg e

• B r i d g e f u n ct i o n s
O p e r a t i o n i s t h e s a m e a s f o r a n E t h e r n e t b r i dg e , i e f o r w a r ds u s i n g t h e
de s t i n a t i o n MAC a ddr e s s , l e a r n s s o u r c e a ddr e s s e s a n d f l o o ds b r o a d-
/m u ltic a s t a n du n k n o w n fr a m e s

• S ev er a l d r a f t s i n ex i st en ce
dr a f t -i e t f -l 2v p n -v p l s -l dp -x x . t x t
dr a f t -i e t f -l 2v p n -v p l s -b g p -x x -t x t

L 2V P N N A N O G 20 0 6
. 54
VPLS O v e r v ie w f o r M e tr o E the r n e t
M et ro A M et ro C
u-PE
PE -A G G
H ub & 10/100/
10/100/ G E Ri ng S p o k e
Si
1000 M p b s
1000 M p b s P P u-PE
n-PE n-PE

V P L S N e tw ork
M et ro B 10/100/
P P
1000 M p b s
D W D M /
S O NE T / S D H

10 0 M
CD W M n-PE

10

/1 p b
Ri ng

00 s
/
u-PE
u-PE M et ro D

•D e l i v e r s E t h e r n e t -b a s e d m u l t i p o i n t L2 V PN s e r v ic e
•E n h a n c e s L2 V PN s c a l a b i l i t y ( g e o g r a p h i c s i t e s & n o . o f c u s to m e rs )
•Le v e r a g e s e x i s t i n g S P MPLS C o r e
•S u p p o r t s o p e r a t i o n a l s p e e ds o f G B to 1 0 G B
•O n t r a c k f o r I E TF s t a n da r di z a t i o n
L 2V P N N A N O G 20 0 6 •U s e s f a m . i l i a r E t h e r n e t u s e r n e t w o r k i n t e r f a c e 55
VPLS : R e q u ir e m e n ts
A V i rtu al S w i tch M U S T op erate l i k e a conventi onal L 2 s w i tch!
F l o o di n g / F o r war di n g :
• M A C ta b l e i ns ta nc es p er c u s to m er a nd p er c u s to m er V L A N (L 2 -
V R F i d ea ) f o r ea c h P E
• V F I w i l l p a rti c i p a te i n l ea rni ng , f o rw a rd i ng p ro c es s

A ddr es s L ear n i n g / A g i n g :
• Sel f L ea rn So u rc e M A C to p o rt a s s o c i a ti o ns
• R ef res h M A C ti m ers w i th i nc o m i ng f ra m es
• N ew a d d i ti o na l M A C T L V to L D P

L o o p P r ev en t i o n :
• C rea te p a rti a l o r f u l l -m es h o f Eo M P L S V C s p er V P L S
• U s e “s p l i t ho ri z o n” c o nc ep ts to p rev ent l o o p s
• A nno u nc e Eo M P L S V P L S V C tu nnel s
L 2V P N N A N O G 20 0 6
. 56
VPLS C har ac te r istic s

• A u t o -di s c o v er y o f V P N m em b er s h i p
R ed u c es V P N c o nf i g u ra ti o n a nd erro rs a s s o c i a ted w i th
c o nf i g u ra ti o n

• Si g n al i n g o f c o n n ec t i o n s b et ween P E dev i c es
as s o c i at ed wi t h a V P N
• F o r war di n g o f f r am es
V P W S u s es I nterf a c e b a s ed f o rw a rd i ng
V P L S u s es I EEE 8 0 2 . 1 q Ethernet B ri d g i ng tec hni q u es

• L o o p p r ev en t i o n
M P L S C o re w i l l u s e a f u l l m es h o f P W s a nd “s p l i t-ho ri z o n”
f o rw a rd i ng
H-V P L S ed g e d o m a i n m a y u s e I EEE 8 0 2 . 1 s Sp a nni ng T ree,
R P R , o r SO N ET P ro tec ti o n
L 2V P N N A N O G 20 0 6
. 57
VPLS O v e r v ie w : VF I F u n c tio n s

• M A C A d d res s M a na g em ent

1 . D y na m i c L ea rni ng o f M A C A d d res s o n P hy s i c a l P o rts a nd V C


2 . A g i ng o f M A C a d d res s
3 . W i thd ra w o f M A C a d d res s
4 . F l o o d i ng o f M u l ti c a s t, U ni c a s t, U nk no w n

L 2V P N N A N O G 20 0 6
. 58
VPLS O v e r v ie w : VPLS Le ar n in g

• U n q u al i f i ed
S i n g l e p o r t a s s i g n e d f o r a l l c u s t o m e r V LAN s
S i n g l e b r o a dc a s t do m a i n f o r a l l c u s t o m e r V LAN s
S i n g l e MAC a ddr e s s s p a c e ( n o o v e r l a p ! )

• Q u al i f i ed
E a c h V LAN h a s i t s o w n V PLS i n s t a n c e
A V LAN h a s i t s o w n b r o a dc a s t s p a c e a n d MAC a ddr e s s s p a c e
C u s t o m e r MAC a ddr e s s e s MAY o v e r l a p
O n e F I B p e r c u s t o m e r V LAN
B r o a dc a s t do m a i n l i m i t e d t o V LAN s c o p e

MTM – Ma c Ta b l e Ma n a g e m e n t

L 2V P N N A N O G 20 0 6
. 59
Vir tu al Pr iv ate LA N S e r v ic e

• VPLS O v erv iew


• VPLS A rc h it ec t u re

L 2V P N N A N O G 20 0 6
. 60
VPLS A r c hite c tu r e s

• V P L S def i n es t wo A r c h i t ec t u r es
N o n -H i er a r ch i ca l ( S i n g l e P E )
H i er a r ch i ca l ( D i st r i b u t ed P E )
8 0 2 . 1 a d ( a k a Q i n Q ) Access
M P L S Access

• E ac h A r c h i t ec t u r e h as di f f er en t s c al i n g
c h ar ac t er i s t i c s

L 2V P N N A N O G 20 0 6
. 61
Way to B u il d a L2 C o r e :
V PL S —V irt ua l Priv a t e L A N S erv ic es
Cus t o mer
E q ui p ment N-PE 1 N-PE 3
CE
“V PLS “
CE
w / o Hi e r a r c h y
PW
CE
N-PE 2 N-PE 4 La y e r 2 - 8 0 2. 1 a d
E t h ernet UNI E t h ernet UNI Pr o v i de r B r i dg e s
Ac c e s s N e t w o r k
N-PE 1 N-PE 3
U-PE A
“H-V PLS “ CE
w / E th e rn e t 8 0 2 . 1 ad 8 0 2 . 1 ad
U-PE C
CE
Ac c e s s PW
CE
U-PE B La y e r 3 MPLS
N-PE 2 N-PE 4
Ac c e s s N e t w o r k

N-PE 1 N-PE 3
U-PE A
CE
“H-V PLS “ PW
w / MPLS U-PE C
CE
t o t h e E dg e PW PW –
CE
U-PE B At t a c h m e n t
N-PE 2 N-PE 4
C ir c u it
L 2V P N N A N O G 20 0 6
. 62
VPLS A r c hite c tu r e :
C har ac te r istic s - D ir e c t A ttac hm e n t ( F l at)

O v er v i ew:
• O k a y f o r s m a l l c u s to m er i m p l em enta ti o ns
• Si m p l e p ro v i s i o ni ng
• F u l l m es h o f d i rec ted L D P s es s i o ns req u i red b etw een p a rti c i p a ti ng
P Es
• V L A N a nd P o rt l ev el s u p p o rt ( no Q i nQ )

D r awb ac k s :
• N o hi era rc hi c a l s c a l a b i l i ty
• Sc a l i ng i s s u es :
P E p a c k et rep l i c a ti o n
F u l l m es h c a u s es c l a s s i c - N * ( N -1 ) / 2 c o nc erns

L 2V P N N A N O G 20 0 6
. 63
VPLS A r c hite c tu r e :
C har ac te r istic s – H-VPLS
B en ef i t s:
• B est f o r l a r g er sca l e d ep l o y m en t
• R ed u ct i o n i n p a ck et r ep l i ca t i o n a n d si g n a l i n g o v er h ea d o n P E s
• F u l l m esh f o r co r e t i er ( H u b ) o n l y
• At t a ch m en t V C s “v i r t u a l sw i t ch p o r t s” ef f ect ed t h r o u g h L a y er 2
t u n n el i n g m ech a n i sm s ( M P L S P W , L 2 T P v 3 , Q i n Q )
• E x p a n si o n a f f ect s n ew n o d es o n l y ( n o r e-co n f i g u r i n g ex i st i n g
P E s)
D r a w b a ck s:
• M o r e co m p l i ca t ed p r o v i si o n i n g
• M P L S E d g e H -V P L S r eq u i r es M P L S t o u -P E
C o m p l ex o p era ti o na l s u p p o rt
C o m p l ex netw o rk d es i g n
Ex p ens i v e Ha rd w a re s u p p o rt
L 2V P N N A N O G 20 0 6
. 64
D E M O

L 2V P N N A N O G 20 0 6
. 65 65
VPLS w ith D o t1 q A C s

l2 v f i s a n o g m a n u a l
v p n i d 100 l2 v f i s a n o g m a n u a l
b r i d g e -d o m a i n 100 v p n i d 100
n e i g h b o r 2 1. 2 1. 2 1. 2 1 e n c a p s u l a t i o n m p l s b r i d g e -d o m a i n 100
n e ig h b o r 2 2 .2 2 .2 2 . 2 2 e n c a p s u la t io n m p ls n e i g h b o r 2 1. 2 1. 2 1. 2 1 e n c a p s u l a t i o n m p l s
n e ig h b o r 5 .5 . 5 .5 e n c a p s u la t io n m p ls
i n t e r f a c e G i g a b i t E t h e r n e t 8 /2 . 3
e n c a p s u l a t i o n d o t 1Q 3 i n t e r f a c e G i g a b i t E t h e r n e t 2 /2 . 2
b r i d g e -d o m a i n 100 e n c a p s u l a t i o n d o t 1Q 3
b r i d g e -d o m a i n 100
P
PE 1 Co nf i g PE 2 Co nf i g
M PL S
Net w o rk

l2 vfi sanog manual


vp n id 1 0 0 PE 3
b r id ge -d omain 1 0 0 Co nf i g
ne igh b or 22. 22. 22. 22 e nc ap sulat ion mp ls
ne igh b or 5 . 5 . 5 . 5 e nc ap sulat ion mp ls

int e r fac e G igab it E t h e r ne t 1 / 0 / 2. 1


e nc ap sulat ion d ot 1 Q 3
no ip d ir e c t e d -b r oad c ast
L 2V P N b N r A id N ge
O G -d20 omain
0 6 1 0 0
. 66
Pse udo W ire S titch ing

L 2V P N N A N O G 20 0 6
. 67 67
Pse u d o Wir e E x te n sib il ity Lim itatio n

L2VPN

C E1 Frame Relay
MPLS / I P Frame Relay C E2
A T M A T M
AS 1
E t h ernet E t h ernet

SJ C – P E1 D a l l a s – P E2

C E1 Frame Relay
Frame Relay MPLS / I P MPLS / I P A T M C E2
A T M AS 1 AS 2 E t h ernet
E t h ernet

SJ C – P E1 D a l l a s – P E2

L 2V P N N A N O G 20 0 6
. 68
T u n n e l S titc hin g at A S B R – S titc h Po in t
L2VPN
S J C -P E 1 L A -P E 2
C E1 Frame Relay
C E2
A T M MPLS / I P MPLS / I P A T M
AS 1 AS 2
E t h ernet
E t h ernet
D al l as - P E 1 D al l as – P E 2

S titc h P oint

• T u n n el st i t ch p o i n t r ef er s t o t h e AS B R w h er e t u n n el st i t ch i n g i s
p er f o r m ed
• Ach i ev ed t h r o u g h i n t er -w o r k i n g o f d a t a a n d co n t r o l p l a n es a t t h e
st i t ch p o i n t

L 2V P N N A N O G 20 0 6
. 69
Q ua l ity of S e rv ice

L 2V P N N A N O G 20 0 6
. . 7 0 70
E n d to E n d Q o S

C u s to m er C E P E C u s to m er
Q o S Q o S SP Q o S Q o S Q o S

U ni f o rm m o d e: Q o S b i ts m o d i f i ed b y ea c h d o m a i n …

Sho rt p i p e: C o re Q o S i s i nd ep end a nt o f ed g e

End to End : T ra ns p a renc y i s a s s u red C E to C E

L 2V P N N A N O G 20 0 6
. 71
Q o S f o r L2VPN

Ea c h V C s c o u l d ha v e s i m i l a r o r d i f f erent Q o S v a l u es

L 2V P N N A N O G 20 0 6
. 72
L2VPN D e p l o y m e n t –
How does an SP prioritize traffic?

G F C V PI V C I PT C LP HE C
C om b ination of V C
I D s & / or D is c ard
ind ic ation c an b e
u s e d to c l as s if y
traf f ic c orre c tl y .

BE
CN D E

FE
D L C I C /R E A D L C I

CN

D A S A T y p e T A G L 3 D ata C R C

L 2V P N N A N O G 20 0 6
. 73
L2VPN D e p l o y m e n t –
Precedence E q u iv al ence: M PL S / I P
I P P a c k et M P L S L a b el
O u te r
D e liv e r y To S D a ta L a b el E X P S T T L
He a de r

C E
P E

I P: P b it- M PL S
d s c p ex p 5
E th e rn e t
5 P b it-
I P: d s c p
5 E th e rn e t

I P: d s c p
5

L 2V P N N A N O G 20 0 6
. 74
L2VPN Q o S D e p l o y m e n t

Traffic
Traffic

Po li c i ng
T raf f i c Rat e T raf f i c Rat e

T i me T i me

Traffic
Traffic

S h ap i ng
T raf f i c Rat e T raf f i c Rat e

T i me T i me

M a r k in g –T h e a b ility to d iffe r e n tia te d p a c k e ts b y s e ttin g p r o p e r tie s


w ith in th e L a y e r 2 o r L a y e r 3 h e a d e r lik e th e IP p r e c e d e n c e , o r L 2 C la s s
o f S e r v ic e o r d r o p p r io r ity
Q u eu i n g – C o n g e s t i o n m a n a g e m e n t b y g iv in g c o r r e c t p r io r ity to tr a ffic
c la s s e s o n e c a n m a n a g e t i m e -s e n s i t i v e a p p l i c a t i o n s w i t h o u t p e n a l i z i n g
lo w e r p r io r ity tr a ffic
L 2V P N N A N O G 20 0 6
. 75
L2 T u n n e l S e l e c tio n
L2 S e r v i c e Tr a n s p o r t e d o v e r a TE Tu n n e l
( Po i n t -t o -Po i n t Ti g h t S LA)

TE1
PE PE
TE2

CPE 2
CPE 1
CPE 3 CPE 4

• T u n n el d ef i n ed a s p r ef er r ed p a t h i n p seu d o -w i r e cl a ss

L 2V P N N A N O G 20 0 6
. 76
D E M O

L 2V P N N A N O G 20 0 6
. 7 7 77
QoS

i nt erf ac e G i g ab i t E t h ernet 0/ 0/ 0/ 2. 1 i nt erf ac e G i g ab i t E t h ernet 1/ 2. 1


enc ap s ulat i o n d o t 1Q 1 enc ap s ulat i o n d o t 1Q 1
i p v 4 ad d res s 19 2. 16 8 . 1. 1 255. 255. 255. 0 i p ad d res s 19 2. 16 8 . 1. 2 255. 255. 255. 0

MPLS o r I P C o r e

C E 1 P E 1 P E 2 C E 2

i nt erf ac e G i g ab i t E t h ernet 8 / 2. 1 inte rf ac e G igab itE th e rne t2 / 2 . 1


enc ap s ulat i o n d o t 1Q 1
e nc ap s u l ation d ot1 Q 1
x c onne c t 5 . 5 . 5 . 5 1 e nc ap s u l ation m p l s
s erv i c e-p o li c y i np ut ex p 1
x c o nnec t 22. 22. 22. 22 1 enc ap s ulat i o n mp ls

L 2V P N N A N O G 20 0 6
. 78
Pse udo W ire O A M

L 2V P N N A N O G 20 0 6
. 7 9 79
M PLS E m b e d d e d M an ag e m e n t –
V irtu al C ircu it C onnection V erification ( V C C V )
PS N

Ps e u do W i r e

C E PE 1 PE 2 C E

A ttac h m e nt A ttac h m e nt
C irc u it C irc u it
N ativ e
S e rv ic e

• M u l t i p l e P SN T u n n el T yp es
M P L S , IP S E C , L 2 T P , G R E ,…
• M o t i v at i o n
O n e t u n n el ca n ser v e m a n y p seu d o -w i r es.
M P L S L S P p i n g i s su f f i ci en t t o m o n i t o r t h e P S N t u n n el
( P E -P E co n n ect i v i t y ) , b u t n o t V C s i n si d e o f t u n n el .
L 2V P N N A N O G 20 0 6
. 80
M PLS E m b e d d e d M an ag e m e n t –
V C C V O v erv iew

• M ech a n i sm f o r co n n ect i v i t y v er i f i ca t i o n o f P W
• F ea t u r es
W o rk s o v er M P L S o r I P netw o rk s

L 2V P N N A N O G 20 0 6
. 81
M PLS E m b e d d e d M an ag e m e n t –
C onnectiv ity T race U sing V C C V

P E1 # p i ng m p l s p s eu d o w i re 1 7 2 . 1 6 . 2 5 5 . 4 1 0 2

At t a c h m e n t V C

PE 1

PE 2
At t a c h m e n t V C

L 2V P N N A N O G 20 0 6
. 82
Q u es t i o n s & A n s wer s

L 2V P N N A N O G 20 0 6
. 8 3 83

Você também pode gostar