Cisco Exam # 642 611 Mpls Study Notes

2,677 views

Published on

Cisco MPLS Exam # 642-611
Duane Bodle Study Notes

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,677
On SlideShare
0
From Embeds
0
Number of Embeds
38
Actions
Shares
0
Downloads
66
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Cisco Exam # 642 611 Mpls Study Notes

  1. 1. Study and Review Notes Presented By Duane Bodle Keys2Texas , Inc. Thursday, August 25, 2011
  2. 2. <ul><li>MPLS Fundamentals </li></ul><ul><li>MPLS Operation </li></ul><ul><li>Frame-Mode/Cell-Mode MPLS Implementation, Configuration and Troubleshooting </li></ul><ul><li>MPLS Virtual Private Networks Technology </li></ul><ul><li>MPLS VPN Implementation, Configuration and Troubleshooting </li></ul><ul><li>Complex MPLS VPNs </li></ul><ul><li>Internet Access from a MPLS VPN </li></ul>Thursday, August 25, 2011
  3. 3. <ul><li>Exam Description </li></ul><ul><li>The MPLS exam is a qualifying exam for the CCIP certification (Cisco Certified Internetwork Professional). The 642-611 MPLS exam will test materials covered under the Implementing Cisco MPLS course. The exam will certify that the successful candidate has knowledge and skills necessary to gather information from the technology basics to some of the more updated features and functions such as Traffic Engineering, Fast Reroute and any Transport over MPLS (AToM). The exam covers topics on MPLS Concepts, MPLS Label Assignment and Distribution, Frame-Mode/Cell-Mode MPLS Implementation on Cisco IOS Platforms, MPLS Virtual Private Networks Technology, MPLS VPN Implementation, Complex MPLS VPNs, and Internet Access from a MPLS VPN. </li></ul>Thursday, August 25, 2011
  4. 4. <ul><li>Explain basic core MPLS technology and concepts </li></ul><ul><li>Explain the function of MPLS Labels and Label Stack </li></ul><ul><li>Identify MPLS Applications </li></ul>Thursday, August 25, 2011
  5. 5. <ul><li>The MPLS label is the foundation for label switching. The MPLS label has four octets, or 32 bits, that make up four fields . </li></ul><ul><li>The fields are: </li></ul><ul><li>The label field: </li></ul><ul><ul><li>Composed of 20 bits which allows for the creation of over one million labels (220 - 1, or 1,048,575 to be precise). </li></ul></ul><ul><li>The EXP field: </li></ul><ul><ul><li>Maps directly to IP Precedence TOS bits to provide class of service (COS) markings for an MPLS label. This field is three bits in length. </li></ul></ul><ul><li>The S field: Used for stacking labels. </li></ul><ul><ul><li>This is important and is used to indicate that last n the label stack. </li></ul></ul><ul><ul><ul><li>The S field is one bit in length. </li></ul></ul></ul><ul><li>The TTL field: </li></ul><ul><ul><li>Used to decrement the time-to-live counter. It is eight bits in length. </li></ul></ul><ul><li>Each of these fields plays an important role in the delivery of MPLS technologies such as the creation and forwarding of traffic along a label-switched path, QoS guarantees and transport of one carrier's MPLS over another's backbone. </li></ul><ul><li>Be familiar with the field names and their purpose and length. </li></ul><ul><li>The MPLS label stack is inserted into ordinary packets between the IP header and the Layer 2 header (frame relay, Ethernet or ATM). This allows routers to switch the packet based on the MPLS label rather than the Layer 3 or Layer 2 information. This is why the MPLS label stack is sometimes referred to as the &quot;shim header,&quot; as it is shimmed in between the Layer 2 and Layer 3 headers. </li></ul>Thursday, August 25, 2011
  6. 6. <ul><li>Describe the characteristics and behaviors of Label Distribution in Frame-mode MPLS </li></ul><ul><li>Explain Convergence in Frame-mode MPLS </li></ul><ul><li>Describe the characteristics and behaviors of Label Distribution over LC-ATM Interfaces and VC Merge </li></ul><ul><li>Describe the features of MPLS Label Allocation, Distribution, and Retention Modes </li></ul><ul><li>Explain the process of LDP Neighbor Discovery </li></ul>Thursday, August 25, 2011
  7. 7. <ul><li>Forward Equivalence Class </li></ul><ul><li>MPLS Control Plane </li></ul><ul><li>MPLS Forwarding Plane </li></ul><ul><li>Label Distribution Protocol </li></ul>Thursday, August 25, 2011
  8. 8. <ul><li>MPLS router makes a forwarding decision for labeled packets in the same manner that it does for an IP packet. It will look at the label on the incoming packet, then consult the forwarding table to identify the interface to forward the labeled packet out of, then it will forward the packet. </li></ul><ul><li>Key to making MPLS work is that routers must build the necessary label forwarding tables upon which MPLS rests. Just as routing protocols build forwarding tables by exchanging information between themselves using dynamic routing protocols such as OSPF and BGP, so also must routers build label forwarding tables. This involves the MPLS control plane, which binds labels to the networking routes in the IP routing table, and which manages the distribution of those bindings to other MPLS routers. To make this happen, the control plane uses the label distribution protocol to exchange labels between MPLS routes. Each MPLS router assigns a local label and an outgoing label for such routes that it advertises to its neighbors. </li></ul><ul><li>MPLS uses the concept of a forward equivalency class (FEC) to designate a group of IP packets to which a specific label is bound. The group of IP packets is a loose term as this really means an IP prefix or a route. The FEC can be more granular than just a network prefix as it can also specify an IP prefix with other criteria such as IP TOS bits. </li></ul>Thursday, August 25, 2011
  9. 9. <ul><li>So the router identifies an FEC out of the IP routing table and assigns a label to it. Then the router advertises to its peers that the FEC has this label assigned to it. The list of FECs with labels assigned to them is called the label information base (LIB). The router makes forwarding decisions based on the information in the LIB. The labels that are actually in use for forwarding are placed in the label forwarding information base (LFIB). This is the MPLS forwarding plane. </li></ul><ul><li>So let's put it all together. The control plane assigns labels to IP routes/prefixes in the IP routing table. The MPLS forwarding plane builds the label forwarding table that indicates which interface to forward the labeled packet out of and the label distribution exchanges label information. </li></ul><ul><li>The next step that the router performs is to build the labeled switch path through the network. This is a virtual path across which traffic will be forwarded from one end of the network to the other. </li></ul><ul><li>This is the main premise of MPLS label switching in terms of label distribution and the building of the label forwarding tables. Be sure to understand these concepts well. In the next article we will discuss the actual label distribution between the MPLS peers and traffic flow using labeled packets across the network. </li></ul>Thursday, August 25, 2011
  10. 10. <ul><li>How MPLS routers update and exchange labels. </li></ul><ul><li>The different ways that labels are bound to routes must be understood. </li></ul><ul><li>Be sure to understand the following mechanisms: </li></ul><ul><li>Unsolicited downstream: </li></ul><ul><ul><li>This occurs when a downstream label switch router (LSR) advertises its label bindings to its neighbors automatically. </li></ul></ul><ul><li>Downstream on demand: </li></ul><ul><ul><li>This occurs when an upstream LSR requests a label binding from its downstream neighbor. </li></ul></ul><ul><li>Ordered control: </li></ul><ul><ul><li>This occurs in ATM-LSRs. The upstream LSR must wait on the downstream LSR to receive the label. </li></ul></ul><ul><li>Independent control: </li></ul><ul><ul><li>This occurs when a new route (or FEC) shows up in the LSR routing table. The LSR will bind a label to the FEC and advertise it to its neighbors at any time. </li></ul></ul>Thursday, August 25, 2011
  11. 11. <ul><li>A tremendous amount of confusion is associated with &quot;upstream&quot; and &quot;downstream&quot; in terms of label distribution. If you think about it, there is a two-way flow of information that makes up routing. When a packet is transmitted, it flows from an upstream sender to a downstream receiver. In other words, the direction from source to destination is downstream. </li></ul><ul><li>Independent control is the common mechanism for most label bindings using unsolicited downstream distribution. So if you have four routers in a row as follows... </li></ul><ul><li>R1 -------- R2 ----------R3 -----------R4 </li></ul>Thursday, August 25, 2011
  12. 12. <ul><li>The path the packet takes across the LSRs is referred to as the label-switched path. Labels are assigned to IP routes or forward equivalency classes (FECs) in the routing table, and the LSRs build a label forwarding information base (LFIB) based on the label distribution that is facilitated by the label distribution protocol. </li></ul><ul><li>This is called label-FEC binding. </li></ul><ul><li>Important concept to understand is how the labels are assigned. Let's use the following example: </li></ul><ul><li>(i# = interface number) </li></ul><ul><li>R1 (i1)-- (i2)R2(i3) --(i4)R3(i5) --(i6)R4(i7) --(i8)R5(i9) --(i10)R6 </li></ul><ul><li>R1 = customer edge (CE) </li></ul><ul><li>R2 = providor edge (PE) </li></ul><ul><li>R3 = providor only (P) </li></ul><ul><li>R4 = P </li></ul><ul><li>R5 = PE </li></ul><ul><li>R6 = CE </li></ul><ul><li>R3 and R4 are not participating in any edge client routing. The only way they can forward packets is via labels. </li></ul><ul><li>Let's assume that R1's origination is the route 10.10.10.0/24. When R2 (the PE router) learns the route, it will assign a label to the packet. This is called &quot;label imposition&quot; or &quot;label push.“ </li></ul>Thursday, August 25, 2011
  13. 13. <ul><li>PE router will advertise this label to its neighbors using the label distribution protocol. </li></ul><ul><li>Label distribution scheme which is one of the following: </li></ul><ul><li>Unsolicited downstream: </li></ul><ul><ul><li>This occurs when a downstream label switch router (LSR) advertises its label bindings to its neighbors automatically. </li></ul></ul><ul><li>Downstream on demand: </li></ul><ul><ul><li>This occurs when an upstream LSR requests a label binding from its downstream neighbor. </li></ul></ul><ul><li>Independent control: </li></ul><ul><ul><li>This occurs when a new route (or FEC) shows up in the LSR routing table. </li></ul></ul><ul><ul><ul><li>The LSR will bind a label to the FEC and advertise it to its neighbors at any time. </li></ul></ul></ul><ul><li>Ordered control: </li></ul><ul><ul><li>ATM only. </li></ul></ul><ul><li>The most common distribution method is unsolicited downstream with independent control. </li></ul>Thursday, August 25, 2011
  14. 14. <ul><li>The table below shows the label bindings for the example: </li></ul><ul><li>R1 (i1)-- (i2)R2(i3) --(i4)R3(i5) --(i6)R4(i7) --(i8)R5(i9) --(i10)R6 </li></ul><ul><li>Router </li></ul><ul><li>Ingress Interface </li></ul><ul><li>Ingress Label </li></ul><ul><li>FEC </li></ul><ul><li>Egress Interface </li></ul><ul><li>Egress Label </li></ul><ul><li>Each router along the path will assign a label to the FEC/route and assign an interface to forward it along. The interface is determined by the IP routing protocols. </li></ul><ul><li>This allows the P routers in the middle (R3 and R4) to forward IP packets from private networks across a public backbone. </li></ul><ul><li>The next article, Lesson 5: Configuring MPLS, will discuss how MPLS routers support VPNs, as well as the commands for configuring VPNs. </li></ul>Thursday, August 25, 2011
  15. 15. <ul><li>Describe the characteristics and functions of Virtual Private Networks </li></ul><ul><li>Describe Overlay and Peer-to-Peer VPNs </li></ul><ul><li>Explain Major VPN Categorization </li></ul><ul><li>Describe MPLS VPN Architecture </li></ul><ul><li>Describe the MPLS VPN Routing Model </li></ul><ul><li>Explain the process of MPLS VPN Packet Forwarding </li></ul>Thursday, August 25, 2011
  16. 16. <ul><li>Focus on the creation and configuration of the Virtual Routing and Forwarding (VRF) delivered by Layer 3 MPLS VPNs. </li></ul><ul><li>The concept of virtual routing is an important aspect of MPLS. It enables PE routers to appear to be many routers to the customer edge (CE) routers. The provider edge (PE) router will maintain separate and distinct routing tables for each customer. Each PE builds these unique routing tables with their own routing table mechanisms for each customer that is connected to the PE. This unique separation of routing tables allows PE routers to store routes and forward packets even if the customers are using identical addressing. </li></ul><ul><li>The Cisco components of the VRF are as follows: </li></ul><ul><ul><li>A routing table specific to each VRF </li></ul></ul><ul><ul><li>The associated customer interfaces for each VRF </li></ul></ul><ul><ul><li>A CEF table </li></ul></ul><ul><ul><li>Routing protocols for exchange of routing information per customer </li></ul></ul>Thursday, August 25, 2011
  17. 17. <ul><li>The key components of the VRF configuration are the VRF name and the route distinguisher. Remember that the route distinguisher is used to distinguish between overlapping addresses in the VRF. The route distinguisher can be of two forms: </li></ul><ul><li>16-bit:32-bit (recommended) </li></ul><ul><li>or </li></ul><ul><li>32-bit:16-bit </li></ul><ul><li>MPLS backbone, it is very important to have a well thought-out VPN naming scheme and route distinguisher numbering. </li></ul><ul><ul><li>A good way to do the route distinguisher name is to utilize Autonomous System Numbers (ASN) for the 16 bit address and the second 32 bits something specific to customers (customer ASN numbers will work if they are using BGP). </li></ul></ul><ul><ul><li>Think of the operational support teams when assigning names and route distinguishers. </li></ul></ul>Thursday, August 25, 2011
  18. 18. <ul><li>Let's assume the customers have the following network addressing scheme: </li></ul><ul><li>Customer 1: 192.168.1.0/24 </li></ul><ul><li>Customer 2: 192.168.1.0/24 </li></ul><ul><li>The following commands will illustrate how to create the VRF on the PE routers for two customers, &quot;Customer A&quot; and &quot;Customer B.&quot; </li></ul><ul><li>P1# config t </li></ul><ul><li>P1(config)# ip vrf VPN_1 </li></ul><ul><ul><li>P1(config-vrf)# rd 1:1 </li></ul></ul><ul><ul><li>P1(config-vrf)# exit </li></ul></ul><ul><li>P1(config)# ip vrf VPN_2 </li></ul><ul><ul><li>P1(config-vrf)# rd 1:2 </li></ul></ul><ul><li>The VRF commands must be configured on each PE that interconnects Customer 1 and Customer 2 CE routers. </li></ul>Thursday, August 25, 2011
  19. 19. <ul><li>The configuration can apply to customer edge (CE) routers, provider edge (PE) routers or provider (P) routers. Each of these must be configured in order for MPLS to work within an enterprise's architecture. Although the responsibility for configuration of each router may vary based on where they sit in the architecture (e.g. customer premises or provider network), the exam expects you to understand the configuration of all elements. </li></ul><ul><li>Cisco originally developed MPLS type technology and called it tag switching. This technology evolved into MPLS labeled switching. The CCIP exam requires an understanding of both the Cisco tag switching commands as well as the MPLS commands. Both tag switching and MPLS configurations will be presented. </li></ul>Thursday, August 25, 2011
  20. 20. <ul><li>There are multiple components to configuring the MPLS routers to deliver MPLS services. Standard routing protocols must be configured in order for the PE and P routers to be able to communicate with each other. BGP is used exclusively between the PE routers in order to exchange customer routing information. In addition to IP routing the routers must exchange labels and build label switched paths and segment customer routing information into virtual routing and forwarding tables (VRFs). </li></ul><ul><li>Please pay close attention to the syntax as the exam will require you to enter or recognize IOS commands. Describe the MPLS VPN Routing Model </li></ul><ul><li>Explain the process of MPLS VPN Packet Forwarding </li></ul>Thursday, August 25, 2011
  21. 21. <ul><li>Turn on Tag or Label Switching </li></ul><ul><li>In order to turn on tag switching, you must configure Cisco Express Forwarding (CEF) and tell the router to advertise tags. In addition, each interface must be enabled with tag switching. Commands entered on the router are in bold. </li></ul><ul><li>Tag Switching Configuration </li></ul><ul><ul><li>P1(config)# ip cef </li></ul></ul><ul><ul><li>P1(config)# tag-switching advertise-tag </li></ul></ul><ul><ul><li>P1(config)# interface serial 0 </li></ul></ul><ul><ul><li>P1(config-if)# tag-switching ip </li></ul></ul><ul><li>MPLS Configuration </li></ul><ul><ul><li>P1(config)# ip cef </li></ul></ul><ul><ul><li>P1(config)# mpls ip </li></ul></ul><ul><ul><li>P1(config)# interface serial 0 </li></ul></ul><ul><ul><li>P1(config-if)# mpls ip </li></ul></ul><ul><li>That is all that is required for the routers to begin exchanging labels and building the label switched paths </li></ul>Thursday, August 25, 2011
  22. 22. <ul><li>After configuring /// verify that the process has completed successfully are as follows: </li></ul><ul><li>Neighbor Verification </li></ul><ul><ul><li>TAG </li></ul></ul><ul><ul><li>P1# show tag-switching tdp-neighbor </li></ul></ul><ul><ul><li>MPLS </li></ul></ul><ul><ul><li>P1# show mpls ldp neighbor </li></ul></ul><ul><li>The output of these commands will show the neighbor identity (in the form of an IP address) and state of the neighbor. Key inputs to look for are peer identity and the state of the peer. The peer state should be OPER (for operational). </li></ul><ul><li>Other Important Commands </li></ul><ul><li>Verification that MPLS is enabled on the appropriate interfaces </li></ul><ul><ul><li>TAG </li></ul></ul><ul><ul><li>P1# show tag-switching interfaces </li></ul></ul><ul><ul><li>MPLS Verification </li></ul></ul><ul><ul><li>P1# show mpls Interface </li></ul></ul><ul><li>Verify that the appropriate interfaces display </li></ul>Thursday, August 25, 2011
  23. 23. <ul><li>After configuring /// Verification of Tag/Label Distribution & Bindings </li></ul><ul><li>TAG </li></ul><ul><ul><li>P1# show tag-switching tdp discovery </li></ul></ul><ul><ul><li>P1# show tag-switching tdp bindings </li></ul></ul><ul><li>MPLS Verification </li></ul><ul><ul><li>P1# show mpls ldp discovery </li></ul></ul><ul><ul><li>P1# show mpls ldp bindings </li></ul></ul><ul><li>Verify that TDP or LDP label discovery sources (e.g. where were labels learned) </li></ul><ul><li>Verify that IP routes have labels bound to them </li></ul><ul><li>The next focus on the commands required to configure virtual routing and forwarding tables in order to provide MPLS VPN services. </li></ul>Thursday, August 25, 2011
  24. 24. <ul><li>Explain MPLS VPN Mechanisms supported on Cisco Platforms </li></ul><ul><li>Configure VRF tables </li></ul><ul><li>Configure MP-BGP Session between PE routers </li></ul><ul><li>Configure Small Scale Routing Protocols </li></ul><ul><li>Monitor MPLS VPN Operation </li></ul><ul><li>Configure OSPF as the Routing Protocol </li></ul><ul><li>Configure BGP as the Routing Protocol </li></ul><ul><li>Troubleshoot basic MPLS VPN configuration errors </li></ul>Thursday, August 25, 2011
  25. 25. <ul><li>Explain VPN Internet Access Topologies </li></ul><ul><li>Describe VPN Internet Access Implementation Methods </li></ul><ul><li>Describe the methods to Separate Internet Access from VPN Service </li></ul><ul><li>Internet Access Backbone as a Separate VPN </li></ul>Thursday, August 25, 2011
  26. 26. <ul><li>Describe the advanced VRF Import/Export Features </li></ul><ul><li>Explain the characteristics of Overlapping VPNs </li></ul><ul><li>Explain the features of Central Services VPNs </li></ul><ul><li>Describe Managed CE Router Service </li></ul>Thursday, August 25, 2011

×