mpls mpls inter-as mpls csc

Download MPLS MPLS Inter-AS MPLS CSC

Post on 10-Jun-2015

1.499 views

Category:

Technology

7 download

Embed Size (px)

TRANSCRIPT

  • 1. 1 2013 dmishilo@cisco.comMPLSMPLS Inter-ASMPLS CSC

2. 222 1. MPLS. MPLS L3VPN. 2. Inter-AS A,B,C 3. CSC 4. Inter-AS L2 VPNs 3. 333 1. MPLS. MPLSL3VPN. 4. 444 ASAS 200AS 300AS 100BBorder ADCiBGP10.1.1.0/2410.2.2.0/2410.3.3.0/2430.1.1.0/2430.2.2.0/2430.3.3.0/2420.1.1.0/2420.2.2.0/2420.3.3.0/24XY10 - NH - A10 - NH - B10 - NH - C10 - NH - B10 - NH - B 5. 555 IP-:- AS- BGP AS( BGP IGP, AS)- , , 300 000 Transit ASCore1Border1Border2Core2ISP1ISP2IBGP IBGPRR RRIBGPEBGP EBGPEBGPBorder3ISP3 6. 666IP-:Transit ASCore1ABCore2XYCZ10 - NH - X20 - NH - X30 - NH - X40 - NH - B50 - NH - B60 - NH - B70 - NH - C80 - NH - C90 - NH - C102030 40506070809010 - NH - A20 - NH - A30 - NH - A40 - NH - B50 - NH - B60 - NH - B70 - NH - Z80 - NH - Z90 - NH - Z10 - NH - A20 - NH - A30 - NH - A40 - NH - Y50 - NH - Y60 - NH - Y70 - NH - C80 - NH - C90 - NH - C10 - NH - A20 - NH - A30 - NH - A40 - NH - B50 - NH - B60 - NH - B70 - NH - C80 - NH - C90 - NH - C10 - NH - A20 - NH - A30 - NH - A40 - NH - B50 - NH - B60 - NH - B70 - NH - C80 - NH - C90 - NH - CX Int E0/0B Int E0/1C Int E0/1A Int E0/0B Int E0/1C Int E0/1A Int E0/0B Int E0/1C Int E0/2A Int E0/0B Int E0/0Z Int E0/1A Int E0/0 Int E0/0Y Int E0/1E0/0 E0/1 E0/0E0/1E0/2E0/0E0/1E0/0 E0/1E0/1E0/04040 404040 7. 888Cisco Express Forwarding (CEF)BGP TableAddress Prefix AS-Path Communities Other AttributesNext-Hop40.0.0.0 /8 100 36:1210.1.1.17... ... ... ... ......IP RoutingTable(RIB)Address Prefix/8... ...FIB Table(CEF Cache)Next-Hop Outgoing InterfaceAddressProtocolBGPARP CacheAdjacencyPointer...1.1.1.1 Ethernet 0/110.1.1.16OSPF--- Ethernet 0/11.1.1.0conn.MAC Address...IP Address...Layer 2 Header...AdjacencyTableIP Address...1.1.1.1 MAC HeaderPrefix/8/30/2410.1.1.17 ---40.0.0.00c.00.11.22.33.441.1.1.140.0.0.0 1.1.1.1 8. 999 , , , . , , . AS . 9. 101010 :Transit ASCore1ABCore2XYCZ10 - NH - X20 - NH - X30 - NH - X40 - NH - B50 - NH - B60 - NH - B70 - NH - C80 - NH - C90 - NH - C102030 40506070809010 - NH - A20 - NH - A30 - NH - A40 - NH - B50 - NH - B60 - NH - B70 - NH - Z80 - NH - Z90 - NH - Z10 - NH - A20 - NH - A30 - NH - A40 - NH - Y50 - NH - Y60 - NH - Y70 - NH - C80 - NH - C90 - NH - CX Int E0/0B Int E0/1C Int E0/1 A Int E0/0B Int E0/0Z Int E0/1A Int E0/0B Int E0/0Y Int E0/1E0/0 E0/1 E0/0E0/1E0/2E0/0E0/1E0/0 E0/1E0/1E0/0A Int E0/0B Int E0/1C Int E0/1A Int E0/0B Int E0/1C Int E0/2L1 Int E0/0L2 Int E0/1L3 Int E0/1L1 Int E0/0L2 Int E0/1L3 Int E0/2A L1B L2C L3A L1B L2C L3A L1B L2C L3L2L2L2L3L3L3L1L1L1L2L2L2L1L1L1L3L3L3IGPBGPLDP - Lable Distribution Protocol40 L2 40 L2 40 L240 L240PHP - Penultimate Hop PoppingA L1B L2C L3A L1B L2C L3 10. 111111Transit ASCore1Border1 Border2Core2ISP2ISP1 BGP MPLS- BGP. IGP ( OSPF,ISIS, EIGRP,RIP) LDP next-hop.EBGP EBGPIBGP 11. 121212Label Distribution Protocol (LDP) .Label Switch Path (LSP) MPLS. IGP .LSP:AB D G IABCDEFGHIIP routingprotocolupdates 12. 131313 MPLS - 1Edge LSRControl PlaneData PlaneRouting Protocol (OSPF,BGP .)Label DistributionProtocol (LIB)LabelForwardingTable(LFIB)IP Routing Table (RIB)IP Forwarding Table(FIB)(IGP,BGP) (LDP) Ip-ip- 1. IP- (IP routing table).CEF2. , , LIB3. LFIB. IP routing table , IP-, LFIB.123 13. 141414Loopback10.1.1.1LFIB:34popLIB:10 popABCDEFGHI LSP LDP LSP-.ABCDEFGHI23LFIB:7716LIB:10 1610 51LFIB:1634LIB:10 2310 3410 51LFIB:push77LIB:10 7710 57 14. 151515 MPLS BGP IGP-. BGP- BGP next-hop . BGP- next-hop IP RoutingTableNext-Hop Outgoing InterfaceAddressProtocolBGP10.1.1.1 Ethernet 0/120.1.1.16OSPF--- Ethernet 0/110.1.1.0conn.Prefix/30/2420.1.1.17 ---20.0.0.0 15. 161616MPLS-Based Transit AS FIB LFIBCore1Border2Core2ISP2Border1ISP11.2.3.410.0.0.0 next-hop 1.2.3.4FIB:1.2.3.4 loopback0LFIB:1.2.3.4/321.2.3.4/32L=popFIB:1.2.3.4 popLFIB:35 pop1.2.3.4/321.2.3.4/32L=35FIB:1.2.3.4 35LFIB:23 351.2.3.4/321.2.3.4/32L=23FIB:1.2.3.4 23LFIB:push 23FIB:1.2.3.4 2310.0.0.0 23FIB:10.0.0.0 1.2.3.51.2.3.4 loopback01.2.3.5AS 16. 171717Core1Border2Core2ISP2Border1ISP1MPLS-Based Transit AS 1.2.3.4FIB:1.2.3.4 serial0/0LFIB:FIB:1.2.3.4 popLFIB:35 popFIB:1.2.3.4 35LFIB:23 35FIB:1.2.3.4 23LFIB:push 23FIB:1.2.3.4 2310.0.0.0 1.2.3.4FIB:10.0.0.0 1.2.3.51.2.3.4loopback 010.1.1.123 10.1.1.135 10.1.1.11.2.3.5 17. 181818MPLS L3VPN 18. 191919Customer ASite #1Site #1CE routerCustomer ASite #2Customer BSite #1Customer BSite #3Customer BSite #2Customer ASite #4RemoteOfficeRemoteOfficeCustomer ASite #3Customer BSite #4PE RouterPOP-XP Router PE RouterPOP-YP-Network VPN P RouterCustomer network (C-network): Provider network (P-network): - VPN-Customer edge (CE) device: C- P-; customer premises equipment (CPE)Provider edge (PE) device: P- CE-Provider (P) device: P- 19. 202020 PE-PE RouterIP Router P RouterCustomer ASite #1Customer ASite #2Customer BSite #1VirtualIP RoutingTable AVirtualIP RoutingTable BGlobalIPRouting TableCustomer ASite #3 - E0/1E0/2E0/3E0/4E0/5 20. 212121P-NetworkP RouterCustomer ACustomer BCustomer ACustomer CCustomer BPE Router X PE Router YCustomer C Q: PE- ?IGP for Customer CIGP for Customer BIGP for Customer AIGP for Customer CIGP for Customer BIGP for Customer AA1: Interior Gateway Protocol (IGP) P-. . P- . 21. 222222P-Network PE-P RouterCustomer ACustomer BCustomer ACustomer CCustomer BPE Router X PE Router YCustomer C PE- BGP. 64- (route distinguisherRD) . 96- - 22. 232323MPLS VPN PPE-CE: (VPN Routing)PE-P-PE: IGP PE-PE: MP- BGP VPNv4 PEMPLS VPN BackboneP RouterPE Router PE RouterCE RouterCE RouterCE RouterCE RouterMP-BGPIGP IGPVPN Routing VPN Routing 23. 242424 Route Distinguisher MPLS VPNP-NetworkPE 1 PE 2CustomerACustomerBCustomerACustomerBCE- IPv4 PE-.A 64-bit Route Distinguisher IPv4- 96-bit VPNv4-96-bit VPNv4- BGP PE-. 24. 252525 Route Distinguisher Route Targets MPLS VPNP-NetworkPE 1 PE 2CustomerACustomerBCustomerACustomerBPE IPv4 CE.RD VPNv4 prefix, 32-bit IPv4prefix. VRF RT , , RT VRF CustomerVRFBGP Table 25. 262626 MP-BGP Update- VPNv4 address (RD+IP address)- Extended communities - route targets- VPN- BGP (AS path, localpreference, MED, standard community )8 BytesRoute-Target3 BytesLabelMP-IBGP update : RD, RT, Label100:18 Bytes 4 BytesRD IPv4VPNv410.1.1.0 100:5 286 26. 27272710 CE1-1 E0/020 CE1-1 E0/030 CE1-1 E0/040 L21/L2 E0/150 L22/L2 E0/160 L23/L2 E0/1100:40 NHB L21100:50 NHB L22100:60 NHB L23200:40 NHB L24200:50 NHB L25200:60 NHB L262: VPN- PE MP-BGPupdate.3: VRF 1: VPN- VPN PECore1A BCore2CE1-1CE2-1C CE2-2100:10 NHA L11100:20 NHA L12100:30 NHA L13200:10 NHA L14200:20 NHA L15200:30 NHA L16102030405060A conn-loop0B Core1-E0/1E0/0E0/1E0/0E0/1E0/0E0/1E0/2E0/1E0/0A A-E0/0B Core2-E0/1IGPMP-BGP VPNv440 L21/L2 40 L2140A popB L7CE2-1LFIB405060A Core1-E0/0B B-E0/1A Core2-E0/0B conn-loop0A L9Pop - BA L8B L2A L3B L510,20,30E0/0E0/2102030102030VRFs RIBAB L2pop L8L2 L5L8 L3L5 popA L3B102030100:40 NHB L21100:50 NHB L22100:60 NHB L23200:40 NHB L24200:50 NHB L25200:60 NHB L26100:10 NHA L11100:20 NHA L12100:30 NHA L13200:10 NHA L14200:20 NHA L15200:30 NHA L1640 NHB50 NHB60 NHB40 NHB50 NHB60 NHB40506040506010203010203040,50,60LDP10 NHA20 NHA30 NHA10 NHA20 NHA30 NHA40506040506040 L21/L5 40 L2110 CE1-2 E0/120 CE1-2 E0/130 CE1-2 E0/140 L24/L2 E0/150 L25/L2 E0/160 L26/L2 E0/1FIB(IP CEF)10 L11/L3 E0/020 L12/L3 E0/030 L13/L3 E0/040 CE2-1 E0/150 CE2-1 E0/160 CE2-1 E0/110 L14/L3 E0/020 L15/L3 E0/030 L16/L3 E0/040 CE2-2 E0/250 CE2-2 E0/260 CE2-2 E0/2 27. 282828 MPLS VPN LSP- PE PE BGP- BGP nexthops IGP. .. LSP- . , BGP next hop, MP-BGP . 28. 292929QoS MPLS MPLS 3 - experimental bits. Cisco 3 IP Precedence 3 MPLS experimental. MPLSexperimental bits.LABEL IPFrameHeaderFrameHeaderPayloadPayloadIPIP PrecedenceMPLS Experimental 29. 303030 2.Inter-AS MPLS 30. 313131 MPLS- MPLS- MPLS VPN- , , .. :1. (Inter-AS)2. (CSC)AS3AS2AS111N N 31. 323232 CSC - . A VPN- Inter-AS - () - VPN MPLS - VPN- MPLS A 1A 2A 1A 2 A BASBR-A ASBR-B 32. 333333 Inter-AS VPNVPN-A VPN-ACE-2A: Back-to-back VRFsB:MP-eBGP for VPNv4C:Multihop MP-eBGP VPNv4 (A, B, C)AS #1 AS #2Client-A Client-ACE-1ASBR_1RR RRASBR_2PE-2PE-1 33. 343434 ASBR ASBR CEInter-AS VPN AASBRs Back-to-Back VRFs MPLS ASBR- VPN/VRF ASBR- IP PE-CE IP QoS ASBR A VPN AS1 PE-ASBR1PE1P1UnlabeledIP PacketsAS2PE-ASBR2PE2P2P1IP IP 40 ASBR1 IP 40 IP IPIP 80 PE2 IP 8034VRF-LiteConfigurationBGP VPN-IPv4Net=RD:17.1/16NH=ASBR1Route Target100:1VPN Label=40BGP VPN-IPv4Net=RD:17.1/16NH=PE2Route Target200:1VPN Label=80 34. 35353510 CE1 E0/0 - unlabeled20 ASBR1 E0/1 L23/L1100:20/8 NH-PE2 L21ASBR1PE1 PE2ASBR2CE1 CE2C100:10/8 NH:PE1 L11PE1ASBR1PE1ASBR1IGPMP-BGP VPNv42020ASBR1 L1LFIBPE2ASBR2PE2ASBR2ASBR2 L4PE1 L2 PE2 L310/810/8 NH:CE120/8LDP20/8 NH:CE220 L28 20 L21/L3FIBAS 1 AS 220 L23/L1100:10/8 NH:ASBR1 L17 100:10/8 NH:ASBR2 L13 10/8 NH:PE2100:20/8 NH-ASBR2 L28100:20/8 NH-ASBR1 L2320/8 NH-PE1FIBMP-BGP VPNv4Inter-AS VPN BASBRs MP-eBGP VPNv4 VPN- c 10 ASBR2 E0/0 L13/L420 CE2 E0/1 unlabeledLFIBL17 L11/L2 E0/0L23 L28 E0/1L13 L17 E0/0L28 L21/L3 E0/1 VPNv4 PEs ASBR VPNv4 Next Hop labels ASBR. ASBR VPNv4 BGP . 35. 3636362. eBGP IGP ASInter-AS VPNOption B ASBR- ASBR1 ASBR2PE1 PE2AS #1 AS #2IGP2IGP136ASBR1 ASBR2PE1 PE2AS #1 AS #2 Next Hop AS2 Next Hop AS11. ASBR next hop VPNv4 36. 373737 VRF ASBR IOS, ASBR /32 ASBR IGP next-hop-self LSP IOS XR NextHop ASBR B C address families(IPv4, IPv6, VPNv4, VPNv6). IOS XR eBGP

Recommended

View more >