CISCO Certified Network Administrator (CCNA) Lab Manual ...

10
1 Learning by Doing: CISCO Certified Network Administrator (CCNA) Lab Manual version 4 Volume #2 Matthew J. Basham, Michael Gordon, and David Vasquez [email protected] Business Technologies Department, Clearwater Campus St. Petersburg College St. Petersburg, Florida

Transcript of CISCO Certified Network Administrator (CCNA) Lab Manual ...

1

Learning by Doing:

CISCO Certified Network Administrator

(CCNA)

Lab Manual version 4

Volume #2

Matthew J. Basham, Michael Gordon, and David Vasquez

[email protected]

Business Technologies Department, Clearwater Campus

St. Petersburg College

St. Petersburg, Florida

2

Learning by Doing:

CISCO Certified Network Administrator

Lab Manual version 4

Volume #1 of 2

Matthew J. Basham, Michael Gordon, and David Vasquez

Copyright ©2004

Published by:

Lulu Press (http://www.lulu.com)

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

or the author, except for the inclusion of brief quotations in a review. Any reproductions

for learning purposes should be reported to authors for accounting purposes

([email protected])

Printed in the United States of America 1 2 3 4 5 6 7 8 9 0

This manuscript was supplied camera-ready by the author.

ISBN:

Warning and Disclaimer This book is designed to provide information to help prepare students for portions of the

Cisco CCNA certification examination and entry-level employment. Every effort has

been made to make this book as complete and accurate as possible, but no warranty or

fitness is implied.

The information is provided on an as-is basic. The author and Lulu Press 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

programs that accompany it.

This opinions expressed in this book belong to the author and are not necessarily those of

Cisco Systems, Inc., St. Petersburg College or Lulu Press.

Trademark Acknowledgements All terms mentioned in this book are known to be trademarks or service marks have been

appropriately capitalized. Lulu 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.

3

About the Authors

Matthew Basham is the Program Director Main Contact and Lead Instructor for the St.

Petersburg College-CISCO Regional Networking Academy in Clearwater, Florida. Mr.

Basham has been employed (adjunct and full-time) with SPC since 1996. He has

completed his CCAI (CISCO instructor), CCNA 2.0, CCNP academy instructor and

CCDA certification. He is currently working on a Ph.D. from the University of Florida in

curriculum development (computer security), administration and leadership, and IT

policy development in higher education. He holds an M.A.M.C. from the University of

Florida and a B.A. from Oakland University (Rochester, Michigan). Mr. Basham will

have completed his master’s degree with a concentration in Cisco CCNP networking

from Fort Hayes State University in 2006. Mr. Basham has been working professionally

in networking as a network administrator, technical writer, teacher, and consultant since

1993. He has been using computers since the 1970's and still owns his original

Commodore 64. He has held certifications or trained students in CCNA, CCDA, CCAI,

Novell 3 and 4, NT 4.0 workstation, TCP/IP, NT 4.0 server, A+, Network+, COBOL,

Fortran, Pascal, DOS, BASIC, and HTML. His hobbies include computer security,

cyber-law, and anti-hacking techniques for network administrators and educators. He has

lectured extensively across the United States over the past three years on curriculum

developments in security and cyberlaw-related topics for higher education. He also has

other publications and textbooks available through Lulu Press.

Michael Gordon has been employed with Saint Petersburg College since 2000. He

currently holds CCNP, CCNA, and CCAI certifications and has completed all Cisco

Instructor Training sessions. He has been involved with computers for more than 20

years. He currently holds a Master’s Degree. He will have completed his master’s

degree with a concentration in Cisco CCNP networking from Fort Hayes State University

this spring. He is also finishing his Ph.D. in educational technology and curriculum

development from the University of Florida. He can be reached at

[email protected]

Arthur (David) Vasquez has been employed with Saint Petersburg College since 2000.

He currently holds the CCNA 2.0 certification, CCNA Instructor Certification and CCNP

Instructor Certifications in Building Cisco Remote Access Networks (BCRAN), Building

Scalable Cisco Internetworks (BSCI), Building Cisco Multilayer Switched Networks

(BCMSN) and Cisco Internetnetwork Troubleshooting (CIT). Mr. Vasquez will have

completed his master’s degree with a concentration in Cisco CCNP networking from Fort

Hayes State University this spring. He continues to work in the field as a consultant for

local and national companies needing varying levels of support, LAN/WAN

implementations and/or redesigns, training, and subject matter lecturing. He is currently

working on another book pertaining to subnetting, networking protocols, and networking

in general. He has been involved in networking and computer support/operating systems

for more than 10 years. He can be reached at [email protected]

4

A note to students and teachers

This manual was developed to prepare students for hands-on training to

accompany classroom lectures on CISCO networking theory for the CISCO CCNA

examination. These labs are intended to supplement and enhance the Cisco Networking

Academy Program with additional information, explanations, and laboratory materials,

not to replace them. Think of this like a “cliff’s notes” to accompany the curriculum. If

you are looking for a lot of theory, then you have got the wrong book.

This book uses a bunch of educational theory and the book should be used from

the start to the finish. For example, in early labs ip addresses and related information is

given. The later labs assume you have a good grasp of addressing and can choose your

own. Yeah, I know it can stink but understanding subnetting is a critical part of an entry-

level technician in networking and the “standard” Cisco curriculum does not address this

very well. Also I put an emphasis on troubleshooting and critical thinking to a much

deeper extent than the official curriculum. All labs and exercises contain four basic parts:

1. An objective section giving a brief topic for exploration in the lab or exercise

2. A tools and materials list

3. Steps needed to complete the lab or exercise

4. Supplemental lab or exercise challenge activities

Some sections include background information if needed.

Please keep in mind that equipment and IOS variations can cause differences

between what is within this book and what you may actually see.

Some of the labs contain “guest router names” that are borrowed from computer

security history. I do this to spice up the labs a bit and give you a cross-reference and

some history of computer security. I even got an email from a past member of the LOD

which was really cool. Keep them emails coming!

Keep track of updates and changes at http://www.spcollege.edu/star/cisco Scroll to

the bottom of the page and click on the “Lab Manual Edits.”

Do you have a lab that you want in this book? Send it in and we’ll give you written

credit for developing the lab if we pick it for use in our next book. We do, however,

reserve the right to reformat the “look” of the lab to be similar to the style in this book

and to do any minor edits. Before it appears in the newest version of the book you will

still have the final say-so on any changes. After all this is about an open source effort

and I feel giving the book away embodies the spirit of open source. The labs must be

done using MS Word or compatible format. Sorry to all the Mac/OS users.

5

Acknowledgements I would like to thank many people: my wife Michelle (for putting up with me and my

“eccentricities,” long nights working on the book, and all the traveling I do), my kids

Matthew and Madison, my family, grandparents (rest in peace), Worrell family, Wolfe

family, Jeanette LaBelle-Wieske and family, Rachel, Autumn, Krysta, (no particular

order), Beth & the Bindle family, Ronda Tranter and family (legal inspiration), Frank

Carlton Serafino Feranna (you’re right…we aren’t all dumb kids), Dr. Mary Ann

Ferguson (for never giving up on me), J.C. and Mickey Converse, Uncle Bill, Aunt Mary,

cousin David, Dave Ellis, Kent Plate and the Plate family, Rich Curtis, Flo Jacobsen, Ms.

Minton (HS English Teacher), Julie Morrow and Lisa Wilson (for the ambition or

revenge to do even better), and to all my students everywhere! I would also like to thank

St. Petersburg College and some colleagues there too: Carl Kuttler, Dr. Carol

Copenhaver, Dr. Patricia Rowell, Dr. Kay Adkins, Amelia Carey, Dr. Stan Vittetoe,

Barbara Glowaski, Melissandre Hilliker, Tina O’Daniels, Conferlete Carney, Angel

Rosado, Shirley Johnson, Karen Miller, Angela Picard, Kevin Patterson, Linda Hogans,

Tonjua Williams, Alex Stubos-Farmer, Kristen Zimmerman, Connie Szuch, Jim Moore,

Sharon Williams, Iris Yetter, Wendy Berry, Carmen Griffin, Sherry Armstrong, and Edie

Bower. I guess I should also thank the makers of Mountain Dew© and Pizza Hut©,

without them I would not have had my fuel for this…what ever happened to “Jolt Cola©”

anyway?

I want to give a special thanks to all of my students, colleagues, friends, etc. who have

pointed out the errors in this book (and sometimes the ones not in the book)…In the

future this list will also include anyone else who finds an error and brings it to my

attention: Rick Whelan, John Madison, Rich Curtis, Jessie Brown, Chad Olsen, Erik

Kruk, Thomas Banea,

6

Some of the best books are brought to you by Lulu!

http://www.lulu.com/about/

7

About the authors 3

A note to students and teachers 4

Acknowledgements 5

Table of Contents 7

Part 3 LAN Routing Fundamentals Basic Router Commands 10

Router Boot Sequence 18

Basic Router Configuration 27

Routing Protocols: RIP 32

Basic Troubleshooting: Router-to-Router 39

Loopback Interfaces 48

Basic RIP with Protocol Inspector 55

Router Telnet Lab 61

Route Summarization with RIP 64

Intermediate RIP with 3 Routers 70

RIP Metrics and the Limitations of RIP 73

Dynamic Host Configuration Protocol (DHCP) Lab 76

Subnetting with DHCP 79

Static and Dynamic Routing 82

Static and Dynamic Routes with Discontiguous RIP Networks 94

Overcoming Problems with Routing Loops 99

Routing Protocols: RIP Version 2 and Redistribution with RIP 103

Protocol Deathmatch! Rip versus Ripv2 107

Routing Protocols: IGRP 109

Packet Structure of IGRP with Protocol Inspectors 113

Intermediate IGRP: Metrics 117

Redistribution of RIP and IGRP 124

Routing Protocols: EIGRP 131

Routing Protocols: OSPF 137

Multiarea OSPF 142

Routing Protocols: BGP 154

BGP Overview 159

Configuring BGP Attributes 164

The Multi-Exit Discriminator (MED) Attribute 170

BGP Soft Configuration 175

ISIS 179

Configuring and Monitoring Integrated ISIS 187

Paper Lab: Routing Protocol Categories 192

Routing Protocols IPX with Dynamic Routing 195

Routing Protocols IPX with IPX Static Routing 200

Paper Lab: Wildcard Masks 205

Paper Lab: Access Control Lists 213

Basic Access Control Lists 225

Extended Access Control Lists 232

Named Access Control Lists 238

8

Dynamic Access Control Lists 243

Reflexive Access Control Lists 247

Fun with Access Control Lists 253

Access Control List Test 260

Cisco Secure/AAA 264

Implementing Cisco Secure Server 267

Troubleshooting Scenarios for Part 3 270

Part 3 Command Review 271

Whole Enchilada/Crazy Insano Lab #1 (WECIL): Routing 273

Whole Enchilada/Crazy Insano Lab #2 (WECIL): Routing 275

Whole Enchilada/Crazy Insano Lab #3 (WECIL): IGRP/RIP 276

Whole Enchilada/Crazy Insano Lab #4 (WECIL): IP/IPX 277

Part 4 WAN Routing Fundamentals 278

Auxiliary Port Configuration

Remote Access Lab: Using a Modem with a Router (AUX) 279

Asynchronous Connections to a Router 282

Configuring a Terminal Server 285

Serial Line Configuration

Point-to-Point Protocol 289

PPP with Authentication 294

Remote Access DUN with PPP Encapsulation 305

Setting up a Router to be a Frame Relay Switch 309

Frame Relay with 2 Routers 311

Frame Relay: Hub and Spoke with 3 routers 314

Fully-Meshed Frame Relay with 3 Routers and Sub-interfaces 317

Frame Relay Operation and Troubleshooting 323

WIC’s and Network Module Plug-in Configuration Basic ISDN Configuration with BRI interface (MERGE) 330

Basic ISDN Configuration with BRI interface (ADTRAN) 334

ISDN Operation and Troubleshooting 339

ISDN Configuration with Multiple Routers (ADTRAN) 363

Frame Relay with ISDN Backup 368

Homestretch

Part 4 Command Review 371

Whole Enchilada/Crazy Insano Lab #1 (WECIL) 373

9

Part 3:

LAN Routing Fundamentals

They said “I was crazy!”

How do you like the idea of free and low-cost textbooks? Well here is how

you can help me in the effort to bring more of these types of books to you.

They say there is safety in numbers, well I can promote this type of textbook

production way better if I hear from you personally. Send me an email at

[email protected] just to tell me you are using the book, you like the

idea of cheaper high-quality books, or to just say “hello.” Together we will

change education for the better!

10

Basic Router Commands

Objective:

To become familiar with basic router commands including how to get help.

Background:

In this lab we take you into the mysterious world of the router. You kind of messed

around with it before with the Hyperterminal lab, but eventually you new you would be

learning by doing. In this lab you will become familiar with the help commands, the

types of prompts you will use, and some basic router commands.

Lab Design:

Step-by-Step Instructions:

1. In the lab design above fill in the types of cables used (xo, ro, st) and into which

port they will be inserted.

2. Cable the lab as shown.

3. Open the hyperterminal session on the workstation.

4. Turn the power on to the router and watch the text as the router boots. In a couple

of labs you will learn the sequencing and purpose for all of that information.

Finally the router will prompt you with the message:

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog?

[yes/no]: n

5. If you put in “yes” then you will be able to set up your router using “menu-based”

commands. But you didn’t come here to learn how to do anything menu-based.

The menu-based commands are severely limited so you need to learn about

command line interfaced (CLI) configuration anyways so you might as well dive

right in! Put in either “no” or “n” (without the quote marks) and press enter. Also

put in “yes” for terminating autoinstall. You should see something similar to:

Would you like to terminate autoinstall? [yes/no] y

Press RETURN to get started!