Vinit Jain, CCIE Security, Data Center, SP, and R&S
September 15, 2015
Configuring and Troubleshooting MPLS VPN
Cisco Support Community
Configuring and Troubleshooting MPLS VPN Vinit Jain, CCIE Security, - - PowerPoint PPT Presentation
Cisco Support Community Expert Series Webcast Configuring and Troubleshooting MPLS VPN Vinit Jain, CCIE Security, Data Center, SP, and R&S September 15, 2015 Ask the Expert Events Now through September 18 Implementing and Troubleshooting
Vinit Jain, CCIE Security, Data Center, SP, and R&S
September 15, 2015
Cisco Support Community
Switch and IOS Architecture and Unexpected Reboots
Naveen Venkateshaia.
September 21 – October 2
Join the discussion for these Ask The Expert Events: http://bit.ly/events-webinar
Implementing and Troubleshooting VSS on Catalyst 6500 and 4500 with Inayathulla Shariff and Suresh Vs.
Now through September 18
T.
Register for this event at
http://bit.ly/octwebcast-reg
Cisco Data Center Overlays with Focus on VXLAN. With Vishal Mehta and Pranav Doshi
Tuesday October 20th, 10:00 AM PDT
https://supportforums.cisco.com/expert-corner/top-contributors
Participate in Live Interactive Technical Events and much more http://bit.ly/1jlI93B
Now your ratings on documents, videos, and blogs count give points to the authors!!! So, when you contribute and receive ratings you now get the points in your profile. Help us to recognize the quality content in the community and make your searches easier. Rate content in the community.
https://supportforums.cisco.com/blog/154746
Encourage and acknowledge people who generously share their time and expertise
CCIE Security, Data Center SP and R&S #22854
Mohammed Jameel Brian Dunn
If you would like a copy of the presentation slides, click the PDF file link in the chat box on the right or go to: https://supportforums.cisco.com/document/12605756/webcast- slides-configuring-and-troubleshooting-mpls-vpn
Join the discussion for these Ask The Expert Events: http://bit.ly/events-webinar
https://supportforums.cisco.com/discussion/12604306/ask- expert-configuring-and-troubleshooting-mpls-vpn
Use the Q & A panel to submit your questions and the panel of experts will respond.
Please take a moment to complete the survey at the end of the webcast
Vinit Jain, CCIE Security, Data Center SP, and R&S
September 15, 2015
Cisco Support Community
Polling Question 1
Internet Customer 802.1q VLANs Hosted Content Services Branch Office Head Office VPN Concentration Point NAS ISDN POTS On-Net Dial-in Users DSL Branch/Home Office Off-Net Dial- in Users
15
Provider Edge (PE) Device Provider Edge (PE) Device
L2/L3 Virtual Circuit
CPE (CE) Device CPE (CE) Device
Layer-3 Routing Adjacency
How to Size, or provide, Inter-Site Circuit Capacity? Full Circuit Mesh Requirement for Optimal Routing Layer-3 CPE Routing Adjacencies between Sites Duplicate IP Addressing Capability Complete Isolation Between Customers Secure VPN Service
16
Internet Customer 802.1q VLANs Hosted Content Services Branch Office Head Office VPN Concentration Point NAS ISDN POTS On-Net Dial-in Users DSL Branch/Home Office Off-Net Dial- in Users VPN Client A
17
Provider Edge (PE) Device Provider Edge (PE) Device CPE (CE) Device CPE (CE) Device
Layer-3 Routing Adjacency
All VPN Routes Carried in SP IGP Duplicate IP Addressing Is Not an Option Complex Filters or Dedicated Devices Routing between Sites Is Optimal Circuit Sizing between Sites No Longer Such an Issue Simple Routing Scheme for Customers
18
PE Router PE Router
MPLS Backbone
CPE (CE) Device CPE (CE) Device
Combined Benefits of Overlay and Peer-to-Peer VPN Models
Routing between Sites Is Optimal Duplicate IP Addressing Capability Secure Service PE Routers Hold Only Relevant VPN Routes Complete Isolation between Customers No Complex Filters
Routers
P Router
manner
Terminologies
23
routing table
VPN routing table (including static routing)
PE CE VPN-A VPN-A CE VPN-B CE
Multiple Routing and Forwarding Instances (VRFs) Provide the Separation
IGP/BGP
VPN Routing Table Global Routing Table
VRF for VPN-B VRF for VPN-A
RIP BGP EIGRP
PE to CE Routing Processes Routing Contexts VRF Routing Tables VRF Forwarding Tables
run within specific routing contexts
VPN routing table and FIBs (VRF)
BGP, OSPF, EIGRP, RIP, Static, (ISIS only
Polling Question 2
a Route Distinguisher
Community Attribute – Route Target
exported to
Understanding MPLS VPN Control Plane
31
MP-BGP
VRF VPN-A
VPN-A VPN-A
VRF VPN-A
MP-BGP
VPN-A VPN-A
ip vrf VPN-A rd 1:27 route-target export 1:231
Assign a RD and RT based on configuration Re-write Next-Hop attribute (to PE loopback) Assign a label based on VRF and/or interface Send MP-BGP update to all PE neighbors
BGP, OSPF, RIPv2 192.168.2.0/24,NH=CE-1
192.168.2.0/24 CE-1 PE-1 PE-2 CE-2
VPN-v4 update: RD:1:27:192.168.2.0/24, NH=PE-1 RT=1:231, Label=(28)
Route Distinguisher (64 bits) Makes the IPv4 route globally unique RD is configured in the PE for each VRF IPv4 address (32bits)
Route-target (RT): identifies the set of sites the route has to be advertised to
(Aggregate / connected)
Inserts the route into the relevant VRFs identified by the RT attribute
packets forwarded towards the destination
MP-BGP
VPN-A VPN-A
ip vrf VPN-A rd 1:27 route-target import 1:231
192.168.2.0/24 CE-1 PE-1 PE-2 CE-2
VPN-v4 update: RD:1:27:192.168.2.0/24, NH=PE-1 RT=1:231, Label=(28)
VPN-v4 update is translated into IPv4 address and put into VRF VPN-A as RT=1:231matches import
advertised to CE-2
Polling Question 3
Understanding MPLS VPN Data Plane
through MP-BGP for VPN routes
PE-1 PE-2 P-1 1.1.1.1
Use label implicit-null for destination 1.1.1.1/32 Use label 41 for destination 1.1.1.1/32
In Label FEC Out Label
In Label FEC Out Label 41 1.1.1.1/32 POP In Label FEC Out Label
VPN-v4 update: RD:1:27:192.168.2.0/24, NH=1.1.1.1 RT=1:231, Label=(28)
192.168.2.0/24
VPN-A VPN-A
192.168.2.0/24 CE-1 PE-1 PE-2 CE-2
VPN-A FIB 192.168.2.0/24, Label Stack {41 28} 192.168.2.2
P-1
and imposes a stack of labels <IGP, VPN>
192.168.2.2 28 41
VPN-A VPN-A
192.168.2.0/24 CE-1 PE-1 PE-2 CE-2
VPN-A FIB 192.168.2.0/24, Label Stack {41 28}
P-1
P-1 LFIB 192.168.2.0/24 In label {41} Out label {implicit-null} 192.168.2.2 28 PE-1 LFIB 192.168.2.0/24 (V) In label {28} 192.168.2.2
relevant VRF
MPLS VPN
ip vrf ABC rd 1:1 route-target import 1:1 route-target export 1:1 route-target import 2:2 vrf definition ABC rd 1:1 address-family ipv4 unicast route-target import 1:1 route-target export 1:1 route-target import 2:2 address-family ipv6 unicast . . .
interface Gig0/1 ip vrf forwarding ABC ip address 192.168.10.1 255.255.255.252 interface Gig0/1 vrf forwarding ABC ip address 192.168.10.1 255.255.255.252
router bgp 100 neighbor 2.2.2.2 remote-as 100 neighbor 2.2.2.2 update-source loopback0 address-family vpnv4 unicast neighbor 2.2.2.2 activate neighbor 2.2.2.2 send-community [extended | both] address-family ipv4 vrf ABC neighbor 192.168.10.2 remote-as 65535 neighbor 192.168.10.2 activate exit-address-family
CONFIGURATION DEMO
AS 100 PE1 P-1 PE2 CE1 CE2 CE3 CE4
AS-65001 AS-65535 AS-65000 AS-65001 VPN - ABC VPN - ABC VPN - XYZ VPN - XYZ
TROUBLESHOOTING DEMO
xml/ios/mp_l3_vpns/configuration/15-mt/mp-l3-vpns-15-mt-book/mp-cfg- layer3-vpn.html
mpls/mpls/13733-mpls-vpn-basic.html
troubleshooting-basic-mpls-layer3-vpn
Use the Q & A panel to submit your questions and our expert will respond
Facebook- http://bit.ly/csc-facebook Twitter- http://bit.ly/csc-twitter You Tube http://bit.ly/csc-youtube Google+ http://bit.ly/csc-googleplus LinkedIn http://bit.ly/csc-linked-in Instgram http://bit.ly/csc-instagram Newsletter Subscription http://bit.ly/csc-newsletter
Spanish https://supportforums.cisco.com/community/spanish Portuguese https://supportforums.cisco.com/community/portuguese Japanese https://supportforums.cisco.com/community/csc-japan Russian https://supportforums.cisco.com/community/russian Chinese http://www.csc-china.com.cn
If you speak Spanish, Portuguese, Japanese, Russian or Chinese we invite you to participate and collaborate in your language
More IT Training Videos and Technical Seminars on the Cisco Learning Network
View Upcoming Sessions Schedule https://cisco.com/go/techseminars
Thank you for Your Time!
Thank you for participating! . Red Redeem yo your 35 35% disc scount off
code: CS CSC when checking out: Visit Cisco Press at:
http://bit.ly/csc-ciscopress-sept