1. Trang chủ
  2. » Công Nghệ Thông Tin

CCNP ROUTE lab manual

384 1,2K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 384
Dung lượng 3,97 MB

Nội dung

Tổng hợp tất cả các LAB CCNP theo từng mục rất hay, giúp mọi người có thể hiểu rõ và cách làm từng bài LAB một cách dễ dàng. Có thể sử dụng các phần mềm GNS hoặc Packet Tracer để thực hành Lab.

CCNP ROUTE Lab Manual Cisco Networking Academy Cisco Press 800 East 96th Street Indianapolis, Indiana 46240 USA 1587133032_CCNP_ROUTE_Student.indb 1 10/20/10 2:26 PM CCNP ROUTE Lab Manual ii CCNP ROUTE Lab Manual Cisco Networking Academy Copyright© 2010 Cisco Systems, Inc. Published by: Cisco Press 800 East 96th Street Indianapolis, IN 46240 USA All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without written permission from the publisher, except for the inclusion of brief quotations in a review. Printed in the United States of America First Printing November 2010 Library of Congress Cataloging-in-Publication Data available upon request. ISBN-13: 978-1-58713-303-9 ISBN-10: 1-58713-303-2 Warning and Disclaimer This book is designed to provide information about networking. Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information is provided on an “as is” basis. The authors, Cisco Press, and Cisco Systems, Inc. shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the discs or programs that may accompany it. The opinions expressed in this book belong to the author and are not necessarily those of Cisco Systems, Inc. Trademark Acknowledgments All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Cisco Press or Cisco Systems, Inc., cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Corporate and Government Sales The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales 1-800-382-3419 corpsales@pearsontechgroup.com For sales outside the U.S. please contact: International Sales international@pearsoned.com 1587133032_CCNP_ROUTE_Student.indb 2 10/20/10 2:26 PM CCNP ROUTE Lab Manual iii Feedback Information At Cisco Press, our goal is to create in-depth technical books of the highest quality and value. Each book is crafted with care and precision, undergoing rigorous development that involves the unique expertise of members from the professional technical community. Readers’ feedback is a natural continuation of this process. If you have any comments regarding how we could improve the quality of this book, or otherwise alter it to better suit your needs, you can contact us through email at feedback@ciscopress.com. Please make sure to include the book title and ISBN in your message. We greatly appreciate your assistance. Publisher Paul Boger Associate Publisher Dave Dusthimer Cisco Representative Erik Ullanderson Cisco Press Program Manager Anand Sundaram Executive Editor Mary Beth Ray Managing Editor Sandra Schroeder Editorial Assistant Vanessa Evans Cover Designer Louisa Adair 1587133032_CCNP_ROUTE_Student.indb 3 10/20/10 2:26 PM CCNP ROUTE Lab Manual iv Contents Chapter 1 Routing Services 1 Lab 1-1, Tcl Script Reference and Demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Chapter 2 Configuring the Enhanced Interior Gateway Routing Protocol 13 Lab 2-1, EIGRP Configuration, Bandwidth, and Adjacencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Lab 2-2, EIGRP Load Balancing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Lab 2-3, EIGRP Summarization and Default Network Advertisement . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Lab 2-4, EIGRP Frame Relay Hub-and-Spoke: Router Used as a Frame Relay Switch . . . . . . . . . . 75 Lab 2-5, EIGRP Authentication and Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Lab 2-6, EIGRP Challenge Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Lab 2-7, Troubleshooting EIGRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Chapter 3 Configuring the Open Shortest Path First Protocol 109 Lab 3-1, Single-Area OSPF Link Costs and Interface Priorities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Lab 3-2, Multi-Area OSPF with Stub Areas and Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Lab 3-3, OSPF Virtual Links and Area Summarization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Lab 3-4, OSPF over Frame Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Lab 3-5, OSPF Challenge Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Lab 3-6, OSPF Troubleshooting Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 Lab 3-7, OSPF Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Chapter 4 Manipulating Routing Updates 173 Lab 4-1, Redistribution Between RIP and OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 Lab 4-2, Redistribution Between EIGRP and OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Lab 4-3, Manipulating Administrative Distances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Lab 4-4, EIGRP and OSPF Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Chapter 5 Implementing Path Control 237 Lab 5-1, Configure and Verify Path Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 Lab 5-2, Configure IP SLA Tracking and Path Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 Chapter 6 Implementing a Border Gateway Protocol Solution for ISP Connectivity 267 Lab 6-1, Configuring BGP with Default Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 Lab 6-2, Using the AS_PATH Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Lab 6-3, Configuring IBGP and EBGP Sessions, Local Preference, and MED . . . . . . . . . . . . . . . . . . . 288 Lab 6-4, BGP Route Reflectors and Route Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Lab 6-5, BGP Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 1587133032_CCNP_ROUTE_Student.indb 4 10/20/10 2:26 PM CCNP ROUTE Lab Manual v Chapter 7 Implementing Routing Facilities for Branch Offices and Mobile Workers 319 Lab 7-1, Configure Routing Facilities to the Branch Office . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Chapter 8 Implementing IPv6 in an Enterprise Network 339 Lab 8-1, Configuring OSPF for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 Lab 8-2, Using Manual IPv6 Tunnels with EIGRP for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353 Lab 8-3, Configuring 6to4 Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 Lab 8-4, IPv6 Challenge Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 Lab 8-5, IPv6 Troubleshooting Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372 1587133032_CCNP_ROUTE_Student.indb 5 10/20/10 2:26 PM CCNP ROUTE Lab Manual vi About This Lab Manual This is the only authorized Lab Manual for the Cisco Networking Academy CCNP version 6 ROUTE course A CCNP certification equips students with the knowledge and skills needed to plan, implement, secure, maintain, and troubleshoot converged enterprise networks. The CCNP certification requires candidates to pass three 120-minute exams—ROUTE #642-902, SWITCH #642-813, and TSHOOT #642-832—that validate the key competencies of network engineers. The Cisco Networking Academy curriculum consists of three experience-oriented courses that employ industry-relevant instructional approaches to prepare students for professional-level jobs: CCNP ROUTE: Implementing IP Routing, CCNP SWITCH: Implementing IP Switching, and CCNP TSHOOT: Maintaining and Troubleshooting IP Networks. CCNP ROUTE: Implementing IP Routing This course teaches students how to implement, monitor, and maintain routing services in an enterprise network. Students will learn how to plan, configure, and verify the implementation of complex enterprise LAN and WAN routing solutions, using a range of routing protocols in IPv4 and IPv6 environments. The course also covers the configuration of secure routing solutions to support branch offices and mobile workers. The 32 comprehensive labs in this manual emphasize hands-on learning and practice to reinforce configuration skills. Command Syntax Conventions The conventions used to present command syntax in this book are the same conventions used in the IOS Command Reference. The Command Reference describes these conventions as follows: • Boldface indicates commands and keywords that are entered literally as shown. In actual configuration examples and output (not general command syntax), boldface indicates commands that are manually input by the user (such as a show command). • Italic indicates arguments for which you supply actual values. • Vertical bars (|) separate alternative, mutually exclusive elements. • Square brackets ([ ]) indicate an optional element. • Braces ({ }) indicate a required choice. • Braces within brackets ([{ }]) indicate a required choice within an optional element. 1587133032_CCNP_ROUTE_Student.indb 6 10/20/10 2:26 PM CCNP ROUTE Lab Manual 1 Chapter 1 Routing Services Lab 1-1, Tcl Script Reference and Demonstration Instructor Version Topology Objectives • Use Tcl scripts to verify full connectivity. • Identify causes of failures. Background The Cisco IOS Scripting feature provides the ability to run Tool Command Language (Tcl) commands from the Cisco IOS command-line interface (CLI). Tcl scripts can be created to accomplish routine and repetitive functions with Cisco IOS-based networking devices. In this lab, you create and execute a Tcl script that sends pings to multiple IP addresses in the network to test overall network connectivity. Note: Cisco IOS Release 12.3(2)T and later supports Tcl scripting. Required Resources • 2 routers (Cisco 1841 with Cisco IOS Release 12.4(24)T1 Advanced IP Service or comparable) • Serial and console cables Note: This lab uses Cisco 1841 routers with Cisco IOS Release 12.4(24)T1 and the advanced IP image c1841-advipservicesk9-mz.124-24.T1.bin. Other routers (such as a 2801 or 2811) and Cisco IOS Software versions can be used if they have comparable capabilities and features. Depending on the router model and Cisco IOS Software version, the commands available and output produced might vary from what is shown in this lab. 1587133032_CCNP_ROUTE_Student.indb 1 10/20/10 2:26 PM CCNP ROUTE Lab Manual 2 Step 1: Congure initial settings. Copy and paste the following initial congurations for R1 and R2. Router R1 hostname R1 ! interface loopback 1 ip address 10.1.1.1 255.255.255.252 ! interface loopback 2 ip address 10.1.2.1 255.255.255.252 ! interface loopback 3 ip address 10.1.3.1 255.255.255.252 ! interface loopback 4 ip address 10.1.4.1 255.255.255.252 ! interface serial 0/0/0 ip address 10.100.12.1 255.255.255.252 clock rate 64000 bandwidth 64 no shutdown ! router rip version 2 network 10.0.0.0 no auto-summary ! end Note: A 30-bit subnet mask (255.255.255.252) is used for the serial links in this lab. However, starting with IOS 12.2(4)T, the 31-bit subnet mask (255.255.255.254) is supported on IPv4 point-to-point interfaces (per RFC 3021), requiring only 2 IP addresses per point-to-point link (.0 and .1). The IP Unnumbered feature can also be used to conserve IP addresses. Router R2 hostname R2 ! interface loopback 1 ip address 10.2.1.1 255.255.255.252 ! interface loopback 2 ip address 10.2.2.1 255.255.255.252 ! interface loopback 3 ip address 10.2.3.1 255.255.255.252 ! interface loopback 4 ip address 10.2.4.1 255.255.255.252 1587133032_CCNP_ROUTE_Student.indb 2 10/20/10 2:26 PM CCNP ROUTE Lab Manual 3 ! interface serial 0/0/0 bandwidth 64 no shutdown ! router rip version 2 network 10.0.0.0 no auto-summary ! end Do you think that these congurations will achieve full connectivity between R1 and R2? Explain. _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ None of the pings across the serial link will succeed because the serial 0/0/0 interface on R2 does not have an IP address. R1 will not be able to ping any addresses on R2, and R2 will not be able to ping any addresses on R1. R1 is also unable to ping its 10.100.12.1 address on its serial 0/0/0 interface because that ping must travel rst to R2 before returning to R1. This will be explained in more detail later in the lab. Step 2: Verify connectivity. The simplest way to verify OSI Layer 3 connectivity between two routers is to use ICMP. ICMP denes a number of message types in RFC 792 for IPv4 and RFC 4443 for IPv6. (See www.ietf.org and http://tools.ietf.org for more information.) ICMP denes procedures for echo (ping), traceroute, and source notication of unreachable networks. Pinging an IP address can result in a variety of ICMP messages, but the only message indicating that a ping is successful is the ICMP echo reply message indicated by an exclamation point (!) in the output of the ping command. The following command on R1 pings its Lo1 interface. Loopback interfaces always have a status of UP/UP. R1# ping 10.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms In Step 1, you might have noticed that the R2 conguration omits an IP address on serial 0/0/0. R2 does not exchange IP packets with R1 because the IP protocol is not running on the R2 serial interface until the IP address has been congured. 1587133032_CCNP_ROUTE_Student.indb 3 10/20/10 2:26 PM CCNP ROUTE Lab Manual 4 Without this IP address, for which addresses in the topology diagram do you expect the ping to fail? _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ None of the pings across the serial link will succeed because the serial 0/0/0 interface on R2 does not have an IP address. R1 will not be able to ping any addresses on R2, and R2 will not be able to ping any addresses on R1. R1 is also unable to ping its 10.100.12.1 address on its serial 0/0/0 interface because that ping must travel rst to R2 before returning to R1. This will be explained in more detail later in the lab. Step 3: Create and execute a Tcl script. Tcl scripts can be created to accomplish routine and repetitive functions with Cisco IOS-based networking devices. To construct a simple connectivity verication script, do the following. a. Open a text editor and create a new text le. Using a text le saves time, especially if you are pasting the Tcl script into multiple devices. b. Start with the tclsh command to enter Tcl shell mode in which you can use native Tcl instructions like foreach or issue EXEC mode commands. You can also access conguration mode from within the Tcl shell and issue conguration commands from their respective menus, although these features are not explored in this lab. R1# tclsh R1(tcl)# c. Begin a loop using the foreach instruction. The loop iterates over a sequence of values, executing a dened sequence of instructions once for each value. Think of it as “for each value in Values, do each instruction in Instructions.” For each iteration of the loop, $identier reects the current value in Values. The foreach instruction uses the following model. foreach identier { value1 value2 . . . valueX } { instruction1 instruction2 . . . instructionY } d. To create a Tcl script that pings every IP address in the topology, enter each IP address in the value list. Issue the ping $address command as the only instruction in the instruction list. 1587133032_CCNP_ROUTE_Student.indb 4 10/20/10 2:26 PM [...]... online 1587133032 _CCNP_ ROUTE_ Student.indb 21 10/20/10 2:26 PM 22 CCNP ROUTE Lab Manual Verify the neighbor relationships and that the routing table of each router has the original loopback interfaces of the other routers, as described in the initial diagram Make sure that you issue the debug ip eigrp command on all routers a Issue the show ip route command on R2 and R3 R2# show ip route eigrp 10.0.0.0/24... to trigger the route recalculation on each router Therefore, RIPv2 would drop more packets during reconvergence than EIGRP 1587133032 _CCNP_ ROUTE_ Student.indb 24 10/20/10 2:26 PM CCNP ROUTE Lab Manual 25 Router Interface Summary Table Router Model 1700 1800 2600 2800 Ethernet Interface #1 Fast Ethernet 0 (FA0) Fast Ethernet 0/0 (FA0/0) Fast Ethernet 0/0 (FA0/0) Fast Ethernet 0/0 (FA0/0) Router Interface... adjacent You get output similar to the following R3# debug ip eigrp 100 IP-EIGRP Route Events debugging is on R3# conf t Enter configuration commands, one per line 1587133032 _CCNP_ ROUTE_ Student.indb 29 End with CNTL/Z 10/20/10 2:26 PM 30 CCNP ROUTE Lab Manual R3(config)# router eigrp 100 R3(config-router)# network 10.0.0.0 R3(config-router)# *Feb 4 18:44:57.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor... by the loopback interfaces on each of the three routers The physical devices have just been installed and are connected by Fast Ethernet and serial interfaces Your task is to configure EIGRP to enable full connectivity between all departments 1587133032 _CCNP_ ROUTE_ Student.indb 13 10/20/10 2:26 PM 14 CCNP ROUTE Lab Manual Note: This lab uses Cisco 1841 routers with Cisco IOS Release 12.4(24)T1 and the... R3(config-if)# exit 1587133032 _CCNP_ ROUTE_ Student.indb 28 10/20/10 2:26 PM CCNP ROUTE Lab Manual 29 c Verify connectivity by pinging across each of the local networks connected to each router d Issue the show interfaces description command on each router This command displays a brief listing of the interfaces, their status, and a description (if a description is configured) Router R1 is shown as an example... If you verify your work, both academically and in production networks, you will gain knowledge and save time in troubleshooting 1587133032 _CCNP_ ROUTE_ Student.indb 11 10/20/10 2:26 PM 12 CCNP ROUTE Lab Manual Router Interface Summary Table Router Interface Summary Router Model 1700 1800 2600 2800 Ethernet Interface #1 Fast Ethernet 0 (FA0) Fast Ethernet 0/0 (FA0/0) Fast Ethernet 0/0 (FA0/0) Fast Ethernet... three lab routers before deploying EIGRP throughout your corporate network Note: This lab uses Cisco 1841 routers with Cisco IOS Release 12.4(24)T1 and the advanced IP services image c1841-advipservicesk9-mz.124-24.T1.bin You can use other routers (such as a 2801 or 2811) and Cisco IOS Software versions if they have comparable capabilities and features Depending on the router 1587133032 _CCNP_ ROUTE_ Student.indb... 10/20/10 2:26 PM CCNP ROUTE Lab Manual 27 model and Cisco IOS Software version, the commands available and output produced might vary from what is shown in this lab Required Resources • 3 routers (Cisco 1841 with Cisco IOS Release 12.4(24)T1 Advanced IP Services or comparable) • Serial and console cables Step 1: Configure the addressing and serial links a Create three loopback interfaces on each router and... be used in Cisco IOS commands to represent the interface 1587133032 _CCNP_ ROUTE_ Student.indb 12 10/20/10 2:26 PM CCNP ROUTE Lab Manual 13 Chapter 2 Configuring the Enhanced Interior Gateway Routing Protocol Lab 2-1, EIGRP Configuration, Bandwidth, and Adjacencies Instructor Version Topology Objectives • Configure EIGRP on multiple routers • Configure the bandwidth command to modify the EIGRP metric... Lo3 1587133032 _CCNP_ ROUTE_ Student.indb 20 Peers 2 0 Xmit Queue Un/Reliable 0/0 0/0 Mean SRTT 5 0 Pacing Time Un/Reliable 0/1 0/1 Multicast Flow Timer 50 0 Pending Routes 0 0 10/20/10 2:26 PM 21 CCNP ROUTE Lab Manual Lo11 0 0/0 0 0/1 0 0 d Which of these two IP networks can you see in the routing table on R1 after EIGRP converges with the new network? Look at the output of the show ip route eigrp command . 372 1587133032 _CCNP_ ROUTE_ Student.indb 5 10/20/10 2:26 PM CCNP ROUTE Lab Manual vi About This Lab Manual This is the only authorized Lab Manual for the Cisco Networking Academy CCNP version 6 ROUTE course A CCNP certification equips. CCNP ROUTE Lab Manual Cisco Networking Academy Cisco Press 800 East 96th Street Indianapolis, Indiana 46240 USA 1587133032 _CCNP_ ROUTE_ Student.indb 1 10/20/10 2:26 PM CCNP ROUTE Lab Manual ii CCNP. time in troubleshooting. 1587133032 _CCNP_ ROUTE_ Student.indb 11 10/20/10 2:26 PM CCNP ROUTE Lab Manual 12 Router Interface Summary Table Router Interface Summary Router Model Ethernet Interface #1 Ethernet

Ngày đăng: 30/05/2014, 13:52

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN