WORKSHOP MPLS.

Size: px
Start display at page:

Download "WORKSHOP MPLS."

Transcription

1 WORKSHOP MPLS 2001, Cisco Systems, Inc. All rights reserved. 1

2 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 2

3 MPLS Concepts MPLS: Multi Protocol Label Switching Packet forwarding is done based on Labels Multiprotocol Label Switching (MPLS) is a Labels may correspond to IP destination Labels can also correspond to other parameters (QoS, source address,...). MPLS was designed to support forwarding of other protocols as well. 2001, Cisco Systems, Inc. All rights reserved. 3

4 MPLS/VPN Terminology Provider Network (P-network) backbone under the control of the Service Provider Customer Network (C-network) network under VPN customer control CE Router part of the C-network and interfaces to a PE router PE Router part of the P-network and interfaces to CE routers 2001, Cisco Systems, Inc. All rights reserved. 4

5 MPLS/VPN Terminology P Router Site provider (core) router without knowledge of VPN set of (sub)networks which are part of the Customer network and co-located connected to the MPLS/VPN backbone through one of more PE/CE links 2001, Cisco Systems, Inc. All rights reserved. 5

6 MPLS Concepts Unlike IP, classification/label can be based on: Destination Unicast address Traffic Engineering VPN QoS FEC: Forwarding Equivalence Class A FEC can represent a: Destination address prefix, VPN, Traffic Engineering tunnel, Class of Service. 2001, Cisco Systems, Inc. All rights reserved. 6

7 Control Component Several protocols for label exchange: Control Component is responsible for binding between labels and routes LDP (646)/ TDP (711) Maps unicast IP destinations into labels RSVP, CR-LDP Used in traffic engineering BGP/M-BGP PIM External labels (VPN) For multicast states label mapping 2001, Cisco Systems, Inc. All rights reserved. 7

8 MPLS Specific Tables Each LSR will use a LIB Label Information Base Contains all label/prefix mappings from all TDP/LDP neighbours Each LSR will also use an LFIB Label Forwarding Information Base Contains only label/prefix mappings that are currently in use for label forwarding 2001, Cisco Systems, Inc. All rights reserved. 8

9 MPLS/VPN Model P Router CE Router PE Router PE Router CE Router Site P-Network Site C-Network 2001, Cisco Systems, Inc. All rights reserved. 9

10 MPLS Architecture 7 OSI CONTROL PLANE MPLS 6 ROUTING PROTOCOL OSPF/BGP IS-IS IP ROUTING TABLE LABEL INFORMATION BASE (LIB) LDP/TDP 2 1/2 MPLS DATA PLANE 2 1 LFIB FIB 2001, Cisco Systems, Inc. All rights reserved. 10

11 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 11

12 MPLS Shim header structure Version Length 1 ToSe Byt Len ID Flags/ offset TTL Proto FCS IP-SA IP-DA Data PRECEDENCE IP v4 HEADER MPLS SHIM HEADER MPLS LABEL STACKING 2001, Cisco Systems, Inc. All rights reserved. 12

13 Label Structure PPP Header(Packet over SONET/SDH) PPP Header Shim Header Layer 3 Header Ethernet Ethernet Hdr Shim Header Layer 3 Header Frame Relay FR Hdr Shim Header Layer 3 Header ATM Cell Header GFC VPI VCI PTI CLP HEC DATA Label Subsequent cells GFC VPI VCI PTI CLP HEC DATA Label Ether Type 0x8000 for unlabeled IP packet 0x8847 for labeled IP unicast packet 0x8848 for labeled IP multicast packet 2001, Cisco Systems, Inc. All rights reserved. 13

14 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 14

15 Label Imposition CEF must be enabled on the interface where labels are first imposed. This is because the CEF mechanisms queries the LFIB in order to find which labels to apply. If an interface is purely passing MPLS frames, CEF can be disabled. Default label selection is based on the unicast destination IP address 2001, Cisco Systems, Inc. All rights reserved. 15

16 Label Imposition Address Prefix Local Label Address Prefix Local Label Address Prefix Local label Address Prefix Local Label / / / / / / / / / / / / / / / / / / / / / / / / / / / / E E0 PE A SO S0 P S1 S0 P.1.2 S1 S0 PE B E0 E Address Prefix Next Hop Address Prefix Next Hop Address Prefix Next Hop Address Prefix Next Hop /16 Connected / /16 Connected / /16 Connected / / / / / / /16 Connected /16 Connected / / / / / / / / Connected Connected / / / / / / / Connected Connected Connected 2001, Cisco Systems, Inc. All rights reserved. 16

17 LIB Content Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl /16 1 Null / /16 3 Null / /16 5 Null /16 6 POP / /16 8,15 POP /16 9, /16 10,17 POP /16 11, /16 12,19 Null /16 13,6 Null /16 14,7 POP / / / / / / /16 15,22 9,16 17,24 11,18 19,26 20,27 14,21 15 POP 17 POP POP Null Null / / / / / / / Null 24 Null 26 POP Null E E0 PE A SO S0 P S1 S0 P.1.2 S1 S0 PE B E0 E TDP/LDP TDP/LDP TDP/LDP MBGP 2001, Cisco Systems, Inc. All rights reserved. 17

18 LFIB Creation Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl Address LIB Prefix LocLbl NHLbl /16 1 Null / /16 3 Null / /16 5 Null /16 6 POP / /16 8,15 POP /16 9, /16 10,17 POP /16 11, /16 12,19 Null /16 13,6 Null /16 14,7 POP / / / / / / /16 15,22 9,16 17,24 11,18 19,26 20,27 14,21 15 POP 17 POP POP Null Null / / / / / / / Null 24 Null 26 POP Null E E0 PE A SO S0 S S0.1.2 S S0 PE B E0 E Lbl IN LFIB LblOUT O/IF MAC Hdr Lbl IN LFIB LblOUT O/IF MAC Hdr Lbl IN LFIB LblOUT O/IF MAC Hdr Lbl IN LFIB LblOUT O/IF MAC Hdr 2 2 S0 ABCD 4 4 S0 ABCD 6 POP S0 ABCD 7 7 S0 ABCD 8,10,15,17 POP S0 9,2 9 S1 11,4 11 S1 14,7 POP S1 AD8F DCBA DCBA DCBA 9,16,11,18 POP S1 15,22 15 S0 17,24 17 S0 19,26 POP S0 1A2B 2B3C 2B3C 2B3C S S S0 27 POP S0 3C4D 3C4D 3C4D 3C4D 2001, Cisco Systems, Inc. All rights reserved. 18

19 Using 2 nd Label for VPN service Address Prefix Local Label Address Prefix Local Label / / / / / / / / / / / / / / M-BGP E E0 PE A SO S PAYLOAD P S1 S0 P.1.2 S1 S0 PE B E0 E S= PAYLOAD S=0 23 S=1 PAYLOAD 2001, Cisco Systems, Inc. All rights reserved. 19

20 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 20

21 ATM LSRs ATM switches forward cells, not packets Label Dist is Downstream on-demand, Ordered IGP label is carried in the VPI/VCI field Merging LSR: Ability to use the same label for different FECs if outgoing interface is the same Save label space on ATM-LSRs Cell interleave problem Non Merging LSR: ATM-LSR requests one label per FEC and per incoming interface (upstream neighbors) Downstream LSR may request itself new label to its downstream neighbors 2001, Cisco Systems, Inc. All rights reserved. 21

22 ATM LSRs Non-Merging Downstream on Demand 5 In I/F In Lab Address Prefix Out I/F Out Lab ATM-LSR requested additional label for same FEC in order to distinguish between incoming interfaces (Downstream on Demand) IP Packet ATM cell 5 ATM cell IP Packet 8 ATM cell 8 ATM cell 8 ATM cell ATM cell ATM cell ATM cell ATM cell ATM cell 2001, Cisco Systems, Inc. All rights reserved. 22

23 ATM LSRs VC-Merging Downstream on Demand 5 In I/F In Lab Address Prefix Out I/F Out Lab ATM-LSR transmitted cells in sequence in order for the downstream LSR to re-assembling correctly the cells into packets IP Packet ATM cell 5 ATM cell IP Packet 8 ATM cell 8 ATM cell 8 ATM cell ATM cell ATM cell ATM cell ATM cell VC- Merge ATM cell 2001, Cisco Systems, Inc. All rights reserved. 23

24 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 24

25 Loop prevention and TTL In IP networks TTL is used to prevent packets to travel indefinitely in the network MPLS may use same mechanism as IP, but not on all encapsulations TTL is present in the label header for PPP and LAN headers (shim headers) ATM cell header does not have TTL. It relies on IGP, and LDP mechanisms to do the job (Hop Count TLV,Path Vector max # hops), TDP (Hop Count) draft-ietf ietf-mpls-ldpldp 2001, Cisco Systems, Inc. All rights reserved. 25

26 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 26

27 Route Distinguisher New address family: VPN-IP addresses VPN-IP address = Route Distinguisher (RD) + IP address RDs are assigned by a service provider to each PE RDs should be unique AS-wide (by virtue of assignment) convert non-unique IP addresses into unique VPN-IP addresses Route Distinguisher: Used to create a unique IP address, e.g. 2586:10: An RD is needed per VRF signifying the route originator - therefore a single router may have multiple RDs The RD is NOT USED for filtering of routing information 2001, Cisco Systems, Inc. All rights reserved. 27

28 Route Target BGP Extended Community: Used to filter routing information Identifies VRFs that may receive set of routes tagged with given Route Target Example :101 Same format as RDs - NOT the same function 2001, Cisco Systems, Inc. All rights reserved. 28

29 MP-iBGP Update VPN-IPV4 address Route Distinguisher (64 bits) Makes the IPv4 route globally unique RD is configured in the PE for each VRF RD may or may not be related to a site or a VPN IPv4 address (32bits) Extended Community attribute (64 bits) Site of Origin (SOO): identifies the originating site Route-target (RT): identifies the set of sites the route has to be advertised to 2001, Cisco Systems, Inc. All rights reserved. 29

30 MPLS VPN Connection Model Site-4 Site-1 VPN-C VPN-A Site-2 VPN-B Site-3 A site belonging to different VPNs may or MAY NOT be used as a transit point between VPNs If two or more VPNs have a common site, address space must be unique among these VPNs 2001, Cisco Systems, Inc. All rights reserved. 30

31 MPLS VPN Connection Model C E Site-1 PE CE EBGP,OSPF, RIPv2,Static Site-2 PE and CE routers exchange routing information through: EBGP, OSPF, RIPv2, Static routing CE router run standard routing software 2001, Cisco Systems, Inc. All rights reserved. 31

32 MPLS VPN Connection Model C E CE Site-1 EBGP,OSPF, RIPv2,Static PE VPN Backbone IGP (OSPF, ISIS) Site-2 PE routers maintain separate routing tables The global routing table With all PE and P routes Populated by the VPN backbone IGP (ISIS or OSPF) VRF (VPN Routing and Forwarding) Routing and Forwarding table associated with one or more directly connected sites (CEs) VRF are associated to (sub/virtual/tunnel)interfaces Interfaces may share the same VRF if the connected sites may share the same routing information 2001, Cisco Systems, Inc. All rights reserved. 32

33 MPLS VPN Connection Model PE P P PE VPN Backbone IGP P P ibgp session PE and P routers share a common IGP (ISIS or OSPF) PEs establish MP-iBGP sessions between them PEs use MP-BGP to exchange routing information related to the connected sites and VPNs VPN-IPv4 addresses, Extended Community, Label 2001, Cisco Systems, Inc. All rights reserved. 33

34 MPLS VPN Connection Model BGP,RIPv2 update for Net1,Next- Hop=CE-1 PE-1 P P VPN Backbone IGP P P PE-2 VPN-IPv4 update is translated into IPv4 address (Net1) put into VRF green since RT=Green and advertised to CE-2 Site-2 CE-2 Site-1 CE-1 VPN-IPv4 update: RD:Net1, Next-hop=PE- 1 SOO=Site1, RT=Green, Label=(intCE1) PE routers receive IPv4 updates (EBGP, RIPv2, Static) PE routers translate into VPN-IPv4 Assign a SOO and RT based on configuration Re-write Next-Hop attribute Assign a label based on VRF and/or interface Send MP-iBGP update to all PE neighbors 2001, Cisco Systems, Inc. All rights reserved. 34

35 MPLS VPN mechanisms VRF and Multiple Routing Instances Routing processes BGP RIP Static Routing processes run within specific routing contexts Routing contexts VRF Routing tables Populate specific VPN routing table and FIBs (VRF) VRF Forwarding tables Interfaces are assigned to VRFs 2001, Cisco Systems, Inc. All rights reserved. 35

36 MPLS VPN mechanisms VRF and Multiple Routing Instances Logical view Site-1 Site-4 VPN-C VPN-A Multihop MP-iBGP Site-2 VPN-B Site-3 P P PE PE Routing view VRF for site-1 Site-1 routes Site-2 routes VRF for site-2 Site-1 routes Site-2 routes Site-3 routes VRF for site-3 Site-2 routes Site-3 routes Site-4 routes VRF for site-4 Site-3 routes Site-4 routes Site-1 Site-2 Site-3 Site , Cisco Systems, Inc. All rights reserved. 36

37 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 37

38 VPN sites with Hub & Spoke routing VPN-IPv4 update advertised by PE1 RD:N1, NH=PE1,Label=IntCE1, RT=Hub Site-1 N1 CE1 Site-2 N2 CE2 IntCE1 VRF (Import RT=Spoke) (Export RT=Hub) N1,NH=CE1 (exported) N2,NH=PE3 (imported) N3,NH=PE3 (imported IntCE2 VRF (Import RT=Spoke) (Export RT=Hub) N1,NH=PE3 (imported) N2,NH=CE2 (exported) N3,NH=PE3 (imported) PE1 PE2 VPN-IPv4 update advertised by PE2 RD:N2, NH=PE2,Label=IntCE2, RT=Hub PE3 BGP/RIPv2 IntCE3-Hub VRF (Import RT=Hub) Site-3 CE3-Hub N1,NH=PE1 N2,NH=PE2 IntCE3-Spoke VRF N3 (Export RT=Spoke) CE3-Spoke N1,NH=CE3- Spoke BGP/RIPv2 N2,NH=CE3- Spoke N3,NH=CE3- VPN-IPv4 Spoke updates advertised by PE3 RD:N1, NH=PE3,Label=IntCE3-Spoke, RT=Spoke RD:N2, NH=PE3,Label=IntCE3-Spoke, RT=Spoke RD:N3, NH=PE3,Label=IntCE3-Spoke, RT=Spoke Routes are imported/exported into VRFs based on RT value of the VPN-IPv4 updates PE3 uses 2 (sub) interfaces with two different VRFs 2001, Cisco Systems, Inc. All rights reserved. 38

39 MPLS VPN Topologies VPN sites with Hub & Spoke routing Site-1 N1 CE1 IntCE1 VRF (Import RT=Spoke) (Export RT=Hub) N1,NH=CE1 (exported) N2,NH=PE3 (imported) N3,NH=PE3 (imported PE1 IntCE3-Hub VRF (Import RT=Hub) N1,NH=PE1 N2,NH=PE2 BGP/RIPv2 CE3-Hub Site-3 Site-2 N2 CE2 IntCE2 VRF (Import RT=Spoke) (Export RT=Hub) N1,NH=PE3 (imported) N2,NH=CE2 (exported) N3,NH=PE3 (imported) PE2 PE3 IntCE3-Spoke VRF (Export RT=Spoke) N1,NH=CE3- Spoke N2,NH=CE3- Spoke N3,NH=CE3- Spoke BGP/RIPv2 CE3-Spoke N3 Traffic from one spoke to another will travel across the hub site Hub site may host central services Security, NAT, centralised Internet access 2001, Cisco Systems, Inc. All rights reserved. 39

40 MPLS VPN Internet Routing The Internet routing table is treated separately In the VPN backbone the Internet routes are in the Global routing table of PE routers Labels are not assigned to external (BGP) routes P routers need not (and will not) run BGP 2001, Cisco Systems, Inc. All rights reserved. 40

41 MPLS VPN Internet routing VRF specific default route A default route is installed into the site VRF and pointing to a Internet Gateway The default route is NOT part of any VPN A single label is used for packets forwarded according to the default route The label is the IGP label corresponding to the IP address of the Internet gateway Known in the IGP 2001, Cisco Systems, Inc. All rights reserved. 41

42 MPLS VPN Internet routing VRF specific default route PE router originates CE routes for the Internet Customer (site) routes are known in the site VRF Not in the global table The PE/CE interface is NOT known in the global table. However: A static route for customer routes and pointing to the PE/CE interface is installed in the global table This static route is redistributed into BGP-4 global table and advertised to the Internet Gateway The Internet gateway knows customer routes and with the PE address as next-hop 2001, Cisco Systems, Inc. All rights reserved. 42

43 MPLS VPN Internet routing VRF specific default route Internet PE-IG PE MP-BGP BGP-4 Serial0 PE ip vrf VPN-A rd 100:1 route-target both 100:1 Interface Serial0 ip address ip vrf forwarding VPN-A Router bgp 100 no bgp default ipv4-unicast network mask neighbor remote 100 neighbor activate neighbor next-hop-self neighbor update-source loopback0 address-family ipv4 vrf VPN-A neighbor remote-as neighbor activate exit-address-family Site-1 Network /16 Site-2 address-family vpnv4 neighbor activate exit-address-family ip route Serial0 ip route vrf VPN-A glob 2001, Cisco Systems, Inc. All rights reserved. 43

44 MPLS VPN Internet Routing Separated (sub) interfaces If CE wishes to receive and announce routes from/to the Internet A dedicated BGP session is used over a separate (sub) interface The PE imports CE routes into the global routing table and advertise them to the Internet The interface is not part of any VPN and does not use any VRF Default route or Internet routes are exported to the CE PE needs to have Internet routing table 2001, Cisco Systems, Inc. All rights reserved. 44

45 MPLS VPN Internet Routing Separated (sub) interfaces The PE uses separate (sub) interfaces with the CE One (sub) interface for VPN routing associated to a VRF Can be a tunnel interface One (sub) interface for Internet routing Associated to the global routing table 2001, Cisco Systems, Inc. All rights reserved. 45

46 MPLS VPN Internet Routing Separated (sub) interfaces Internet PE-IG PE Site-1 BGP-4 MP-BGP PE Serial0.1 Serial0.2 BGP-4 Network /16 Site-2 ip vrf VPN-A rd 100:1 route-target both 100:1 Interface Serial0 no ip address Interface Serial0.1 ip address ip vrf forwarding VPN-A Interface Serial0.2 ip address Router bgp 100 no bgp default ipv4-unicast neighbor remote 100 neighbor activate neighbor next-hop-self neighbor update-source loopback0 neighbor remote 502 address-family ipv4 vrf VPN-A neighbor remote-as 502 neighbor activate exit-address-family address-family vpnv4 neighbor activate exit-address-family 2001, Cisco Systems, Inc. All rights reserved. 46

47 MPLS Concepts Label Structure Label assignment and distribution ATM LSRs Loop prevention RD, RT and VRF instances Service Models MPLS/VPN Configuration 2001, Cisco Systems, Inc. All rights reserved. 47

48 MPLS VPN - Configuration VPN knowledge is on PE routers PE router have to be configured for VRF and Route Distinguisher VRF import/export policies (based on Route-target) Routing protocol used with CEs MP-BGP between PE routers BGP for Internet routers With other PE routers With CE routers 2001, Cisco Systems, Inc. All rights reserved. 48

49 MPLS VPN - Configuration VRF and Route Distinguisher RD is configured on PE routers (for each VRF) VRFs are associated to RDs in each PE Common (good) practice is to use the same RD for the same VPN in all PEs But not mandatory VRF configuration command ip vrf <vrf-symbolic symbolic-name> rd <route-distinguisher distinguisher-value> route-target target import <community> route-target target export <community> 2001, Cisco Systems, Inc. All rights reserved. 49

50 CLI - VRF configuration ip vrf site1 rd 100:1 route-target export 100:1 route-target import 100:1 ip vrf site2 rd 100:2 route-target export 100:2 route-target import 100:2 route-target import 100:1 route-target export 100:1 VRF for site-1 (100:1) Site-1 routes Site-2 routes PE1 Site-1 VPN-A Site-2 VRF for site-2 (100:2) Site-1 routes Site-2 routes Site-3 routes P VPN-B Site-3 Multihop MP-iBGP P VRF for site-3 (100:3) Site-2 routes Site-3 routes Site-4 routes Site-4 VPN-C PE2 ip vrf site3 rd 100:3 route-target export 100:2 route-target import 100:2 route-target import 100:3 route-target export 100:3 ip vrf site-4 rd 100:4 route-target export 100:3 route-target import 100:3 VRF for site-4 (100:4) Site-3 routes Site-4 routes Site-1 Site-2 Site-3 Site , Cisco Systems, Inc. All rights reserved. 50

51 MPLS VPN - Configuration PE/CE routing protocols PE/CE may use BGP, RIPv2 or Static routes A routing context is used for each VRF Routing contexts are defined within the routing protocol instance Address-family router sub-command Router rip version 2 address-family ipv4 vrf <vrf-symbolic symbolic-name> any common router sub-command 2001, Cisco Systems, Inc. All rights reserved. 51

52 MPLS VPN - Configuration PE/CE routing protocols BGP uses same address-family command Router BGP <asn>... address-family ipv4 vrf <vrf-symbolic symbolic- name> any common router BGP subcommand Static routes are configured per VRF ip route vrf <vrf-symbolic symbolic-name> 2001, Cisco Systems, Inc. All rights reserved. 52

53 MPLS VPN - Configuration PE router commands All show commands are VRF based Show ip route vrf <vrf-symbolic symbolic-name>... Show ip protocol vrf <vrf-symbolic symbolic-name> Show ip cef <vrf-symbolic symbolic-name> PING and Telnet commands are VRF based telnet /vrf <vrf-symbolic symbolic-name> ping vrf <vrf-symbolic symbolic-name> 2001, Cisco Systems, Inc. All rights reserved. 53

54 MPLS VPN - Configuration PE/CE routing protocols ip vrf site1 rd 100:1 route-target export 100:12 route-target import 100:12 ip vrf site2 rd 100:2 route-target export 100:12 route-target import 100:12 route-target import 100:23 route-target export 100:23 interface Serial3/6 ip vrf forwarding site1 ip address encapsulation ppp interface Serial3/7 ip vrf forwarding site2 ip address encapsulation ppp PE1 VRF for site-1 (100:1) Site-1 routes Site-2 routes Site-1 VPN-A Site-2 P VRF for site-2 (100:2) Site-1 routes Site-2 routes Site-3 routes VPN-B Multihop MP-iBGP P VRF for site-3 (100:3) Site-2 routes Site-3 routes Site-4 routes Site-3 Site-4 VPN-C PE2 VRF for site-4 (100:4) Site-3 routes Site-4 routes ip vrf site3 rd 100:3 route-target export 100:23 route-target import 100:23 route-target import 100:34 route-target export 100:34 ip vrf site-4 rd 100:4 route-target export 100:34 route-target import 100:34 interface Serial4/6 ip vrf forwarding site3 ip address encapsulation ppp interface Serial4/7 ip vrf forwarding site4 ip address encapsulation ppp Site-1 Site-2 Site-3 Site , Cisco Systems, Inc. All rights reserved. 54

55 MPLS VPN - Configuration PE/CE routing protocols router bgp 100 no bgp default ipv4-unicast neighbor remote-as 100 neighbor update-source Loop0 address-family ipv4 vrf site2 neighbor remote-as neighbor activate exit-address-family address-family ipv4 vrf site1 neighbor remote-as neighbor activate exit-address-family address-family vpnv4 neighbor activate neighbor next-hop-self exit-address-family PE1 VRF for site-1 (100:1) Site-1 routes Site-2 routes Site-1 VPN-A Site-2 P VRF for site-2 (100:2) Site-1 routes Site-2 routes Site-3 routes VPN-B Multihop MP-iBGP P VRF for site-3 (100:2) Site-2 routes Site-3 routes Site-4 routes Site-3 Site-4 VPN-C PE2 VRF for site-4 (100:3) Site-3 routes Site-4 routes router bgp 100 no bgp default ipv4-unicast neighbor remote-as 100 neighbor update-source Loop0 address-family ipv4 vrf site4 neighbor remote-as neighbor activate exit-address-family address-family ipv4 vrf site3 neighbor remote-as neighbor activate exit-address-family address-family vpnv4 neighbor activate neighbor next-hop-self exit-address-family Site-1 Site-2 Site-3 Site , Cisco Systems, Inc. All rights reserved. 55

56 Allow AS If PE and Hub-site use BGP the PE should not check the received AS_PATH The update the Hub-site advertise contains the VPN backbone AS number By configuration the AS_PATH check is disabled Allow AS Routing loops are suppressed by the limit of occurrence of provider ASN in the AS_PATH Therefore, PE will REJECT the update if its ASN appears more than 3 times in the AS_PATH 3 is the default and can be overwritten with <opt> 2001, Cisco Systems, Inc. All rights reserved. 56

57 Allow AS ASN: 251 Site-1 ASN: 100 ASN: /32 CE1 PE1 ebgp4 update: /32 AS_PATH: CE3-Hub Site-3 ASN: 252 Site-2 N2 CE2 PE2 PE3 ebgp4 update: /32 AS_PATH: CE3-Spoke N3 address-family ipv4 vrf Hub neighbor remote-as 250 neighbor activate neighbor remote-as 250 neighbor activate neighbor allowas-in <opt> no auto-summary no synchronization exit-address-family 2001, Cisco Systems, Inc. All rights reserved. 57

58 Allow AS with ASN override ASN: 250 Site /32 ASN: 250 Site-2 N2 CE1 CE2 ebgp4 update: /32 AS_PATH: 250 ebgp4 update: /32 AS_PATH: VPN-IPv4 RD: /32, ASN: 100 AS_PATH: 250 PE1 VPN-IPv4 RD: /32, PE3 AS_PATH: PE2 ebgp4 update: /32 AS_PATH: ebgp4 update: /32 AS_PATH: ASN: 250 Site-3 CE3-Hub N3 CE3-Spoke Now the AS_PATH contains four occurrences of the provider ASN. This update will not be accepted anymore if the CE re-advertise it back to any PE address-family ipv4 vrf Hub neighbor remote-as 250 neighbor activate neighbor remote-as 250 neighbor activate neighbor allowas-in <opt> neighbor as-override no auto-summary no synchronization exit-address-family 2001, Cisco Systems, Inc. All rights reserved. 58

59 ASN Override PE-1 CE /32 ASN: 250 ASN: 100 PE-2 CE /32 ASN: 250 ip vrf odd rd 100:1 route-target export 100:3 route-target import 100:3 interface Serial1 ip vrf forwarding odd ip address router bgp 100 no synchronization no bgp default ipv4-unicast neighbor remote-as 100 neighbor update-source Loop0 neighbor activate neighbor next-hop-self no auto-summary address-family ipv4 vrf odd neighbor remote-as 250 neighbor activate neighbor as-override no auto-summary no synchronization exit-address-family address-family vpnv4 neighbor activate neighbor send-community extended no auto-summary exit-address-family 2001, Cisco Systems, Inc. All rights reserved. 59

60 ASN Override #sh ip bgp vpn all Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf odd) *>i / i *> / i VPN-IPv4 update: RD: /32 AS_PATH: 250 PE-2 performs following actions: 1- Replace last ASN with its own ASN 2- Update AS_PATH with its own ASN 3- Forward the update to CE-2 PE-1 ASN: 100 PE-2 ebgp4 update: /32 AS_PATH: ebgp4 update: /32 AS_PATH: 250 CE / #sh ip b Network Next Hop Metric LocPrf Weight Path *> / i *> / i CE /32 ASN: 250 ASN: , Cisco Systems, Inc. All rights reserved. 60

61 Site of Origin Used to identify the site Extended Community type Used to prevent loops when AS_PATH cannot be used When BGP is used between PE and multihomed sites A BGP route is NOT advertised back to the same site Even through different PE/CE connections 2001, Cisco Systems, Inc. All rights reserved. 61

62 Site of Origin SOO for ebgp learned routes SOO is configured through a route-map command SOO can be applied to routes learned through a particular VRF interface (without the use of BGP between PE and CE) SOO is then configured on the interface SOO is propagated into BGP during redistribution 2001, Cisco Systems, Inc. All rights reserved. 62

63 Site of Origin Site /32 CE #sh ip route vrf odd C /24 is directly connected, Serial2 B [20/0] via , 00:08:44, Serial # #sh ip bgp vpn all Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf odd) *> / i #sh ip bgp vpn all BGP routing table entry for 100:1: /32, version 17 Paths: (1 available, best #1) Advertised to non peer-group peers: from ( ) Origin IGP, metric 0, localpref 100, valid, external, best Extended Community: SoO:100:65 RT:100: # set extcommunity soo 100: , Cisco Systems, Inc. All rights reserved. 63 PE ip vrf odd rd 100:1 route-target export 100:3 route-target import 100:3 interface Serial1 ip vrf forwarding odd ip address router bgp 100 no synchronization no bgp default ipv4-unicast neighbor remote-as 100 neighbor update-source Loop0 neighbor activate neighbor next-hop-self no auto-summary address-family ipv4 vrf odd neighbor remote-as 250 neighbor activate neighbor route-map setsoo in no auto-summary no synchronization exit-address-family address-family vpnv4 neighbor activate neighbor send-community extended no auto-summary exit-address-family route-map setsoo permit 10

64 Site of Origin VPN-IPv4 update: RD: /32, Next-hop=PE-1 SOO=100:65, RT=100:3, Label=(intCE1) PE-1 PE-2 intce1 ebgp4 update: /32 ebgp4 update: /32 PE-2 will not propagate the route since the update SOO is equal to the one configured for the site CE /32 Site-1 SOO=100:65 CE , Cisco Systems, Inc. All rights reserved. 64

65 Selective Export Site /32 CE /24 PE VPN-IPv4 update: RD: /32 RT=100:3 VPN-IPv4 update: RD: /24 RT=100:4 ip vrf odd rd 100:1 export map RTMAP route-target import 100:3 access-list 10 permit access-list 11 permit any route-map RTMAP permit 10 match ip address 10 set extcommunity rt 100:3 route-map RTMAP permit 20 match ip address 11 set extcommunity rt 100:4 2001, Cisco Systems, Inc. All rights reserved. 65

66 Selective Import Site /32 PE CE /24 VPN-IPv4 update: RD: /32 RT=100:3 VPN-IPv4 update: RD: /24 RT=100:4 B [200/0] via , 02:17:48 ip vrf odd rd 100:1 import map RTMAP route-target export 100:3 access-list 10 permit route-map RTMAP permit 10 match ip address , Cisco Systems, Inc. All rights reserved. 66

67 Suggested reading draft-ietf-mpls-arch-05.txt draft-ietf-mpls-label-encaps-04.txt draft-ietf-mpls-atm-02.txt draft-ietf-mpls-ldp-03.txt 2001, Cisco Systems, Inc. All rights reserved. 67

68 2001, Cisco Systems, Inc. All rights reserved. 68

Concepts and Operation of MPLS VPNs. Francisco Bolanos

Concepts and Operation of MPLS VPNs. Francisco Bolanos Concepts and Operation of MPLS VPNs Francisco Bolanos fbolanos@cisco.com 2001, Cisco Systems, Inc. All rights reserved. 1 Agenda MPLS Concepts Label Structure Label assignment and distribution RD, RT and

More information

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN Platformă de e-learning și curriculă e-content pentru învățământul superior tehnic Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN MPLS VPN 5-ian-2010 What this lecture is about: IP

More information

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by:

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by: Deploy MPLS L3 VPN APNIC Technical Workshop October 23 to 25, 2017. Selangor, Malaysia Hosted by: Issue Date: [201609] Revision: [01] Acknowledgement Cisco Systems Course Outline MPLS L3 VPN Models L3

More information

MPLS Introduction. (C) Herbert Haas 2005/03/11

MPLS Introduction. (C) Herbert Haas 2005/03/11 MPLS Introduction MPLS (C) Herbert Haas 2005/03/11 Terminology LSR LER FEC LSP FIB LIB LFIB TIB PHP LDP TDP RSVP CR-LDP Label Switch Router Label Edge Router Forwarding Equivalent Class Label Switched

More information

MPLS VPN. 5 ian 2010

MPLS VPN. 5 ian 2010 MPLS VPN 5 ian 2010 What this lecture is about: IP CEF MPLS architecture What is MPLS? MPLS labels Packet forwarding in MPLS MPLS VPNs 3 IP CEF & MPLS Overview How does a router forward packets? Process

More information

MPLS VPN--Inter-AS Option AB

MPLS VPN--Inter-AS Option AB The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) service provider

More information

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution This feature lets you configure your carrier supporting carrier network to enable Border Gateway Protocol (BGP) to transport routes and Multiprotocol

More information

MPLS VPN Inter-AS Option AB

MPLS VPN Inter-AS Option AB First Published: December 17, 2007 Last Updated: September 21, 2011 The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol

More information

Применение MPLS в сетях связи. (Часть 2)

Применение MPLS в сетях связи. (Часть 2) Применение MPLS в сетях связи. (Часть 2) Дополнительные главы Компьютерных сетей и телекоммуникаций. Васин В.В. CCIE, ECE, CCSI MPLS VPN Technology Introducing VPNs Traditional Router-Based Networks Traditional

More information

Exam : Title : BGP + MPLS Exam (BGP + MPLS)

Exam : Title : BGP + MPLS Exam (BGP + MPLS) Exam : 642-691 Title : BGP + MPLS Exam (BGP + MPLS) Ver : 09-19-2008 QUESTION 1: Every time a flap occurs on a route, the route receives A. 750 per-flap penalty points which are user configurable B. 1500

More information

MPLS опорни мрежи MPLS core networks

MPLS опорни мрежи MPLS core networks MPLS опорни мрежи MPLS core networks Николай Милованов/Nikolay Milovanov http://niau.org Objectives Identify the drawbacks of traditional IP routing Describe basic MPLS concepts and LSR types. MPLS Labels

More information

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution This feature enables you to configure your carrier supporting carrier network to enable Border Gateway Protocol (BGP) to transport routes

More information

AToM (Any Transport over MPLS)

AToM (Any Transport over MPLS) I N D E X A AAL5 over MPLS operation, 459 460 configuration, 462 463 flowchart configuration, 461 PE router, 461 provider router, 461 verification, 463 465 AAL5 to VLAN Interworking, 515 517 AC (Attachment

More information

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP MPLS VPN Carrier Supporting Carrier Using LDP and an IGP Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Carrier Supporting Carrier (CSC) enables one MPLS VPN-based service provider

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) Multiprotocol Label Switching (MPLS) Petr Grygárek rek 1 Technology Basics Integrates label-based forwarding paradigm with network layer routing label forwarding + label swapping similar to ATM/FR switching

More information

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS CHAPTER 43 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS This chapter describes how to configure multiprotocol label switching (MPLS) and Ethernet over MPLS (EoMPLS) on the Cisco ME 3800X and ME 3600X

More information

MPLS VPN Multipath Support for Inter-AS VPNs

MPLS VPN Multipath Support for Inter-AS VPNs The feature supports Virtual Private Network (VPN)v4 multipath for Autonomous System Boundary Routers (ASBRs) in the interautonomous system (Inter-AS) Multiprotocol Label Switching (MPLS) VPN environment.

More information

Configuring MPLS and EoMPLS

Configuring MPLS and EoMPLS 37 CHAPTER This chapter describes how to configure multiprotocol label switching (MPLS) and Ethernet over MPLS (EoMPLS) on the Catalyst 3750 Metro switch. MPLS is a packet-switching technology that integrates

More information

CCIE R&S Techtorial MPLS

CCIE R&S Techtorial MPLS CCIE R&S Techtorial MPLS Ing. Tomáš Kelemen Partner Systems Engineer CCIE #24395 Ing. Peter Mesjar Systems Engineer CCIE #17428 2011 Cisco Systems, Inc. All rights reserved. 1 Agenda Introduction to MPLS

More information

Deploying MPLS L3VPN. Apricot Cisco and/or its affiliates. All rights reserved. Cisco Public

Deploying MPLS L3VPN. Apricot Cisco and/or its affiliates. All rights reserved. Cisco Public Deploying MPLS L3VPN 1 Abstract This session describes the implementation of IP Virtual Private Networks (IP VPNs) using MPLS. It is the most common Layer 3 VPN technology, as standardized by IETF RFC2547/4364,

More information

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP MPLS VPN Carrier Supporting Carrier Using LDP and an IGP Last Updated: December 14, 2011 Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Carrier Supporting Carrier (CSC) enables one

More information

Multiprotocol Label Switching Virtual Private Network

Multiprotocol Label Switching Virtual Private Network Anas Al-Selwi Multiprotocol Label Switching Virtual Private Network Helsinki Metropolia University of Applied Sciences Bachelor of Engineering Information Technology Thesis 08 May 2013 Abstract Author(s)

More information

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0 From the technology basics to advanced VPN configuration. $3,995.00 5 Days Upcoming Dates Dec 10 - Dec 14 Mar 25 - Mar 29 Course Description

More information

Multiprotocol BGP 1 MPLS VPN. Agenda. Multiprotocol BGP 2

Multiprotocol BGP 1 MPLS VPN. Agenda. Multiprotocol BGP 2 Multiprotocol BGP 1 MPLS VPN Peer to Peer VPN s BGP-4 (RFC 1771) is capable of carrying routing information only for IPv4 The only three pieces of information carried by BGP-4 that are IPv4 specific are

More information

Deploying MPLS-based IP VPNs

Deploying MPLS-based IP VPNs Deploying MPLS-based IP VPNs Rajiv Asati, Distinguished Engineer, Cisco Rajiv_cisco BRKMPL-2102 Abstract This session describes the implementation of IP Virtual Private Networks (IP VPNs) using MPLS. It

More information

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label 7 C H A P T E R S U P P L E M E N T This online supplement of Chapter 7 focuses on two important developments. The first one is Inter-Autonomous. Inter-Autonomous is a concept whereby two service provider

More information

HP FlexFabric 7900 Switch Series

HP FlexFabric 7900 Switch Series HP FlexFabric 7900 Switch Series MCE Configuration Guide Part number: 5998-6188 Software version: Release 2117 and Release 2118 Document version: 6W100-20140805 Legal and notice information Copyright 2014

More information

VRF, MPLS and MP-BGP Fundamentals

VRF, MPLS and MP-BGP Fundamentals VRF, MPLS and MP-BGP Fundamentals Jason Gooley, CCIEx2 (RS, SP) #38759 Twitter: @ccie38759 LinkedIn: http://www.linkedin.com/in/jgooley Agenda Introduction to Virtualization VRF-Lite MPLS & BGP Free Core

More information

HP 5920 & 5900 Switch Series

HP 5920 & 5900 Switch Series HP 5920 & 5900 Switch Series MCE Configuration Guide Part number: 5998-2896 Software version: Release2207 Document version: 6W100-20121130 Legal and notice information Copyright 2012 Hewlett-Packard Development

More information

Implementing MPLS Layer 3 VPNs

Implementing MPLS Layer 3 VPNs A Multiprotocol Label Switching (MPLS) Layer 3 Virtual Private Network (VPN) consists of a set of sites that are interconnected by means of an MPLS provider core network. At each customer site, one or

More information

Troubleshooting LSP Failure in MPLS VPN

Troubleshooting LSP Failure in MPLS VPN Troubleshooting LSP Failure in MPLS VPN Document ID: 23565 Contents Introduction Prerequisites Requirements Components Used Conventions Network Diagram Router Configurations Problem Cause of the LSP Failure

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way \ http://www.pass4test.com We offer free update service for one year Exam : 642-691 Title : CCIP BGP + MPLS Exam (BGP + MPLS) Vendors : Cisco Version

More information

HP A5820X & A5800 Switch Series MPLS. Configuration Guide. Abstract

HP A5820X & A5800 Switch Series MPLS. Configuration Guide. Abstract HP A5820X & A5800 Switch Series MPLS Configuration Guide Abstract This document describes the software features for the HP 5820X & 5800 Series products and guides you through the software configuration

More information

VRF, MPLS and MP-BGP Fundamentals

VRF, MPLS and MP-BGP Fundamentals , MPLS and MP-BGP Fundamentals Jason Gooley, CCIEx2 (RS, SP) #38759 Twitter: @Jason_Gooley LinkedIn: http://www.linkedin.com/in/jgooley Agenda Introduction to Virtualization -Lite MPLS & BGP Free Core

More information

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE MPLS Multiprotocol MPLS Label Switching MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE Peter R. Egli 1/21

More information

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015 .. MPLS Multi Protocol Label Switching (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 4.3, 2015/03/09 13:07:57) Thursday, March 12, 2015 Karst Koymans (UvA) MPLS

More information

MPLS design. Massimiliano Sbaraglia

MPLS design. Massimiliano Sbaraglia MPLS design Massimiliano Sbaraglia - MPLS layer 2 VPN diagram flowchart - MPLS layer 2 VPN pseudowire VPWS diagram - MPLS layer 2 VPN VPLS diagram - MPLS layer 2 EVPN diagram - MPLS layer 3 VPN diagram

More information

Exam : Title : Implementing Cisco MPLS Exam (MPLS) Ver :

Exam : Title : Implementing Cisco MPLS Exam (MPLS) Ver : Exam : 642-611 Title : Implementing Cisco MPLS Exam (MPLS) Ver : 09-28-07 QUESTION 1: Which statement is true about the hardware requirements of MPLS? A. Because you do not need to run a routing protocol

More information

Deploying MPLS-based IP VPNs

Deploying MPLS-based IP VPNs Deploying MPLS-based IP VPNs Rajiv Asati Distinguished Engineer 2 Abstract This session describes the implementation of IP Virtual Private Networks (IP VPNs) using MPLS. It is the most common Layer 3 VPN

More information

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses The Multiprotocol Label Switching (MPLS) VPN Inter-AS with Autonomous System Boundary Routers (ASBRs) Exchanging VPN-IPv4 Addresses feature allows

More information

MPLS LDP. Agenda. LDP Overview LDP Protocol Details LDP Configuration and Monitoring 9/27/16. Nurul Islam Roman

MPLS LDP. Agenda. LDP Overview LDP Protocol Details LDP Configuration and Monitoring 9/27/16. Nurul Islam Roman MPLS LDP Nurul Islam Roman (nurul@apnic.net) 1 Agenda LDP Overview LDP Protocol Details LDP Configuration and Monitoring 1 Label Distribution Protocol Overview MPLS nodes need to exchange label information

More information

This document is not restricted to specific software and hardware versions.

This document is not restricted to specific software and hardware versions. Contents Introduction Prerequisites Requirements Components Used Background Information Configure Network Diagram Configuration DN Bit Verify Troubleshoot Related Cisco Support Community Discussions Introduction

More information

Configuring MPLS L3VPN

Configuring MPLS L3VPN Contents Configuring MPLS L3VPN 1 MPLS L3VPN overview 1 Introduction to MPLS L3VPN 1 MPLS L3VPN concepts 2 MPLS L3VPN packet forwarding 5 MPLS L3VPN networking schemes 5 MPLS L3VPN routing information

More information

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS Computer Network Architectures and Multimedia Guy Leduc Chapter 2 MPLS networks Chapter based on Section 5.5 of Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross Addison-Wesley,

More information

UniNets MPLS LAB MANUAL MPLS. UNiNets Multiprotocol label Switching MPLS LAB MANUAL. UniNets MPLS LAB MANUAL

UniNets MPLS LAB MANUAL MPLS. UNiNets Multiprotocol label Switching MPLS LAB MANUAL. UniNets MPLS LAB MANUAL MPLS UNiNets Multiprotocol label Switching MPLS LAB MANUAL CCNP TOPOLOGY Lab: OSPF Routing VPN Topology: Task1: Perform the basic Configuration to provide the reachability as per diagram. SW1 Configuration

More information

HPE FlexFabric 5940 Switch Series

HPE FlexFabric 5940 Switch Series HPE FlexFabric 5940 Switch Series MCE Configuration Guide Part number: 5200-1024b Software version: Release 25xx Document version: 6W102-20170830 Copyright 2017 Hewlett Packard Enterprise Development LP

More information

Operation Manual MCE H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Operation Manual MCE H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 MCE Overview... 1-1 1.1 MCE Overview... 1-1 1.1.1 Introduction to BGP/MPLS VPN... 1-1 1.1.2 BGP/MPLS VPN Concepts... 1-2 1.1.3 Introduction to MCE... 1-5 1.1.4

More information

MPLS VPN Inter-AS IPv4 BGP Label Distribution

MPLS VPN Inter-AS IPv4 BGP Label Distribution MPLS VPN Inter-AS IPv4 BGP Label Distribution This feature enables you to set up a Virtual Private Network (VPN) service provider network so that the autonomous system boundary routers (ASBRs) exchange

More information

MPLS VPN Route Target Rewrite

MPLS VPN Route Target Rewrite The feature allows the replacement of route targets on incoming and outgoing Border Gateway Protocol (BGP) updates Typically, Autonomous System Border Routers (ASBRs) perform the replacement of route targets

More information

BGP Best External. Finding Feature Information

BGP Best External. Finding Feature Information The feature provides the network with a backup external route to avoid loss of connectivity of the primary external route. The feature advertises the most preferred route among those received from external

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) Multiprotocol Label Switching (MPLS) Petr Grygárek rek 1 Technology in Brief Inserts underlying label-based forwarding layer under traditional network layer routing label forwarding + label swapping similar

More information

Configuring MPLS L3VPN

Configuring MPLS L3VPN Contents Configuring MPLS L3VPN 1 MPLS L3VPN overview 1 MPLS L3VPN concepts 2 MPLS L3VPN packet forwarding 4 MPLS L3VPN networking schemes 5 MPLS L3VPN routing information advertisement 8 Inter-AS VPN

More information

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS) on Cisco Routers Multiprotocol Label Switching (MPLS) on Cisco Routers Feature History Release 11.1CT 12.1(3)T 12.1(5)T 12.0(14)ST 12.0(21)ST 12.0(22)S Modification The document introduced MPLS and was titled Tag Switching

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) Multiprotocol Label Switching (MPLS) Petr Grygárek rek 1 Technology in Brief Inserts underlying label-based forwarding layer under traditional network layer routing label forwarding + label swapping similar

More information

COMP9332 Network Routing & Switching

COMP9332 Network Routing & Switching COMP9332 Network Routing & Switching Switching in IP Networks with MPLS http://www.cse.unsw.edu.au/~cs9332 1 Lecture Overview This lecture introduces the concept of switching, which allows faster processing

More information

HP FlexFabric 5930 Switch Series

HP FlexFabric 5930 Switch Series HP FlexFabric 5930 Switch Series MCE Configuration Guide Part number: 5998-4625 Software version: Release 2406 & Release 2407P01 Document version: 6W101-20140404 Legal and notice information Copyright

More information

MPLS VPN Carrier Supporting Carrier

MPLS VPN Carrier Supporting Carrier MPLS VPN Carrier Supporting Carrier Feature History Release 12.0(14)ST 12.0(16)ST 12.2(8)T 12.0(21)ST 12.0(22)S 12.0(23)S Modification This feature was introduced in Cisco IOS Release 12.0(14)ST. Support

More information

Table of Contents Chapter 1 MPLS L3VPN Configuration

Table of Contents Chapter 1 MPLS L3VPN Configuration Table of Contents Table of Contents... 1-1 1.1 MPLS L3VPN Overview... 1-1 1.1.1 MPLS L3VPN Model... 1-2 1.1.2 MPLS L3VPN Implementation... 1-5 1.1.3 Nested MPLS L3VPN Implementation... 1-7 1.1.4 Hierarchical

More information

MPLS L3VPN. The MPLS L3VPN model consists of three kinds of devices: PE CE Site 2. Figure 1 Network diagram for MPLS L3VPN model

MPLS L3VPN. The MPLS L3VPN model consists of three kinds of devices: PE CE Site 2. Figure 1 Network diagram for MPLS L3VPN model is a kind of PE-based L3VPN technology for service provider VPN solutions. It uses BGP to advertise VPN routes and uses to forward VPN packets on service provider backbones. provides flexible networking

More information

The CCIE Candidate s Introduction to MPLS L3VPN Networks

The CCIE Candidate s Introduction to MPLS L3VPN Networks The CCIE Candidate s Introduction to MPLS L3VPN Networks Keith Barker, Scott Morris Tour Guide Keith Barker, CCIEx2 #6783, CCDP, CISSP CCIE Route/Switch and Security Twitter: @KeithBarkerCCIE YouTube:

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP First Published: May 2, 2005 Last Updated: August 21, 2007 This module describes configuration tasks that will enable your Border Gateway Protocol (BGP)

More information

InterAS Option B. Information About InterAS. InterAS and ASBR

InterAS Option B. Information About InterAS. InterAS and ASBR This chapter explains the different InterAS option B configuration options. The available options are InterAS option B, InterAS option B (with RFC 3107), and InterAS option B lite. The InterAS option B

More information

L3VPN Configuration. L3VPN Overview. Introduction to L3VPN

L3VPN Configuration. L3VPN Overview. Introduction to L3VPN Table of Contents L3VPN Configuration 1 L3VPN Overview 1 Introduction to L3VPN 1 L3VPN Concepts 2 L3VPN Networking Schemes 3 OSPF VPN Extension 6 L3VPN Configuration Task List 8 Configuring VPN Instances

More information

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

BGP Cost Community. Prerequisites for the BGP Cost Community Feature The feature introduces the cost extended community attribute. The cost community is a non-transitive extended community attribute that is passed to internal BGP (ibgp) and confederation peers but not to

More information

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS) on Cisco Routers Multiprotocol Label Switching (MPLS) on Cisco Routers This document describes commands for configuring and monitoring Multiprotocol Label Switching (MPLS) functionality on Cisco routers and switches. This

More information

MPLS for R&S CCIE Candidates

MPLS for R&S CCIE Candidates MPLS for R&S CCIE Candidates Johnny Bass CCIE #6458 2 About the Presenter Johnny Bass Networking industry since the late 1980s CCIE R&S #6458 CCSI 97168 Cisco 360 R&S Master Instructor Course director

More information

MPLS etc.. MPLS is not alone TEST. 26 April 2016 AN. Multi-Protocol Label Switching MPLS-TP FEC PBB-TE VPLS ISIS-TE MPƛS GMPLS SR RSVP-TE OSPF-TE PCEP

MPLS etc.. MPLS is not alone TEST. 26 April 2016 AN. Multi-Protocol Label Switching MPLS-TP FEC PBB-TE VPLS ISIS-TE MPƛS GMPLS SR RSVP-TE OSPF-TE PCEP Multi-Protocol Label Switching MPLS-TP FEC VPLS PBB-TE MPLS etc.. MPLS is not alone LDP MPLS-TE LABEL MP-BGP LSP TAG H-VPLS 26 April 2016 AN TEST GMPLS SR T-MPLS ISIS-TE MPƛS OSPF-TE PCEP Multi-Protocol

More information

Label Switching. The idea. Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label. cs670.

Label Switching. The idea. Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label. cs670. Label Switching The idea Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label label How it works IP IP payload When the packet reaches a router,

More information

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF MODULE 07 - MPLS BASED LAYER 2 SERVICES 1 by Xantaro MPLS BASED LAYER 2 VPNS USING MPLS FOR POINT-TO-POINT LAYER 2 SERVICES 2 by Xantaro Why are Layer-2

More information

MPLS Core Networks Николай Милованов/Nikolay Milovanov

MPLS Core Networks Николай Милованов/Nikolay Milovanov Label Assignment and Distribution Николай Милованов/Nikolay Milovanov Contents Label Assignment and Distribution Typical Label Distribution in Packet-mode MPLS Convergence in Packet-mode MPLS MPLS Label

More information

Table of Contents. Cisco MPLS FAQ For Beginners

Table of Contents. Cisco MPLS FAQ For Beginners Table of Contents MPLS FAQ For Beginners...1 Document ID: 4649...1 Questions...1 Introduction...1 Q. What is Multi Protocol Label Switching (MPLS)?...1 Q. What is a label? What is the structure of the

More information

Contents. Introduction. Prerequisites. Configure. Requirements. Components Used

Contents. Introduction. Prerequisites. Configure. Requirements. Components Used Contents Introduction Prerequisites Requirements Components Used Configure Network Diagram Configurations CE1 CE2 PE1 PE2 Verify Case 1: Accepting and exchanging customer routes over MP-BGP Case 2: Leaking

More information

BGP Event-Based VPN Import

BGP Event-Based VPN Import The feature introduces a modification to the existing Border Gateway Protocol (BGP) path import process. The enhanced BGP path import is driven by events; when a BGP path changes, all of its imported copies

More information

Implementing MPLS VPNs over IP Tunnels

Implementing MPLS VPNs over IP Tunnels The MPLS VPNs over IP Tunnels feature lets you deploy Layer 3 Virtual Private Network (L3VPN) services, over an IP core network, using L2TPv3 multipoint tunneling instead of MPLS. This allows L2TPv3 tunnels

More information

What You Will Learn By the end of this appendix, you should know and be able to explain the following:

What You Will Learn By the end of this appendix, you should know and be able to explain the following: What You Will Learn By the end of this appendix, you should know and be able to explain the following: What static MPLS labels are and how they can be used The difference between static MPLS bindings and

More information

BGP mvpn BGP safi IPv4

BGP mvpn BGP safi IPv4 The BGP mvpn BGP safi 129 IPv4 feature provides the capability to support multicast routing in the service provider s core IPv4 network This feature is needed to support BGP-based MVPNs BGP MVPN provides

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) Multiprotocol Label Switching (MPLS) Petr Grygárek rek 1 Why MPLS? integrates various traditional applications on single setvice provider platform Internet, L3 VPN, L2 VPN, L2 virtual P2P lines, Voice

More information

26 CHAPTER Virtual Private Networks (VPNs) provide a secure way for customers to share bandwidth over an ISP backbone network. A VPN is a collection of sites sharing a common routing table. A customer

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) 36 CHAPTER Prerequisites for MPLS, page 36-1 Restrictions for MPLS, page 36-1 Information About MPLS, page 36-2 Default Settings for MPLS, page 36-7 How to Configure MPLS Features, page 36-7 Configuration

More information

MPLS VPN Half-Duplex VRF

MPLS VPN Half-Duplex VRF The feature provides scalable hub-and-spoke connectivity for subscribers of an Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) service. This feature addresses the limitations of hub-and-spoke

More information

Configuring VRF-lite CHAPTER

Configuring VRF-lite CHAPTER CHAPTER 36 Virtual Private Networks (VPNs) provide a secure way for customers to share bandwidth over an ISP backbone network. A VPN is a collection of sites sharing a common routing table. A customer

More information

MPLS VPN Explicit Null Label Support with BGP. BGP IPv4 Label Session

MPLS VPN Explicit Null Label Support with BGP. BGP IPv4 Label Session MPLS VPN Explicit Null Label Support with BGP IPv4 Label Session The MPLS VPN Explicit Null Label Support with BGP IPv4 Label Session feature provides a method to advertise explicit null in a Border Gateway

More information

MPLS VPN Architecture Scaling

MPLS VPN Architecture Scaling MPLS VPN Architecture Scaling Section 2 2001, Cisco Systems, Inc. All rights reserved. 1 Agenda MPLS VPN Single Backbone Architecture MPLS VPN Scalability Elements Sizing Provider Edge () Routers Memory

More information

H3C S10500 Switch Series

H3C S10500 Switch Series H3C S10500 Switch Series MPLS Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1126 and Later Document version: 20111130-C-1.01 Copyright 2011, Hangzhou

More information

Configuring Multicast VPN Inter-AS Support

Configuring Multicast VPN Inter-AS Support Configuring Multicast VPN Inter-AS Support Last Updated: December 23, 2011 The Multicast VPN Inter-AS Support feature enables Multicast Distribution Trees (MDTs) used for Multicast VPNs (MVPNs) to span

More information

Route Leaking in MPLS/VPN Networks

Route Leaking in MPLS/VPN Networks Route Leaking in MPLS/VPN Networks Document ID: 47807 Contents Introduction Prerequisites Requirements Components Used Conventions Configure Route Leaking from a Global Routing Table into a VRF and Route

More information

Zero To Hero CCIE CCNP

Zero To Hero CCIE CCNP Zero To Hero CCIE CCNP CCIE CCNP CCIE CCNP Week 1 Simple Network Design Understanding the Host-to-Host Communications Model Understanding the TCP/IP Internet Layer Addresses in a Network Introduction to

More information

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER CHAPTER 23 Tag Switching Background Rapid changes in the type (and quantity) of traffic handled by the Internet and the explosion in the number of Internet users is putting an unprecedented strain on the

More information

Deploying MPLS-VPN. Session RST Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. 8181_05_2003_c2 RST-2061

Deploying MPLS-VPN. Session RST Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. 8181_05_2003_c2 RST-2061 Deploying MPLS-VPN Session 2 Copyright Printed in USA. Agenda Prerequisites Background Theory Practice Route Reflectors Carrier s Carrier Inter-AS Import/Export Maps 3 Prerequisites Must understand basic

More information

Deploying MPLS-based IP VPNs

Deploying MPLS-based IP VPNs Deploying MPLS-based IP VPNs Rajiv Asati Distinguished Engineer Abstract This session describes the implementation of IP Virtual Private Networks (IP VPNs) using MPLS. It is the most common Layer 3 VPN

More information

Introduction to MPLS APNIC

Introduction to MPLS APNIC Introduction to MPLS APNIC Issue Date: [201609] Revision: [01] What is MPLS? 2 Definition of MPLS Multi Protocol Label Switching Multiprotocol, it supports ANY network layer protocol, i.e. IPv4, IPv6,

More information

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF MODULE 05 MULTIPROTOCOL LABEL SWITCHING (MPLS) AND LABEL DISTRIBUTION PROTOCOL (LDP) 1 by Xantaro IP Routing In IP networks, each router makes an independent

More information

Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6)

Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6) Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6) Contents Introduction Background Information MLDP Signaling In-Band Signaling Overlay or Out-Of-Band Signaling Label Distribution Protocol

More information

BGP Commands: M through N

BGP Commands: M through N match additional-paths advertise-set, on page 3 match as-path, on page 6 match community, on page 8 match extcommunity, on page 10 match local-preference, on page 12 match policy-list, on page 14 match

More information

Table of Contents Chapter 1 MPLS Basics Configuration

Table of Contents Chapter 1 MPLS Basics Configuration Table of Contents Table of Contents... 1-1 1.1 MPLS Overview... 1-1 1.1.1 Basic Concepts of MPLS... 1-2 1.1.2 Architecture of MPLS... 1-5 1.1.3 MPLS and Routing Protocols... 1-7 1.1.4 Applications of MPLS...

More information

H3C S10500 Switch Series

H3C S10500 Switch Series H3C S10500 Switch Series MPLS Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1201 and Later Document version: 6W101-20120903 Copyright 2012, Hangzhou

More information

Telematics Chapter 7: MPLS

Telematics Chapter 7: MPLS Telematics Chapter 7: MPLS User watching video clip Beispielbild Application Layer Presentation Layer Session Layer Transport Layer Server with video clips Application Layer Presentation Layer Session

More information

MPLS. 9 March 2018 AN

MPLS. 9 March 2018 AN MPLS 9 March 2018 AN Multi-Protocol Label Switching MPLS-TP MP-BGP H-VPLS OSPF-TE LIB MPLS is not alone LSP ISIS-TE EVPN GMPLS MPLS-TE T-MPLS LFIB LABEL LDP TAG Used in many (most?) provider networks to

More information