1682_fm.qxd
7/19/06
9:14 AM
Page i
CCNA Video Mentor Wendell Odom, CCIE® No. 1624
Cisco Press 800 East 96th Street Indianapolis, Indiana 46240 USA
1682_fm.qxd
ii
7/19/06
9:14 AM
Page ii
CCNA Video Mentor
CCNA Video Mentor
Publisher Paul Boger
Wendell Odom Copyright® 2007 Cisco Systems, Inc.
Cisco Representative Anthony Wolfenden
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 1234567890 First Printing
August 2006
Library of Congress Cataloging-in-Publication Number: ISBN: 1-587201682
Warning and Disclaimer This book and video product is designed to provide information about the CCNA 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 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.
Cisco Press Program Manager Jeff Brady Executive Editor Brett Bartow Production Manager Patrick Kanouse Senior Development Editor Christopher A. Cleveland Project Editor Seth Kerney Copy Editor Betsy Harris Technical Editor Steve Kalman Team Coordinator Vanessa Evans Designer Louisa Adair
1682_fm.qxd
7/19/06
9:14 AM
Page iii
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
[email protected]. Please make sure to include the book title and ISBN in your message. We greatly appreciate your assistance.
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.
1682_fm.qxd
iv
7/19/06
9:14 AM
Page iv
CCNA Video Mentor
About the Author Wendell Odom, CCIE No. 1624, is a senior instructor with Skyline Advanced Technology Services (http://www.skyline-ats.com), where he teaches the QOS, CCIE, MPLS, and CCNA courses. Wendell has worked in the networking arena for more than 20 years, with jobs in pre- and post-sales technical consulting, teaching, and course development. He has authored several Cisco Press books, including the best-selling CCNA INTRO Exam Certification Guide and CCNA ICND Exam Certification Guide, as well as the QOS Exam Certification Guide, Computer Networking First-Step, CCIE Routing and Switching Official Exam Certification Guide, Networking Basics: CCNA 1 Companion Guide, and Routers and Routing Basics: CCNA 2 Companion Guide.
About the Technical Reviewer Steve Kalman, CISSP, is the managing director for Esquire Micro Consultants, through which he teaches eight courses on Cisco routers, Microsoft Windows, and networking, telecom, and security topics for Learning Tree International. He is also the technical editor for three of those courses. Steve has also developed or edited more than a dozen CBT modules on networking, Cisco routers, and Microsoft Windows topics. In addition to teaching and course development, Steve is a network design consultant. Steve has worked as a programmer, manager, and consultant for companies of all sizes, both for-profit and nonprofit.
Acknowledgments Steve Kalman did his usual great job of not just catching errors, but making great suggestions on things to add to make the CVM product better. It’s rare to find someone who can both focus on the core goal—preventing errors—while also looking at the bigger picture and making great suggestions for the content. Thanks for another great job, Steve! Chris Cleveland and Brett Bartow both helped dig through all the different processes we had to use to create this first-of-its-kind product for Cisco Press. While it’s always exciting to do something for the first time, it’s also a hassle at times, so a big thanks to you both for helping me work through the process. Eric Strom’s helpful and objective suggestions for how to record the audio and video made the quality of the audio and video much better. Thanks much, Eric, for helping a recording newbie get over some big hurdles! Thanks to the production folks, Betsy Harris and Seth Kerney, for thinking with me outside the box a bit on this product, suspending some of the normal good practices in deference to some of the other goals for this product. Finally, on a more personal note, thanks to my daughter Hannah for being willing to stop her usual morning habit of running on the hardwood floors in our kitchen, because the kitchen is right above Daddy’s basement office and make-shift recording studio. Thanks to my wife Kris for not going crazy after I said “yes” to doing this project on the heels of three others. And as always, I’d like to acknowledge Jesus Christ, my savior, for His strength to push through to complete the project.
1682_fm.qxd
7/19/06
9:14 AM
Page v
v
Contents at a Glance Lab 1
Navigating a Router/Switch Command-Line Interface 1
Lab 2
Router Configuration and Managing Configuration Files 5
Lab 3
Switch Basics: Learning, Forwarding/Filtering, and Interface Settings 9
Lab 4
Configuring VLANs
Lab 5
Static and Connected Routes
Lab 6
RIP V1 Configuration
Lab 7
RIP V1 with Split Horizon, Route Poisoning, and Poison Reverse 31
Lab 8
Single-Area and Multiarea OSPF Configuration
Lab 9
EIGRP Configuration and Operation
Lab 10 NAT Overload (PAT)
15
23
51
Lab 11 PPP and CHAP Configuration Lab 12 Access Lists
59
19
55
45
37
1682_fm.qxd
vi
7/19/06
9:14 AM
Page vi
CCNA Video Mentor
Contents Lab 1
Navigating a Router/Switch Command-Line Interface 1 Scenario 1 Initial Configurations 1 Ending Configurations 2 Video Presentation Reference Step 1 Reference 2 Step 2 Reference 3
Lab 2
Router Configuration and Managing Configuration Files 5 Scenario 5 Initial Configurations 5 Ending Configurations 5 Video Presentation Reference Step 1 Reference 7 Step 2 Reference 8
Lab 3
6
Switch Basics: Learning, Forwarding/Filtering, and Interface Settings 9 Scenario 9 Initial Configurations 9 Ending Configurations 10 Video Presentation Reference Step 1 Reference 11 Step 2 Reference 12
Lab 4
2
Configuring VLANs
10
15
Scenario 15 Initial Configurations 15 Ending Configurations 16 Video Presentation Reference Step 1 Reference 17 Step 2 Reference 18
17
1682_fm.qxd
7/19/06
9:14 AM
Page vii
vii
Lab 5
Static and Connected Routes Scenario 19 Initial Configurations 19 Ending Configurations 20 Video Presentation Reference Step 1 Reference 21 Step 2 Reference 22 Step 3 Reference 22
Lab 6
RIP V1 Configuration
19
20
23
Scenario 23 Initial Configurations 23 Configuration After Lab Step 1 24 Ending Configurations 25 Video Presentation Reference 26 Step 1 Reference 26 Step 2 Reference 28
Lab 7
RIP V1 with Split Horizon, Route Poisoning, and Poison Reverse 31 Scenario 31 Initial Configurations 31 Ending Configurations 33 Video Presentation Reference Step 1 Reference 33 Step 2 Reference 34 Step 3 Reference 35
Lab 8
33
Single-Area and Multiarea OSPF Configuration Scenario 37 Initial Configurations: Lab Step 1 37 Initial Configurations: Lab Step 2 39 Ending Configurations 39 Video Presentation Reference 40 Step 1 Reference 40 Step 2 Reference 42 Step 3 Reference 43
37
1682_fm.qxd
viii
7/19/06
9:14 AM
Page viii
CCNA Video Mentor
Lab 9
EIGRP Configuration and Operation Scenario 45 Initial Configurations 45 Ending Configurations 46 Video Presentation Reference Step 1 Reference 47 Step 2 Reference 49
Lab 10 NAT Overload (PAT)
47
51
Scenario 51 Initial Configurations 51 Ending Configurations 52 Video Presentation Reference Step 1 Reference 53 Step 2 Reference 54
52
Lab 11 PPP and CHAP Configuration Scenario 55 Initial Configurations 55 Ending Configurations 56 Video Presentation Reference Step 1 Reference 57 Step 2 Reference 57
Lab 12 Access Lists
56
59
Scenario 59 Initial Configurations 59 Ending Configurations 60 Video Presentation Reference Step 1 Reference 61
60
55
45
1682_fm.qxd
7/19/06
9:14 AM
Page ix
ix
Icons Used in This Book
Communication Server
PC
PC with Software
Terminal
File Server
Sun Workstation
Macintosh
Access Server
Cisco Works Workstation
ATM Switch
ISDN/Frame Relay Switch
Token Ring Token Ring
Printer
Laptop
Web Server
IBM Mainframe
Front End Processor
Cluster Controller
Catalyst Switch
Multilayer Switch
FDDI Gateway
Router
Network Cloud
Hub
Bridge
Line: Ethernet
Line: Serial
DSU/CSU DSU/CSU
FDDI
Line: Switched Serial
Frame Relay Virtual Circuit
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).
■
Italics indicate arguments for which you supply actual values.
■
Vertical bars ( | ) separate alternative, mutually exclusive elements.
■
Square brackets [ ] indicate optional elements.
■
Braces { } indicate a required choice.
■
Braces within brackets [{ }] indicate a required choice within an optional element.
1682_fm.qxd
x
7/19/06
9:14 AM
Page x
CCNA Video Mentor
Introduction The CCNA Video Mentor (CVM) helps CCNA candidates prepare to pass the CCNA exam by supplying 12 instructional videos. Each CVM video presents a unique lab scenario, with both visual references and audio explanations of what you should expect to happen in a particular lab. The videos also show the details of the command-line interface (CLI) commands used to implement the features described in each lab video, along with running commentary. The end result is a set of videos that explain some of the most important CCNA topics, with thorough explanations from a trusted mentor. The CVM product was created out of a need for something more than just the static written word of a typical book. Cisco Press already offers many CCNA book products that cover the wide breadth of topics on the CCNA exam. However, many people learn better in a classroom setting, with an instructor explaining the concepts while showing details projected on the wall. Many customers of Cisco Press’s book products asked for a product closer to what you might get in a class—and CVM is the result.
Goals and Methods CVM has a very specific set of goals. First, CVM seeks to help its viewers more completely and more thoroughly understand several of the most important CCNA exam topics. Although you might have already read about these topics in other books or heard about them in classes, CVM hopes to help you master these particular topics. Using CVM in addition to a book or attending a course should help solidify your knowledge, help you see how to apply the knowledge, and better prepare you for the application of that knowledge on the exam. Note that CVM does not attempt to cover all possible topics on the CCNA exam. However, additional CVM products may be forthcoming from Cisco Press, depending on reader response. Each of the 12 videos follows the same basic approach, following these basic steps: 1.
The video begins with a description of the goals of the video.
2.
The lab scenario steps (usually 2 or 3 steps) are listed, giving a general outline of what the viewer should expect to see and hear during the video.
3.
The network topology used in the video is described.
4.
Then, for each scenario step: a. The video shows what the user should expect from the particular part of the lab exercise. b. The video shows the CLI details of how to configure and verify that the routers and switches are working properly.
1682_fm.qxd
7/19/06
9:14 AM
Page xi
xi
CVM Contents The CVM product package contains two components: a CD and a booklet. The CD contains the 12 lab videos, plus an introduction video. The CD has been optimized for viewing on a computer, with a 1024 X 768 minimum pixel grid. When the CD starts, it will display a menu from which you can start the introduction video, any of the 12 lab videos, or view a PDF copy of the booklet. The booklet is a reference document, intended to be used for reference when watching the videos, as opposed to being a standalone tool. The booklet has a section corresponding to each of the 12 CVM video labs, with each section containing a copy of the figures and other material shown in the video. Each section includes the following: ■
The list of objectives for the video
■
The list of scenario steps
■
Copies of all figures shown in the video
■
Copies of any reference lists shown in the video
■
The beginning configuration on each device
■
Any configuration added to each device during the video
Who Should Use The CCNA Video Mentor? The CCNA Video Mentor is primarily intended for people using self-study books as their primary method of preparing to pass the Cisco INTRO, ICND, and CCNA exams. Additionally, this product should be useful to anyone who is studying basic networking topics, either by reading books or taking classes.
How the CCNA Video Mentor Is Organized The CCNA Video Mentor DVD menu contains three main sections. One section allows you to start the introductory video. The next allows you to see a list of the 12 video labs, from which you can start any of the 12 lab videos. The third option opens a window to display a PDF of the booklet included with the DVD. The booklet itself simply contains 12 sections, each referencing one of the 12 lab videos. The 12 lab videos are as follows: ■
Lab 1 Navigating Router/Switch User and Privileged Mode This lab demonstrates how to connect to a router or switch console and use both user mode and privileged mode exec commands.
■
Lab 2 Router Configuration and Managing Configuration Files This lab leads the user through the process of connecting to a router’s console, getting into configuration mode, and configuring several features. It also explains the key commands used for copying configuration files.
1682_fm.qxd
xii
7/19/06
9:14 AM
Page xii
CCNA Video Mentor
■
Lab 3 Switch Basics: Learning, Forwarding/Filtering, and Interface Settings This lab show a sample network with two LAN switches, and explains how the switches will learn and forward certain frames. It also shows the MAC address learning process with show commands on the switches, along with some basic interface configuration subcommands on switches.
■
Lab 4 Configuring VLANs This lab shows two variations of how to configure VLANs on a switch. The lab shows how to configure a VLAN, as well as how to place interfaces into that particular VLAN.
■
Lab 5 Static and Connected Routes This lab explains the concept of the details of an IP routing table on a Cisco router. It then shows the requirements for a router to add connected routes to its routing table, as well as how to configure two different styles of static routes.
■
Lab 6 RIP V1 Configuration This lab shows how to configure RIP in a simple threerouter WAN. It focuses on the meaning of the RIP network configuration subcommand; in particular, how the network command matches a router’s interfaces, and what the router does when the network command matches an interface.
■
Lab 7 RIP V1 with Split Horizon, Route Poisoning, and Poison Reverse This lab explains the concepts behind some of the more advanced Distance Vector loop avoidance features. It also demonstrates these features in a small network using the output of IOS debug commands.
■
Lab 8 Single-Area and Multiarea OSPF Configuration This lab shows how to configure OSPF in a five-router WAN. It shows how to configure OSPF as simply as possible, using a single OSPF area, as well as how to configure Area Border Routers (ABRs) in a multiarea design.
■
Lab 9 EIGRP Configuration and Operation This lab shows how to configure EIGRP in a simple three-router WAN. It focuses on the meaning of the EIGRP network configuration subcommand; in particular, how the wildcard mask option allows an engineer to control on which interfaces the router enables EIGRP. It also shows the contents of the IP routing table when Variable Length Subnet Masking (VLSM) is used.
■
Lab 10 NAT Overload (PAT) This lab explains how the NAT overload feature (also known as PAT) works, and how it allows the use of a small number of public IP addresses to support a large network. The lab also reviews the NAT overload configuration for a sample network.
■
Lab 11 PPP and CHAP Configuration This lab explains the two interface status codes and the impact of both correct and incorrect WAN Data Link configuration parameters. The lab also shows how to configure PPP and CHAP on a serial link.
■
Lab 12 Access Lists This lab explains the syntax of the access-list command for configuring an extended IP ACL. The video shows two examples for filtering the same traffic–one that uses the destination port number in the ACL, and another that uses the source port number.
1682_fm.qxd
7/19/06
9:14 AM
Page xiii
xiii
Suggested Times to Use Labs The CCNA Video Mentor (CVM), supplements the learning process using CCNA self-study products. The following table suggests the points at which each CVM lab might be best used in conjunction with the Cisco Press CCNA books. Table I-1 shows the best timing options when using the Official CCNA Certification Library, which consists of the Cisco INTRO Exam Certification Guide and the Cisco ICND Exam Certification Guide. Table I-1
Using the CVM with the Official CCNA Certification Library
CVM Lab Number
Book
Chapter
1
INTRO ECG
7
2
INTRO ECG
7
3
ICND ECG
1
4
ICND ECG
3
5
ICND ECG
5
6
ICND ECG
5
7
ICND ECG
5
8
ICND ECG
6
9
ICND ECG
6
10
ICND ECG
8
11
ICND ECG
9
12
ICND ECG
12
1682_fm.qxd
7/19/06
9:14 AM
Page xiv