Cisco Press 201 West 103rd Street Indianapolis, IN 46290 USA Cisco Press CCIE Routing and Switching Exam Certification Guide A. Anthony Bruno, CCIE #2738 CCIE.book Page i Friday, June 14, 2002 3:57 PM ii CCIE Routing and Switching Exam Certification Guide A. Anthony Bruno Copyright© 2003 Cisco Systems, Inc. Published by: Cisco Press 201 West 103rd Street Indianapolis, IN 46290 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 1 2 3 4 5 6 7 8 9 0 First Printing July 2002 Library of Congress Cataloging-in-Publication Number: 20-01092525 ISBN: 1-58720-053-8 Warning and Disclaimer This book is designed to provide information about the CCIE Routing and Switching written exam. 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 author, 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. 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 e-mail at feedback@ciscopress.com. Please make sure to include the book title and ISBN in your message. We greatly appreciate your assistance. CCIE.book Page ii Friday, June 14, 2002 3:57 PM iii Publisher John Wait Editor-in-Chief John Kane Executive Editor Brett Bartow Cisco Systems Management Michael Hakkert Tom Geitner Production Manager Patrick Kanouse Acquisitions Editor Michelle Grandin Development Editor Andrew Cupp Project Editor San Dee Phillips Copy Editor Christopher Mattison Contributing Author Roy Spencer Technical Editors Jennifer Carroll Galina Pildush Team Coordinator Tammi Ross Book Designer Gina Rexrode Cover Designer Louisa Klucznik Production Team Octal Publishing, Inc. Indexer Tim Wright Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 European Headquarters Cisco Systems Europe 11 Rue Camille Desmoulins 92782 Issy-les-Moulineaux Cedex 9 France http://www-europe.cisco.com Tel: 33 1 58 04 60 00 Fax: 33 1 58 04 61 00 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-7660 Fax: 408 527-0883 Asia Pacific Headquarters Cisco Systems Australia, Pty., Ltd Level 17, 99 Walker Street North Sydney NSW 2059 Australia http://www.cisco.com Tel: +61 2 8448 7100 Fax: +61 2 9957 4350 Cisco Systems has more than 200 offices in the following countries. 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 • Colombia • Costa Rica • Croatia • Czech Republic • Denmark • Dubai, UAE • Finland • France • Germany • Greece • Hong Kong 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 © 2000, Cisco Systems, Inc. All rights reserved. Access Registrar, AccessPath, Are You Ready, ATM Director, Browse with Me, CCDA, CCDE, CCDP, CCIE, CCNA, CCNP, CCSI, CD-PAC, CiscoLink, the Cisco NetWorks logo, the Cisco Powered Network logo, Cisco Systems Networking Academy, Fast Step, FireRunner, Follow Me Browsing, FormShare, GigaStack, IGX, Intelligence in the Optical Core, Internet Quotient, IP/VC, iQ Breakthrough, iQ Expertise, iQ FastTrack, iQuick Study, iQ Readiness Scorecard, The iQ Logo, Kernel Proxy, MGX, Natural Network Viewer, Network Registrar, the Networkers logo, Packet, PIX, Point and Click Internetworking, Policy Builder, RateMUX, ReyMaster, ReyView, ScriptShare, Secure Script, Shop with Me, SlideCast, SMARTnet, SVX, TrafficDirector, TransPath, VlanDirector, Voice LAN, Wavelength Router, Workgroup Director, and Workgroup Stack are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Empowering the Internet Generation, are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, Cisco, the Cisco Certified Internetwork Expert Logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Collision Free, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, FastLink, FastPAD, IOS, IP/TV, IPX, LightStream, LightSwitch, MICA, NetRanger, Post-Routing, Pre-Routing, Registrar, StrataView Plus, Stratm, SwitchProbe, TeleRouter, are registered trademarks of Cisco Systems, Inc. or its affiliates in the U.S. and certain other countries. All other brands, names, or 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. (0010R) CCIE.book Page iii Friday, June 14, 2002 3:57 PM iv About the Author A. Anthony Bruno is a Principal Consultant with International Network services and has over 11 years of experience in the internetworking field. His network certifications include CCIE, CWNA, CCDP, CCNA-WAN, Microsoft MCSE, Nortel NNCSS, Checkpoint CCSE, and Certified Network Expert (CNX) in Ethernet. As a consultant, he has worked with many enterprise and service provider customers in the design, implementation, and optimization of large-scale multiprotocol networks. Anthony has worked on the design of large company network mergers, wireless LANs, Voice over IP, and Internet access. He formerly worked as an Air Force Captain in network operations and management. He completed his B.S. degree in electrical engineering from the University of Missouri-Rolla in 1994 and his M.S. degree in electrical engineering from the University of Puerto Rico-Mayaguez in 1990. Anthony is also a part-time instructor for the University of Phoenix-Online, teaching networking courses. Anthony is the co-author for the Cisco Press release CCDA Exam Certification Guide and a contributor and the lead technical reviewer for the Cisco Press release Cisco CCIE Fundamentals: Network Design and Case Studies, Second Edition. Anthony contributed a chapter to a Syngress publication titled Designing Wireless Networks . He has also performed technical reviews of Cisco Press titles CID Exam Certification Guide and Internetworking Troubleshooting Handbook . About the Contributing Author Roy Spencer is a Cisco Certified Network Associate for WAN switching and a Certified Cisco Systems Instructor with over fifteen years experience in the education segment of the networking industry. He has worked as a course developer for Cisco Systems, Inc., 3Com Corporation, and Nortel Networks Limited. Roy has written and taught classes on ATM switch configuration, network management, router configuration, LAN switch configuration, SONET multiplexers, Ethernet, and TCP/IP. He is currently employed as a course developer for a leading SONET optical switch manufacturer. Roy was the contributing author for the ATM material in Chapter 5 of this book. About the Technical Reviewers Jennifer DeHaven Carroll, CCIE #1402, has planned, designed, and implemented many large networks over the past thirteen years. She has also developed and taught network technology theory and implementation classes. Jennifer has a bachelor of science degree in computer science from the University of California, Santa Barbara. Galina Diker Pildush , CCIE #3176, JNCIE #18, is with Juniper Networks, Inc. She provides training and course devel- opment for Juniper Networks, the leading provider of Internet systems. After earning her master of science degree in computer science, she worked for nineteen years for major, worldwide corporations in the areas of internetwork design, architecture, network optimization, implementation, and project management and training. Galina has been an academic teacher at York University, teaching computer science, data communications, and computer network courses. Gaining extensive technical experience in internetworking and the Cisco line of products, she received her Routing and Switching CCIE certification in 1997. Upon achieving her CCIE, Galina dedicated a majority of her professional career to training and mentoring CCIE candidates by taking on the role of technical director for Netgun Academy CCIE preparation program at Global Knowledge Network, Inc. Deploying her passion for teaching, Galina taught a variety of Cisco courses. Upon joining Juniper Networks, Galina received one of the industry’s toughest certifi- cations—Juniper Networks Certified Internet Expert (JNCIE). Galina continues to teach at Juniper, enjoying state-of- the-art technology. Her areas of interest and specialization are ATM, internetwork design and optimization, VoIP, VPNs, MPLS, and Wireless technologies. One of Galina’s most recent publications is Cisco ATM Solutions from Cisco Press. In addition to the demanding professional work, Galina, her husband, their two children, and their dog, who is a Canadian Champion, enjoy spending those rare moments together traveling, skiing, and cycling. CCIE.book Page iv Friday, June 14, 2002 3:57 PM v Dedications This book is dedicated to my parents, Augustus Anthony Bruno, Sr. and Iris Belia Bruno. Thanks for your guidance and teaching during my “growing up” years. Dad: Thanks for the VIC20 computer. Also, I wish to dedicate this book to my sister, Anjanette. CCIE.book Page v Friday, June 14, 2002 3:57 PM vi Acknowledgments This book would not have been possible without the efforts of many dedicated people. First, thanks to Andrew Cupp, Development Editor, whose guidance and expertise has improved this book, making it a better test guide for the readers. Thanks to Michelle Grandin, Acquisitions Editor, for giving me the opportunity to write this book. Thanks to Brett Bartow, Executive Editor, for your guidance. And special thanks to John Kane, Editor-in-Chief, for getting me started with Cisco Press in 1999. Thanks to Roy Spencer for contributing the ATM material in the WAN chapter. Thanks to the technical reviewers, Galina Pildush and Jennifer Carroll. Your advice and careful attention to detail signif- icantly improved this book. I also want to thank my boss of four years, Randy Kunkel, Managing Principal. Thanks for your support during this time. Finally, I wish to thank my loving wife, Ivonne, and our daughters, Joanne Nichole and Dianne Christine, for their sup- port during the development of this book. CCIE.book Page vi Friday, June 14, 2002 3:57 PM vii Foreword "The will to succeed is useless without the will to prepare"…Henry David Thoreau The CCIE program is designed to help individuals, companies, industries, and countries succeed in an era of increasing network reliance by distinguishing the top echelon of internetworking experts. If that sounds like a lofty mission, then our standards for excellence are equally high. To achieve the CCIE certification is to ascend the pinnacle of technical excellence in the IT profession. While CCIEs inevitably gain extensive product knowledge on their way to certification, product training is not the program objective. Rather, the focus is on identifying those experts capable of understanding and navigating the intricacies and potential pitfalls inherent in end-to-end networking, regardless of technology or product brand. The first step along the CCIE path is for individuals to take a challenging written exam designed to assess their knowledge across a range of technologies and topologies relevant today. If their scores indicate expert-level knowledge, candidates then proceed to the performance-based CCIE Certification Lab Exam. Administered only by Cisco Systems, this hands-on exam truly distinguishes the CCIE program from all others. Candidates must demonstrate true mastery of internetworking through a series of timed exercises under intense conditions simulating today’s mission-critical IT world. Becoming CCIE Certified requires significant investment in education and preparation by each candidate. Moreover, a rigorous and mandatory biyearly recertification process ensures the commitment is long lasting and helps guarantee program integrity. These rigid requirements ensure that CCIEs are leaders with a proven and enduring commitment to their career, the industry, and the process of ongoing learning. Cisco does not require candidates to complete specific training in preparation for either the written exam or the perfor- mance-based component of the CCIE certification process. The program is intended to identify hands-on experience and acquired expertise rather than the completion of specified course work. If you have committed yourself to beginning the journey toward achieving CCIE certification, CCIE Routing and Switching Exam Certification Guide can help ensure that your valuable preparation time is invested wisely. By providing candidates with typical exam subject matter, topic summaries, and practice and review questions that test the comprehensive networking knowledge expected, the CCIE Routing and Switching Exam Certification Guide can greatly assist in certification preparation. It offers you com- plete, late-stage exam preparation guidance that will enable you to assess your strengths and weaknesses and focus your study where you need the most help. Lorne Braddock Director, CCIE Program Group Cisco Systems, Inc. fmatter.fm Page vii Monday, June 17, 2002 1:36 PM viii Contents at a Glance Foreword vii Chapter 1 CCIE Certification, Test Preparation, and Using This Book 3 Chapter 2 Networking Concepts Review 15 Chapter 3 Cisco Equipment Operations 61 Chapter 4 Local-Area Networks and LAN Switching 105 Chapter 5 Wide-Area Networks 191 Chapter 6 Internet Protocols 265 Chapter 7 Static Routing and Distance Vector Routing Protocols 319 Chapter 8 IP Link-State Routing Protocols 371 Chapter 9 Border Gateway Protocol 427 Chapter 10 Administrative Distance, Access Lists, Route Manipulation, and IP Multicast 473 Chapter 11 Traffic Management 513 Chapter 12 Multiservice Networking, IPX Networking, and Security 545 Appendix Answers to Quiz Questions 591 Index 719 CCIELOP.fm Page viii Friday, June 14, 2002 3:53 PM ix Ta ble of Contents Foreword vii Chapter 1 CCIE Certification, Test Preparation, and Using This Book 3 Cisco Certifications 3 Cisco Certification Areas 3 CCIE Certifications 4 CCIE R&S 5 CCIE C&S 5 CCIE Written Exam Objectives 6 CCIE R&S Written Exam Objectives 6 CCIE C&S Written Exam General Knowledge Objectives 10 Test Preparation, Test-Taking Tips, and Using This Book 12 Chapter 2 Networking Concepts Review 15 “Do I Know This Already?” Quiz 15 Foundation Topics 19 The OSI Reference Model 19 Physical Layer (OSI Layer 1) 20 Data-Link Layer (OSI Layer 2) 20 Network Layer (OSI Layer 3) 21 Transport Layer (OSI Layer 4) 21 Session Layer (OSI Layer 5) 22 Presentation Layer (OSI Layer 6) 22 Application Layer (OSI Layer 7) 23 Example of Layered Communication 23 Numeric Conversion 24 Hexadecimal Numbers 25 Binary Numbers 28 General Routing Concepts 34 Hierarchical Model for Networks 34 Basic Internetworking Devices 35 Routing Protocol Characteristics 38 References Used 48 Foundation Summary 49 CCIETOC.fm Page ix Friday, June 14, 2002 3:57 PM x Q & A 52 Scenario 59 Chapter 3 Cisco Equipment Operations 61 “Do I Know This Already?” Quiz 61 Foundation Topics 64 Infrastructure 64 Central Processing Unit (CPU) 64 Primary Memory 65 Nonvolatile RAM (NVRAM) 65 Read-Only Memory (ROM) 65 Boot Flash 66 Flash Memory 66 Configuration Register 68 Router Modes 73 ROM Monitor 73 Boot Mode 73 User Exec Mode 73 Privileged Exec Mode 74 Configuration Mode 74 Initial Configuration Dialog 74 Router Operations 77 Password Security 77 TFTP 78 Configuration File Manipulation 78 Password Recovery 80 Accessing Devices 83 Router CLI 84 Debug 87 Switch Commands 89 References Used 92 Foundation Summary 93 Q & A 96 Scenario 101 CCIETOC.fm Page x Friday, June 14, 2002 3:57 PM [...]... of the CCIE R&S exam and the general networking topics of the written portion of the CCIE C&S exam chpt_01.fm Page 5 Monday, June 17, 2002 1:38 PM CCIE Certifications 5 CCIE R&S The CCIE R&S certification is the traditional CCIE certification that involves routing and LAN/ WAN switching The CCIE candidate must pass a two-hour written qualification test and a hands-on one-day lab test to become a CCIE R&S... these carry Cisco certification prerequisites: — Cable — Internet Solutions — Security — SNA/IP — IP Telephony You can find more information on Cisco certifications at the following web site: www.cisco.com/warp/public/10/wwtraining/certprog/ CCIE Certifications The three CCIE certifications are as follows: • • • CCIE Routing and Switching (CCIE R&S) CCIE Communications and Services (CCIE C&S) CCIE Security... exam blueprint is a guideline of the subjects that might appear in the test The CCIE R&S blueprint is covered later in this chapter The test includes Cisco device operation, general networking theory, bridging and LAN switching, LAN and WAN media, IP theory, IP routing protocols, performance and traffic management, security, and multiservice CCIE C&S The CCIE C&S certification replaces the CCIE WAN Switching. .. Written Exam Objectives This section provides tables that cover the CCIE written exam objectives from the published blueprint and the corresponding chapters in this book that cover those objectives Two tables are included: one for the CCIE R&S written exam and one for the general knowledge portion of the CCIE C&S exam CCIE R&S Written Exam Objectives Table 1-1 lists the CCIE R&S exam objectives and the... analysts and engineers to demonstrate competence in different areas and levels of internetworking Cisco certification can help you land a job or increase your pay because clients, peers, and superiors recognize you as a networking expert CCIE certification is regarded as the most difficult and rewarding of the internetworking industry This book covers all exam objectives for the CCIE Routing and Switching. .. the CCIE Routing and Switching (R&S) written exam: • OSI reference model—The seven layers of the OSI reference model and protocols at each layer • Numeric conversion—The numeric conversion between binary, decimal, and hexadecimal numbers • General routing concepts—The hierarchical model for networks, general network devices, routing protocol types and characteristics, and routing protocol metrics CCIE. book... CCIE WAN Switching and CCIE Internet service provider (ISP)-Dial certification The CCIE C&S candidate must pass a two-hour written qualification test and a hands-on one-day lab test The CCIE C&S track consists of a variety of written exams that share one common lab Only one of the written tests is taken before the lab Each written exam consists of 50 percent of general knowledge topics and 50 percent of... prepare you for the CCIE R&S written exam The certifications available in this track are as follows: — CCIE Routing and Switching (CCIE R&S) — Cisco Certified Network Professional (CCNP) — Cisco Certified Network Associate (CCNA) CCIE. book Page 4 Friday, June 14, 2002 3:57 PM 4 Chapter 1: CCIE Certification, Test Preparation, and Using This Book • Network Engineering and Design—According to Cisco’s web... between switching and routing, summarization, link-state versus distance vector, loops, tunneling 2 Standards—802.x, protocol limitations 4 Protocol mechanics—Windowing/Acknowledgments (ACK), fragmentation, maximum transmission unit (MTU), handshaking, termination 6 CCIE. book Page 7 Friday, June 14, 2002 3:57 PM CCIE Written Exam Objectives Table 1-1 7 CCIE R&S Written Exam Objectives (Continued) Exam. .. 698 704 705 713 CCIETOC.fm Page xxi Friday, June 14, 2002 3:57 PM CCIE. book Page 2 Friday, June 14, 2002 3:57 PM CCIE. book Page 3 Friday, June 14, 2002 3:57 PM CHAPTER 1 CCIE Certification, Test Preparation, and Using This Book Cisco Certifications So you have worked on Cisco routers and switches for a while and now want to get your CCIE? There are several good reasons to do so Cisco’s certification program . Press CCIE Routing and Switching Exam Certification Guide A. Anthony Bruno, CCIE #2738 CCIE. book Page i Friday, June 14, 2002 3:57 PM ii CCIE Routing. to beginning the journey toward achieving CCIE certification, CCIE Routing and Switching Exam Certification Guide can help ensure that your valuable