Understanding L2VPN and Ethernet Virtual Circuits

slide1 l.w
1 / 24
Embed
Share

Explore the concept of Layer 2 Virtual Private Networks (L2VPN) and Ethernet Virtual Circuits (EVC). Learn about different models, challenges, advantages, and applications in networking technologies. Gain insights into bridging LANs across various network architectures for enhanced connectivity.

  • Networking
  • L2VPN
  • Ethernet
  • Virtual Circuits
  • Technology

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. 1 EVC Atahar Khan CCIE SP 44012

  2. AGENDA L2VPN overview L2VPN overview Ethernet Virtual Circuits (EVC) Ethernet Virtual Circuits (EVC) 2

  3. 3 L2VPN Overview

  4. 4 What is L2VPN ? We call L2VPN any method which allow to have a LAN shared across multiple remote location across a non L2 network The network in the middle can be : IPv4 Routed network L2TPv3 can be use MPLS network EoMPLS or VPLS Another switched Network QinQ The PE to CE interface might not be Ethernet Atom : tunnel of anything over MPLS network L2TPv3 : encapsulate anything over ipv4 network Interworking : allow to interconnect one L2 tech to another (FR to ATM or Eth to ATM or ) Those technique can be combined to achieve LAN transparency !

  5. 5 L2VPN Models L2TPv3 L2-VPN Models AToM MPLS Core IP core VPWS VPLS P2MP/ MP2MP Point-to-Point Point-to-Point Ethernet PPP/ HDLC ATM AAL5/Cell PPP/ HDLC FR ATM AAL5/Cell FR Ethernet Ethernet

  6. 6 Virtual Private Wire Service (VPWS) Reference Model L2transport over IP = L2TPv3 L2transport over MPLS = AToM SE = Service Endpoint Customer Site Customer Site PSN = Packet Switched Network PSN Tunnel PWES Pseudo Wires PWES PE PE PWES Customer Site Customer Site PWES Emulated Service A Pseudowire (PW) is a connection between two Provider Edge (PE) devices which connects two pseudowire End-Services (PWESs) of the same type Service Types: Ethernet HDLC 802.1Q (VLAN) PPP PWES ATM VC or VP Frame Relay VC

  7. 7 Ethernet Virtual Circuits (EVC)

  8. 8 The Challenges On traditional switches, we require the switch to do two things: 1.) Have the VLAN configured globally 2.) Perform MAC learning in this VLAN switches have a finite amount of CAM space for MAC Learning limiting the number of hosts we can support. Since the 802.1q VLAN tag is only 12-bits wide we can only configure a maximum of 4096 VLANs. In modern provider and cloud environments there is a need to scale beyond these limitations. VLAN translation can not be done.

  9. 9 EVC Advantages The VLAN tag is used for classification and the Service Instance defines the forwarding action. we could allocate one VLAN to different customers on every switchport and forward each customer's traffic across different MPLS Pseudowires, but never actually configure the VLAN globally. Customer VLAN ID preservation/ translation.

  10. CE-VLAN ID Preservation Application (1) ERS services with same End to End CE-VLAN ID Customer 100 VLAN Mapping Points CE-1 Customer Customer MEN 200 CE-2 100 200 300 CE-HQ Customer CE-VLAN ID 300 CE-3

  11. 11 CE-VLAN ID Preservation Application (2) Corporate Customers with all remote offices using the same CE-VLAN ID Also useful for SP deploying Managed CPEs Customer 100 NEED OF VLAN TRANSLATION !!! VLAN Mapping Points CE-1 Customer Customer 100 MEN CE-2 600 601 602 CE-HQ Customer CE-VLAN ID 100 CE-3

  12. 12 EVC Flexible Frame Matching Service instance Service instance ... Provide classification of L2 flows on Ethernet interfaces Are also referred to as EVC service-instances Support dot1q and Q-in-Q Support VLAN lists Support VLAN ranges Support VLAN Lists and Ranges combined Coexist with routed subinterfaces Match VLAN: 14 14 100 Match VLAN range: 100-102 101 102 200 Match VLAN list: 200, 203, 210 203 210 Match VLAN: 300,100 300,10 0 400,1 Match outer VLAN 400, inner VLAN range: 1-3 400,2 400,3 Match outer 400, inner VLAN list: 11,17,34 400,11 400,17 400,34

  13. 13 Exact vs. Non-Exact EVC only supports Non-Exact matching encap dot1q 10 matches any packets with outmost tag equals to 10: 10 10 200 encap dot1q 10 sec 100 matches any packets with outmost tag as 10 and second most tag as 100 10 100 10 100 1000

  14. 14 Longest tag match EVC supports longest tag matching within the same GigE port. Matching double tag at first, then single tag, then default tag (similar concept as routing table lookup) 10 dot1q 10 10 200 dot1q 10 10 100 Int G3/0/0 sec 100 dot1q 10 10 130 sec 128-133

  15. 15 EVC Flexible VLAN Tag Manipulation EVCs allow us to classify inbound frames in a highly flexible manner based on 1 or more VLAN tags or CoS values. Here are some examples Configuration Effect encapsulation dot1q 10 Match the single VLAN tag 10 encapsulation dot1q 25 second-dot1q 13 Match first VLAN tag 25 and second tag 13 encapsulation dot1q any second-dot1q 22 Match any double tagged frame with a second tag of 22 encapsulation dot1q 16 cos 4 Match a single tag 16 when it has CoS value 4 encapsulation dot1q untagged Match the native (untagged) VLAN encapsulation dot1q default The catch all class for all traffic not previously classified

  16. 16 Encap match order From most specific to most general No exact match based on outmost tag # Encap untag matches untagged packet Encap default catches all remaining traffic w/o specific match. If there is no encap untag configured, it also catches untag packet.

  17. 17 Encapsulation Rewrite CLI interface gig 1/1/1 service instance 1 ethernet encapsulation dot1q 10 rewrite ingress tag ? pop Pop the tag push Rewrite Operation of push translate Translate Tag . Configuration Effect rewrite ingress tag pop 1 symmetric rewrite ingress tag pop 2 symmetric rewrite ingress tag translate 1-to-1 dot1q 28 symmetric remove the top 802.1q tag remove the top two 802.1q tags remove the top tag and replace it with 28 rewrite ingress tag translate 2-to-2 dot1 22 second-dot1q 23 remove the top two tags and replace them with 22 and 23 (23 will be the inner tag) push two new tags on top of the existing frame. The top tag will be 56; inner tag of 55 rewrite ingress tag push dot1q 56 second- dot1q 55

  18. 18 Encapsulation Rewrite CLI - Symmetric .

  19. 19 Here's a sample topology, with two access switches processing different VLANs. The service instance configurations are on PE Blue and PE Purple

  20. 20 EVC Flexible Forwarding Model Service instance P-to-P Local Connect MPLS L3/VRF or EoMPLS/VPLS MPLS UPLINK BD SVI P-to-P EoMPLS EoMPLS/VPLS SVI BD BD L2 Bridging PVC / DLCI L2 inter-working Physical Ports ATM / FR

  21. 21 Flexible Service Mapping Configuration Example core interface, L2 trunk or L3 MPLS Access port 802.1ah (PBB or .1ah over VPLS service instance 1 ethernet encapsulation dot1q 20 second-dot1q 10 rewrite ingress tag pop 1 sym bridge-domain 10 c-mac E-LINE (VPWS) service instance 2 ethernet encapsulation dot1q 11-100 rewrite ingress tag push dot1q 101 xconnect 1.1.1.1 101 en mpls E-LAN (VPLS or Local bridging) service instance 3 ethernet encapsulation dot1q 101 second-dot1q 10 rewrite ingre tag translate 2-to-1 100 bridge-domain 200 Interface vlan 200 xconnect vfi myvpls Local connect service instance 4 ethernet encapsulation dot1q 102 rewrite ingress tag pop 1 bridge-domain 201 Interface vlan 201 ip address 2.2.2.2 255.255.255.0 ip vrf myvrf L3 termination Service instance or Ethernet Flow Point

  22. 22 EVC (Service Instance) Example Here is an example of an interface configured with a bridge-domain: interface g0/2 service instance 1 ethernet encapsulation dot1q 11 rewrite ingres tag pop 1 symmetric bridge-domain 22 ! interface Vlan22 ip address 192.168.1.1 255.255.255.0

  23. 23 EVC Local & remote bridging example Remote Connection LOCAL Switching interface g0/2 service instance 1 ethernet encapsulation dot1q 10 rewrite ingres tag pop 1 symmetric bridge-domain 22 service instance 2 ethernet encapsulation dot1q 11 rewrite ingress tag pop 1 symmetric bridge-domain 22 ! interface Vlan44 ip address 192.168.1.1 255.255.255.0 interface g0/2 service instance 1 ethernet encapsulation dot1q 10 rewrite ingres tag pop 1 symmetric bridge-domain 22 split-horizon service instance 2 ethernet encapsulation dot1q 11 rewrite ingress tag pop 1 symmetric bridge-domain 22 split-horizon ! interface Vlan44 xconnect 192.168.1.1 12 encapsulation mpls

  24. Thank You

More Related Content