BCN Sample

  • View
    90

  • Download
    6

Embed Size (px)

Text of BCN Sample

Course Manual

Advanced Services' Building Core Networks with OSPF, IS-IS, BGP and MPLS Boot CampVersion 6.1 Volume One: Modules 1-3

Advanced Services: Network Deployment Mentoring Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com

Copyright

2008, Cisco Systems, Inc. All rights reserved.

Cisco Systems has more than 200 offices in the following countries and regions. Addresses, phone numbers, and fax numbers are listed on the Cisco Web site at www.cisco.com/go/offices.Argentina Australia Austria Belgium Brazil Bulgaria Canada Chile China PRC Colombia Costa Rica Croatia Czech Republic Denmark Dubai, UAE Finland France Germany Greece Hong Kong SAR Hungary India Indonesia Ireland Israel Italy Japan Korea Luxembourg Malaysia Mexico The Netherlands New Zealand Norway Peru Philippines Poland Portugal Puerto Rico Romania Russia Saudi Arabia Scotland Singapore Slovakia Slovenia South Africa Spain Sweden Switzerland Taiwan Thailand Turkey Ukraine United Kingdom United States Venezuela Vietnam Zimbabwe

Copyright 2008, Cisco Systems, Inc. All rights reserved. CCIP, the Cisco Powered Network mark, the Cisco Systems Verified logo, Cisco Unity, Follow Me Browsing, FormShare, Internet Quotient, iQ Breakthrough, iQ Expertise, iQ FastTrack, the iQ logo, iQ Net Readiness Scorecard, Networking Academy, ScriptShare, SMARTnet, TransPath, and Voice LAN are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Discover All Thats Possible, The Fastest Way to Increase Your Internet Quotient, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, Fast Step, GigaStack, IOS, IP/TV, LightStream, MGX, MICA, the Networkers logo, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other countries. All other trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0203R) Printed in the USA

Table of ContentsVolume 2 Module 4 Implement MPLSOverview Module Objectives

4-14-1 4-1

Lesson 1 Implement and Troubleshoot MPLSObjectives Agenda What Are the Basics of MPLS? MPLS Network Element Naming MPLS Hardware ComponentsLabel-Switching Devices MPLS Software Elements MPLS Forwarding Functions MPLS Forwarding Operation MPLS Label Header for Packet Media What Are the MPLS Technologies and How Do I Deploy Them? MPLS Technologies Enabling the MPLS Control Plane Contents of the Label Information Base (LIB) Protocols that Distribute Label Bindings LDP Discovery and Session Establishment LDP Router-ID Verify LDP Sessions LDP Label Advertisement Modes Verify LDP Remote Bindings MPLS Forwarding Plane Populating the LFIB (Label Forwarding Information Base) Contents of the Forwarding Information Base (FIB) Contents of the Label Forwarding Information Base (LFIB) Contents of the LFIB Detail Control and Forwarding Planes in Action Is It Label-Switching or CEF Switching? MPLS Key Points (Job Aid) How Do I Troubleshoot MPLS? Quick Checks Check CEF Configuration Verify CEF Switching Check Interface Configuration MPLS Control Plane Troubleshooting Check LDP Neighbor Adjacency Verify LDP Neighbor Adjacency Extended Ping to Router ID Check Routing to Neighbors Do All Routes Have Labels? MPLS Forwarding Plane Troubleshooting Lab Exercise Configure and Verify MPLS Success Criteria Lab Setup Lab Procedure Summary

4-34-3 4-4 4-5 4-5 4-6 4-7 4-8 4-9 4-10 4-11 4-11 4-12 4-13 4-14 4-15 4-16 4-17 4-17 4-18 4-19 4-20 4-21 4-22 4-23 4-24 4-25 4-26 4-27 4-27 4-27 4-28 4-29 4-30 4-31 4-32 4-33 4-34 4-35 4-36 4-37 4-38 4-39 4-40 4-43

Lesson 2 Implement Intranet and Extranet MPLS VPNsObjectives Agenda What Are the Fundamentals of MPLS VPNs?

4-454-45 4-46 4-47

Where Does MPLS VPN Fit in the Network Models? MPLS VPN Terminology What Are the MPLS VPN Mechanisms? VPN Routing and Forwarding Instance VRF Route Population CE-to-PE VRF and Multiple Routing Instances What Are Overlapping VPNs (Extranets)? How Are MPLS-VPN Extranets Defined? What Is a Route Target? Why Multiprotocol IBGP? What Is Multiprotocol BGP? Multiprotocol Extensions for BGP VRF Route Population PE to PE What Is a Route Distinguisher? MP-BGP Update Message MPLS VPN Control Plane MPLS VPN Forwarding Plane MPLS VPN Connection Rules Fundamentals Recap How Do I Configure MPLS VPNs? MPLS VPN Configuration Checklist Configure VRF Configure RD Configure Route Target VRF Options Associate PE Interfaces to VRFs VRF Configuration Caveats Configure MP-BGP Peering Between PEs Configure VRF Routing Contexts PE Configuration Summary Verify VRF Configuration MPLS VPN Deployment Tip Configure PE-to-CE Routing Configure Connected Routing PE-to-CE Configure Static Routing PE-to-CE Verify Static PE-to-CE Routing Configure EBGP Routing PE-to-CE EBGP PE-to-CE Caveats Verify EBGP PE-to-CE Routing How Do I Verify MPLS VPN Functionality? MPLS VPN Verification Steps Verify VPN Connectivity Verify the VRF CEF Table (FIB) Verify the VRF Forwarding Table Verify the MPLS Forwarding Table Verify MP-BGP VPNv4 Peering Lab Exercise Configure Intranet MPLS VPNs Success Criteria Lab Setup Lab Procedure How Do I Configure and Verify Extranet VPNs? (Optional) Extranet VPNs Extranet Route-Target Design Configure Extranet VPNs Verify Extranet VPNs How Do I Selectively Export VPNv4 Prefixes in an Extranet? How Do I Selectively Import VPNv4 Prefixes in an Extranet? Lab ExerciseConfigure Extranet MPLS VPNs (Optional) Success Criteriaii Building Core Networks With OSPF, IS-IS, BGP, and MPLS Bootcamp (BCN) v6.1

4-47 4-48 4-50 4-51 4-52 4-53 4-55 4-56 4-57 4-58 4-59 4-60 4-61 4-62 4-63 4-64 4-65 4-66 4-66 4-67 4-67 4-68 4-69 4-70 4-71 4-72 4-73 4-74 4-75 4-76 4-77 4-78 4-79 4-80 4-81 4-82 4-82 4-84 4-84 4-85 4-85 4-86 4-87 4-88 4-89 4-90 4-91 4-92 4-92 4-94 4-102 4-102 4-103 4-104 4-105 4-106 4-107 4-108 4-109 2008 Cisco Systems, Inc.

Lab Setup Lab Procedure Summary

4-109 4-109 4-111

Lesson 3 Implement MPLS Traffic EngineeringObjectives Agenda Traffic Engineering Basics Why Traffic Engineer with MPLS? The SPF Routing Problem Example SPF Routing Problem How MPLS-TE Solves the Problem How Does MPLS-TE Work? MPLS-TE Works By Answering These Questions How Is Bandwidth Information Distributed? How Is Flooding Bandwidth Information Controlled? How Is the Best Path Calculated? Path Calculation ExampleNormal SPF Path Calculation ExampleConstrained SPF Path Calculation ExampleCSPF Result Path Calculation ExampleMultipath How Is The Path Set Up? How Do I Put Traffic on a Path? Autoroute Static Routing Policy Routing MPLS-TE Forwarding Adjacency MPLS-TE Forwarding Adjacency Example Configuration What Can I Control with MPLS-TE? What Is Reoptimization? What Is Priority? How Does Priority Work? What Is Administrative Weight? What Is TE Metric? Example of Using Weight and TE Metric What Are Attributes and Affinity? Example of Using Attributes and Affinity Auto-Bandwidth How Do I Configure MPLS TE? Basic MPLS-TE Configuration Steps Global Configuration Global Configuration IGP Routing Configuration Create Tunnel Interface at Headend Only Define the Explicit Path Verify Configuration Show Commands Verify Configuration Debug Commands Example of Tunnel Verification Lab Exercise Configure MPLS-TE Success Criteria Lab Setup Lab Procedure Summary

4-1134-113 4-114 4-115 4-115 4-116 4-117 4-118 4-119 4-119 4-120 4-122 4-123 4-124 4-124 4-125 4-126 4-127 4-129 4-130 4-130 4-131 4-132 4-133 4-134 4-134 4-135 4-136 4-137 4-138 4-139 4-140 4-141 4-142 4-143 4-143 4-144 4-145 4-146 4-147 4-149 4-150 4-151 4-152 4-153 4-154 4-155 4-156 4-162

Lesson 4 Implement Layer 2 VPNs with Any Transport over MPLSObjectives Agenda What Are Layer 2 VPN Architectures? What Are Layer 2 VPNs?2008 Cisco Systems, Inc. Building Core Networks With OSPF, IS-IS, BGP, and MPLS Bootcamp (BCN) v6.1

4-1634-163 4-164 4-165 4-165iii

What Are Layer 2 Circuits? What Is Layer 2 Transport? What Is a Layer 2 VPN? L2 Transport vs. L2 VPN What Is AToM? Where Does AToM Fit In? AToM Connectivity How Does AToM Work? How Does a Pseudowire Function? AToM Compared to Pseudowire AToM Control and Forwarding Protocols AToM Label Stacking Layer 2 Transport Control Word AToMLabel Distribution and Usage Virtual Circuit FEC Element AToMLabel Mapping Exchange VC Label Withdrawal Procedures MTU Considerations Control Plane ExampleEoMPLS Forwarding Plane ExampleEoMPLS What Are the EoMPLS Specifics? What Are the EoMPLS Specifics? EoMPLS Transport Modes How Do I Configure AToM Services? AToM Configuration New Configuration Command Configure LDP for Targeted Hellos (Optional) Verify AToMshow xconnect Verify AToMOther Commands Verify AToMExamples Lab Exercise Implement, Verify, and Troubleshoot EoMPLS Lab Procedure Summary Module Summary

4-166 4-167 4-168 4-169 4-170 4-171 4-172 4-173 4-173 4-174 4-175 4-176 4-177 4-178 4-179 4-180 4-182 4-183 4-183 4-184 4-185 4-185 4-186 4-187 4-187 4-188 4-189 4-190 4-191 4-191 4-194 4-195 4-198 4-199

Appendix A Lab Network Implementation PlanLab Topology Design Lab Topology Overview Device Hostnames Management and Device Access Design Out-of-Band Management Network Device Access IP Addressing Design Infrastructure Subnetting Core Infrastructure Subnet Ownership and Deri