CCNA: Fast Pass 4309FM.fm Page i Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 4309FM.fm Page ii Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com San Francisco • London CCNA ™ : Fast Pass Todd Lammle 4309FM.fm Page iii Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Associate Publisher: Neil Edde Acquisitions Editor: Maureen Adams Developmental Editor: Jeff Kellum Production Editor: Elizabeth Campbell Technical Editor: David Groth Copyeditor: Rebecca Rider Compositor: Scott Benoit Graphic Illustrator: Tony Jonick CD Coordinator: Dan Mummert CD Technician: Kevin Ly Proofreaders: Laurie O’Connell, Nancy Riddiough Indexer: Nancy Guenther Book Designer: Bill Gibson Cover Design and Illustration: Richard Miller, Calyx Design Copyright © 2004 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. World rights reserved. No part of this publication may be stored in a retrieval system, transmitted, or reproduced in any way, including but not limited to photocopy, photograph, magnetic, or other record, without the prior agreement and written per- mission of the publisher. Library of Congress Card Number: 2003113690 ISBN: 0-7821-4309-1 SYBEX and the SYBEX logo are either registered trademarks or trademarks of SYBEX Inc. in the United States and/or other countries. Screen reproductions produced with FullShot 99. FullShot 99 © 1991-1999 Inbit Incorporated. All rights reserved. FullShot is a trademark of Inbit Incorporated. The CD interface was created using Macromedia Director, COPYRIGHT 1994, 1997-1999 Macromedia Inc. For more information on Macromedia and Macromedia Director, visit http://www.macromedia.com. TRADEMARKS: SYBEX has attempted throughout this book to distinguish proprietary trademarks from descriptive terms by following the capitalization style used by the manufacturer. The author and publisher have made their best efforts to prepare this book, and the content is based upon final release software whenever possible. Portions of the manuscript may be based upon pre-release versions supplied by software manufacturer(s). The author and the publisher make no representation or warranties of any kind with regard to the completeness or accuracy of the contents herein and accept no liability of any kind including but not limited to performance, merchantability, fitness for any particular purpose, or any losses or damages of any kind caused or alleged to be caused directly or indirectly from this book. Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 4309FM.fm Page iv Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Software License Agreement: Terms and Conditions The media and/or any online materials accompanying this book that are available now or in the future contain programs and/or text files (the "Software") to be used in connection with the book. SYBEX hereby grants to you a license to use the Software, subject to the terms that follow. Your purchase, acceptance, or use of the Soft- ware will constitute your acceptance of such terms. The Software compilation is the property of SYBEX unless otherwise indicated and is protected by copyright to SYBEX or other copyright owner(s) as indicated in the media files (the "Owner(s)"). You are hereby granted a single-user license to use the Software for your personal, noncommercial use only. You may not reproduce, sell, distribute, publish, circulate, or commercially exploit the Software, or any portion thereof, without the written consent of SYBEX and the specific copyright owner(s) of any component software included on this media. In the event that the Software or components include specific license requirements or end-user agreements, statements of condition, disclaimers, limitations or war- ranties ("End-User License"), those End-User Licenses supersede the terms and conditions herein as to that par- ticular Software component. Your purchase, acceptance, or use of the Software will constitute your acceptance of such End-User Licenses. By purchase, use or acceptance of the Software you fur- ther agree to comply with all export laws and regulations of the United States as such laws and regulations may exist from time to time. Reusable Code in This Book The author(s) created reusable code in this publication expressly for reuse by readers. Sybex grants readers limited permission to reuse the code found in this publication, its accompanying CD-ROM or available for download from our website so long as the author(s) are attributed in any application containing the reusable code and the code itself is never distributed, posted online by electronic transmission, sold, or commercially exploited as a stand-alone product. Software Support Components of the supplemental Software and any offers associated with them may be supported by the specific Owner(s) of that material, but they are not supported by SYBEX. Information regarding any available support may be obtained from the Owner(s) using the informa- tion provided in the appropriate read.me files or listed elsewhere on the media. Should the manufacturer(s) or other Owner(s) cease to offer support or decline to honor any offer, SYBEX bears no responsibility. This notice concerning support for the Software is provided for your information only. SYBEX is not the agent or principal of the Owner(s), and SYBEX is in no way responsible for providing any support for the Software, nor is it liable or responsible for any support provided, or not provided, by the Owner(s). Warranty SYBEX warrants the enclosed media to be free of physical defects for a period of ninety (90) days after purchase. The Software is not available from SYBEX in any other form or media than that enclosed herein or posted to www.sybex.com. If you discover a defect in the media during this warranty period, you may obtain a replacement of identical format at no charge by sending the defective media, postage prepaid, with proof of purchase to: SYBEX Inc. Product Support Department 1151 Marina Village Parkway Alameda, CA 94501 Web: http://www.sybex.com After the 90-day period, you can obtain replacement media of identical format by sending us the defective disk, proof of purchase, and a check or money order for $10, payable to SYBEX. Disclaimer SYBEX makes no warranty or representation, either expressed or implied, with respect to the Software or its contents, quality, performance, merchantability, or fit- ness for a particular purpose. In no event will SYBEX, its distributors, or dealers be liable to you or any other party for direct, indirect, special, incidental, consequen- tial, or other damages arising out of the use of or inabil- ity to use the Software or its contents even if advised of the possibility of such damage. In the event that the Soft- ware includes an online update feature, SYBEX further disclaims any obligation to provide this feature for any specific duration other than the initial posting. The exclusion of implied warranties is not permitted by some states. Therefore, the above exclusion may not apply to you. This warranty provides you with specific legal rights; there may be other rights that you may have that vary from state to state. The pricing of the book with the Software by SYBEX reflects the allocation of risk and limitations on liability contained in this agree- ment of Terms and Conditions. Shareware Distribution This Software may contain various programs that are distributed as shareware. Copyright laws apply to both shareware and ordinary commercial software, and the copyright Owner(s) retains all rights. If you try a share- ware program and continue using it, you are expected to register it. Individual programs differ on details of trial periods, registration, and payment. Please observe the requirements stated in appropriate files. Copy Protection The Software in whole or in part may or may not be copy-protected or encrypted. However, in all cases, reselling or redistributing these files without authoriza- tion is expressly forbidden except as specifically pro- vided for by the Owner(s) therein. 4309FM.fm Page v Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Acknowledgments I need to thank Neil Edde, Maureen Adams, Jeff Kellum, and Elizabeth Campbell for trying to keep my path straight and focused. This is no easy task for you and I applaud your patience and dedication to our vision. Thanks also to the Sybex CD team for the super testing engine, Scott Benoit, who laid out these pages, David Groth, for his technical take on things, and Rebecca Rider whose eagle eye caught any grammar or spelling issues before they made it into the book. 4309FM.fm Page vi Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Contents at a Glance Introduction xiii Chapter 1 Planning & Designing 1 Chapter 2 Implementation & Operation 59 Chapter 3 Troubleshooting 227 Chapter 4 Technology 281 Index 355 4309FM.fm Page vii Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Contents Introduction xiii Chapter 1 Planning & Designing 1 1.1 Designing a Simple LAN Using Cisco Technology 2 Routers 3 Switches 3 Bridges 4 The Router, Switch, and Bridge Working Together 4 Exam Essentials 6 1.2 Designing an IP Addressing Scheme to Meet Design Requirements 6 IP Terminology 7 The Hierarchical IP Addressing Scheme 7 Network Addressing 8 Private IP Addresses 11 Network Address Translation (NAT) 12 Exam Essentials 13 1.3 Selecting an Appropriate Routing Protocol Based on User Requirements 13 Routing Basics 13 Distance-Vector Routing Protocols (RIP and IGRP) 15 Hybrid Routing Protocols or EIGRP 21 Link State (OSPF) 25 Exam Essentials 27 1.4 Designing a Simple Internetwork Using Cisco Technology 27 Introduction to VLANs 27 VLAN Memberships 32 Identifying VLANs 33 VLAN Trunking Protocol (VTP) 35 Exam Essentials 37 1.5 Developing an Access List to Meet User Specifications 37 Exam Essentials 39 1.6 Choose WAN Services to Meet Customer Requirements 39 High-Level Data-Link Control (HDLC) Protocol 40 Point-to-Point Protocol (PPP) 40 Frame Relay 43 Integrated Services Digital Network (ISDN) 51 Exam Essentials 54 Review Questions 55 Answers to Review Questions 57 4309FM.fm Page viii Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Contents ix Chapter 2 Implementation & Operation 59 2.1 Configure Routing Protocols Given User Requirements 60 Preliminary Configuration 60 Configuring IP Routing in Your Network 66 Default Routing 70 Configuring RIP Routing 71 Configuring IGRP Routing 76 Lab_A 77 Lab_B 77 Lab_C 78 Verifying the IGRP Routing Tables 78 Configuring EIGRP 79 Lab_A 81 Lab_B 81 Lab_C 81 Configuring OSPF 82 Enabling OSPF 83 Configuring OSPF Areas 83 Lab_A 84 Lab_B 85 Lab_C 85 Loopback Interfaces 86 Exam Essentials 88 2.2 Configuring IP Addresses, Subnet Masks, and Gateway Addresses on Routers and Hosts 89 Configuring Subnet Masks 89 Subnetting Practice Examples: Class C Addresses 96 Practice Example #1C: 255.255.255.192 (/26) 96 Practice Example #2C: 255.255.255.224 (/27) 97 Subnetting in Your Head: Class C Addresses 98 Subnetting Class B Addresses 99 Subnetting Practice Examples: Class B Addresses 99 Subnetting in Your Head: Class B Addresses 101 Subnetting Class A Addresses 102 Variable Length Subnet Masks (VLSMs) 102 VLSM Design 103 Implementing VLSM Networks 105 Exam Essentials 111 2.3 Configuring a Router for Additional Administrative Functionality 111 Understanding the Configuration Register Bits 111 Checking the Current Configuration Register Value 113 Changing the Configuration Register 114 4309FM.fm Page ix Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com x Contents Recovering Passwords 115 Exam Essentials 118 2.4 Configure a Switch With VLANS and Inter-switch Communication 118 Configuring a Switch with VLANs 118 Assigning Switch Ports to VLANs 121 Configuring Inter-Switch Communication: Trunk Ports 123 Configuring Inter-Switch Communication: Inter-VLAN Routing 125 Configuring Inter-Switch Communication: VTP 126 Configuring the Switching in Our Sample Internetwork 128 Exam Essentials 135 2.5 Implement a LAN 135 Straight-Through Cable 135 Crossover Cable 136 Rolled Cable 137 Exam Essentials 138 2.6 Customize a Switch Configuration to Meet Specified Network Requirements 139 Exam Essentials 141 2.7 Manage System Image and Device Configuration Files 141 Backing Up and Restoring the System Image File 141 Backing Up and Restoring the Device Configuration File 146 Exam Essentials 149 2.8 Perform an Initial Configuration on a Router 150 Cisco Router IOS 150 Connecting to a Cisco Router 150 Bringing Up a Router 151 Setup Mode 153 Command-Line Interface (CLI) 157 Exam Essentials 188 2.9 Perform an Initial Configuration on a Switch 190 1900 and 2950 Switch Startup 190 Setting the Passwords 191 Setting the Hostname 194 Setting IP Information 194 Configuring Interface Descriptions 195 Erasing the Switch Configuration 196 Exam Essentials 197 2.10 Implement Access Lists 198 Standard IP Access Lists 198 Extended Access Lists 203 Named Access Lists 208 Exam Essentials 210 4309FM.fm Page x Thursday, October 23, 2003 4:31 PM Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com [...]... solutions that reduce bandwidth and WAN costs, using features such as filtering with access lists, and dial-on-demand routing (DDR) How Do You Become a CCNA? The first step to becoming a CCNA involves passing one little test (exam 640-801 CCNA) and—poof!—you’re a CCNA (Don’t you wish it were that easy?) True, it’s just one test, but you still must possess enough knowledge to understand (and read between the... 640-801 CCNA exam is downright harsh! You’ve just got to be prepared— no cruising with this one If you want to seriously increase your odds of passing, meet two of your new best friends: this book and the CCNA: Cisco Certified Network Associate Study Guide Fourth Edition (640-801), written by yours truly (Sybex, 2004) These two references are what you need to prepare for the new and nasty CCNA exam... the CCIE lab shortly Why Become a CCNA? Cisco, not unlike Microsoft or Novell, has created the certification process to give administrators a set of skills and to equip prospective employers with a way to measure skills or match certain criteria Becoming a CCNA can be the initial step of a successful journey toward a new, highly rewarding, and sustainable career The CCNA program was created to provide... those without Cisco equipment—could easily require Cisco certifications for their job applicants If you make it through the CCNA and are still interested in Cisco and internetworking, you’re headed down a path to certain success What Skills Do You Need to Become a CCNA? To meet the CCNA certification skill level, you must understand or be able to do the following: Install, configure, and operate simple-routed... - http://www.simpopdf.com Cisco Certified Network Associate (CCNA) Certification The CCNA certification was the first in the new line of Cisco certifications, and was the precursor to all current Cisco certifications With the new certification programs, Cisco has created a stepping-stone approach to CCIE certification Now you can become a CCNA for the meager cost of this book, plus $125 for the test... take in order to become a CCNA that may be easier then taking one longer exam These tests are: 640-811 ICND 641-821 INTRO You spend more money if you take these two exams instead of the 640-801 exam, but it may be easier to break up the exam into two smaller exams That’s a personal choice Understand that this book prepares you to pass the 640-801 exam, although you probably could pass both of the smaller... become network administrators) learn what they need to know to pass the CCNA exam One way to get the hands-on router experience you’ll need in the real world is to attend one of the seminars offered by GlobalNet Training Solutions, Inc., which I own and run The seminars are either 5 or11 days long and will teach you everything you need to become a CCNA (or even a CCNP and CCSP) Each student gets hands-on... the ID requirements, and information about the testing-center location Tips for Taking Your CCNA Exam The CCNA test contains around 50 questions (maybe more), to be completed in around 90 minutes (possibly less) These numbers are subject to change; every exam is unique You must get a score of about 85 percent to pass this exam, but again, each exam can be different Many questions on the exam have answer... online notification of your pass or fail status, a printed Examination Score Report that indicates your pass or fail status, and your exam results by section (The test administrator will give you the printed score report.) Test scores are automatically forwarded to Cisco within five working days after you take the test, so you don’t need to send your score to them If you pass the exam, you’ll receive... (www.routersim.com) in Denver, Colorado, which creates both Cisco and Microsoft software simulation programs The CCNA Exam Objectives Cisco has posted four categories that each contain specific objectives As I mentioned earlier, these exam objectives form the outline for this book Here are Cisco’s objectives for the CCNA: Planning & Designing Design a simple LAN using Cisco Technology Design an IP addressing scheme . dial-on-demand routing (DDR). How Do You Become a CCNA? The first step to becoming a CCNA involves passing one little test (exam 640-801 CCNA) and—poof!—you’re a CCNA. (Don’t you wish it were that easy?). Merge and Split Unregistered Version - http://www.simpopdf.com San Francisco • London CCNA ™ : Fast Pass Todd Lammle 4309FM.fm Page iii Thursday, October 23, 2003 4:31 PM Simpo PDF Merge. it through the CCNA and are still interested in Cisco and internetworking, you’re headed down a path to certain success. What Skills Do You Need to Become a CCNA? To meet the CCNA certification