4391cFM.
fm Page vii Sunday, December 12, 2004 5:56 PM
Contents at a Glance
Introduction
xix
xxxiii
Internetworking
Chapter 2
Internet Protocols
Chapter 3
IP Subnetting and Variable Length Subnet Masks (VLSMs)
Chapter 4
Introduction to the Cisco IOS
Chapter 5
IP Routing
Chapter 6
Enhanced IGRP (EIGRP) and Open Shortest Path First (OSPF)
289
Chapter 7
Layer 2 Switching
343
Chapter 8
Virtual LANs (VLANs)
Chapter 9
Managing a Cisco Internetwork
431
Chapter 10
Managing Traffic with Access Lists
483
Chapter 11
Wide Area Networking Protocols
519
Appendix A
Commands in This Study Guide
589
CO
PY
R
Index
MA
TE
HT
IG
Glossary
RI
AL
Chapter 1
ED
Assessment Test
59
105
159
221
383
601
661
4391cFM.fm Page ix Sunday, December 12, 2004 5:56 PM
Contents
Introduction
xix
Assessment Test
Chapter
xxxiii
Internetworking
Internetworking Basics
Internetworking Models
The Layered Approach
Advantages of Reference Models
The OSI Reference Model
The Application Layer
The Presentation Layer
The Session Layer
The Transport Layer
The Network Layer
The Data Link Layer
The Physical Layer
Ethernet Networking
Half- and Full-Duplex Ethernet
Ethernet at the Data Link Layer
Ethernet at the Physical Layer
Ethernet Cabling
Straight-Through Cable
Crossover Cable
Rolled Cable
Wireless Networking
Data Encapsulation
The Cisco Three-Layer Hierarchical Model
The Core Layer
The Distribution Layer
The Access Layer
Summary
Exam Essentials
Written Lab 1
Written Lab 1.1: OSI Questions
Written Lab 1.2: Defining the OSI Layers and Devices
Written Lab 1.3: Identifying Collision and
Broadcast Domains
Review Questions
Answers to Review Questions
Answers to Written Lab 1.1
1
2
7
7
8
8
10
11
12
13
17
20
23
24
25
26
31
33
33
34
35
36
38
42
44
44
45
45
46
47
47
48
49
50
54
56
4391cFM.fm Page x Sunday, December 12, 2004 5:56 PM
Contents
Chapter
Answer to Written Lab 1.2
Answers to Written Lab 1.3
57
57
Internet Protocols
59
TCP/IP and the DoD Model
The Process/Application Layer Protocols
The Host-to-Host Layer Protocols
The Internet Layer Protocols
Binary to Decimal and Hexadecimal Conversion
IP Addressing
IP Terminology
The Hierarchical IP Addressing Scheme
Private IP Addresses
Broadcast Addresses
Introduction to Network Address Translation (NAT)
Summary
Exam Essentials
Written Lab 2
Review Questions
Answers to Review Questions
Answers to Written Lab 2
Chapter
IP Subnetting and Variable Length
Subnet Masks (VLSMs)
Subnetting Basics
IP Subnet-Zero
How to Create Subnets
Subnet Masks
Classless Inter-Domain Routing (CIDR)
Subnetting Class C Addresses
The Binary Method: Subnetting a Class C Address
The Fast Way: Subnetting a Class C Address
Subnetting Class B Addresses
Subnetting Class A Addresses
Variable Length Subnet Masks (VLSMs)
VLSM Design
Implementing VLSM Networks
Summarization
Troubleshooting IP Addressing
Determining IP Address Problems
Summary
Exam Essentials
Written Lab 3
60
62
66
75
83
86
87
87
92
94
95
96
96
97
98
102
104
105
106
107
108
109
110
112
112
114
122
128
130
132
134
141
142
143
148
148
149
4391cFM.fm Page xi Sunday, December 12, 2004 5:56 PM
Contents
Review Questions
Answers to Review Questions
Answers to Written Lab 3
Chapter
Introduction to the Cisco IOS
The Cisco Router User Interface
Cisco Router IOS
Connecting to a Cisco Router
Bringing Up a Router
Setup Mode
Command-Line Interface
Logging into the Router
Overview of Router Modes
CLI Prompts
Editing and Help Features
Gathering Basic Routing Information
Router and Switch Administrative Functions
Hostnames
Banners
Setting Passwords
Encrypting Your Passwords
Descriptions
Router Interfaces
Bringing Up an Interface
Configuring an IP Address on an Interface
Serial Interface Commands
Viewing, Saving, and Erasing Configurations
Verifying Your Configuration
Summary
Exam Essentials
Written Lab 4
Hands-on Labs
Hands-on Lab 4.1: Logging into a Router
Hands-on Lab 4.2: Using the Help and Editing Features
Hands-on Lab 4.3: Saving a Router Configuration
Hands-on Lab 4.4: Setting Your Passwords
Hands-on Lab 4.5: Setting the Hostname, Descriptions,
IP Address, and Clock Rate
Review Questions
Answers to Review Questions
Answers to Written Lab 4
xi
150
155
157
159
160
161
161
162
164
168
169
170
171
173
178
179
179
180
181
186
188
189
190
191
192
194
196
202
203
204
206
206
207
208
208
210
213
218
220
4391cFM.fm Page xii Sunday, December 12, 2004 5:56 PM
xii
Contents
Chapter
IP Routing
Routing Basics
The IP Routing Process
Testing Your IP Routing Understanding
IP Routing in a Larger Network
Configuring IP Routing in Our Network
Static Routing
Default Routing
Dynamic Routing
Routing Protocol Basics
Administrative Distances
Routing Protocols
Distance-Vector Routing Protocols
Routing Loops
Maximum Hop Count
Split Horizon
Route Poisoning
Holddowns
Routing Information Protocol (RIP)
RIP Timers
Configuring RIP Routing
Verifying the RIP Routing Tables
Holding Down RIP Propagations
RIP Version 2 (RIPv2)
Interior Gateway Routing Protocol (IGRP)
IGRP Timers
Configuring IGRP Routing
Verifying the IGRP Routing Tables
Troubleshooting IGRP
Using Both RIP and IGRP
Verifying Your Configurations
The show protocols Command
The show ip protocols Command
The debug ip rip Command
The debug ip igrp Command
Summary
Exam Essentials
Written Lab 5
Hands-on Labs
Hands-on Lab 5.1: Creating Static Routes
Hands-on Lab 5.2: Dynamic Routing with RIP
Hands-on Lab 5.3: Dynamic Routing with IGRP
Review Questions
221
222
224
228
230
236
236
241
245
245
245
246
247
249
250
250
250
251
251
252
252
255
256
257
259
259
260
262
264
264
265
266
266
269
271
273
273
274
275
276
277
278
280
4391cFM.fm Page xiii Sunday, December 12, 2004 5:56 PM
Contents
Answers to Review Questions
Answers to Written Lab 5
Chapter
Enhanced IGRP (EIGRP) and Open Shortest
Path First (OSPF)
EIGRP Features and Operation
Protocol-Dependent Modules
Neighbor Discovery
Reliable Transport Protocol (RTP)
Diffusing Update Algorithm (DUAL)
Using EIGRP to Support Large Networks
Multiple ASes
VLSM Support and Summarization
Route Discovery and Maintenance
Configuring EIGRP
Lab_A
Lab_B
Lab_C
Configuring Discontiguous Networks
Verifying EIGRP
Open Shortest Path First (OSPF) Basics
OSPF Terminology
SPF Tree Calculation
Configuring OSPF
Enabling OSPF
Configuring OSPF Areas
Verifying OSPF Configuration
The show ip ospf Command
The show ip ospf database Command
The show ip ospf interface Command
The show ip ospf neighbor Command
The show ip protocols Command
OSPF and Loopback Interfaces
Configuring Loopback Interfaces
Verifying Loopbacks and RIDs
Troubleshooting OSPF
Configuring EIGRP and OSPF Summary Routes
Summary
Exam Essentials
Written Lab 6
Hands-on Labs
Hands-on Lab 6.1: Configuring and Verifying EIGRP
Hands-on Lab 6.2: Enabling the OSPF Process
xiii
286
288
289
290
291
291
293
293
294
294
295
296
298
300
301
301
302
303
305
308
310
311
311
312
314
315
316
317
318
318
319
319
321
322
325
327
328
329
330
331
332
4391cFM.fm Page xiv Sunday, December 12, 2004 5:56 PM
xiv
Contents
Hands-on Lab 6.3: Configuring OSPF Neighbors
Hands-on Lab 6.4: Verifying OSPF Operation
Review Questions
Answers to Review Questions
Answers to Written Lab 6
Chapter
Layer 2 Switching
Before Layer 2 Switching
Switching Services
Limitations of Layer 2 Switching
Bridging vs. LAN Switching
Three Switch Functions at Layer 2
Spanning Tree Protocol (STP)
Spanning Tree Terms
Spanning Tree Operations
Spanning Tree Example
LAN Switch Types
Cut-Through (Real Time)
FragmentFree (Modified Cut-Through)
Store-and-Forward
Configuring the Catalyst 1900 and 2950 Switches
1900 and 2950 Switch Startup
Setting the Passwords
Setting the Hostname
Setting IP Information
Configuring Interface Descriptions
Setting Port Security on a Catalyst Switch
Erasing the Switch Configuration
Summary
Exam Essentials
Written Lab 7
Hands-on Labs
Hands-on Lab 7.1: Switch Basic
Administrative Configurations
Hands-on Lab 7.2: Verifying the Switch Configurations
Review Questions
Answers to Review Questions
Answers to Written Lab 7
Chapter
Virtual LANs (VLANs)
VLAN Basics
Broadcast Control
Security
Flexibility and Scalability
333
334
335
340
342
343
344
347
348
349
349
353
354
355
358
360
361
361
362
362
363
364
366
367
368
369
369
370
370
371
372
372
375
376
380
382
383
384
386
386
387
4391cFM.fm Page xv Sunday, December 12, 2004 5:56 PM
Contents
VLAN Memberships
Static VLANs
Dynamic VLANs
Identifying VLANs
Frame Tagging
VLAN Identification Methods
Inter-Switch Link (ISL) Protocol
VLAN Trunking Protocol (VTP)
VTP Modes of Operation
VTP Pruning
Routing between VLANs
Configuring VLANs
Assigning Switch Ports to VLANs
Configuring Trunk Ports
Configuring Inter-VLAN Routing
Configuring VTP
Troubleshooting VTP
Configuring Switching in Our Sample Internetwork
Summary
Exam Essentials
Written Lab 8
Review Questions
Answers to Review Questions
Answers to Written Lab 8
Chapter
Managing a Cisco Internetwork
The Internal Components of a Cisco Router
The Router Boot Sequence
Managing Configuration Registers
Understanding the Configuration Register Bits
Checking the Current Configuration Register Value
Changing the Configuration Register
Recovering Passwords
Backing Up and Restoring the Cisco IOS
Verifying Flash Memory
Backing Up the Cisco IOS
Restoring or Upgrading the Cisco Router IOS
Backing Up and Restoring the Cisco Configuration
Backing Up the Cisco Router Configuration
Restoring the Cisco Router Configuration
Erasing the Configuration
Using Cisco Discovery Protocol (CDP)
Getting CDP Timers and Holdtime Information
Gathering Neighbor Information
xv
389
390
390
390
392
392
393
393
394
396
396
397
399
401
403
409
411
413
420
420
421
422
428
430
431
432
433
434
434
436
436
437
440
441
442
443
446
446
448
449
449
450
450
4391cFM.fm Page xvi Sunday, December 12, 2004 5:56 PM
xvi
Contents
Gathering Interface Traffic Information
Gathering Port and Interface Information
Using Telnet
Telnetting into Multiple Devices Simultaneously
Checking Telnet Connections
Checking Telnet Users
Closing Telnet Sessions
Resolving Hostnames
Building a Host Table
Using DNS to Resolve Names
Checking Network Connectivity
Using the ping Command
Using the traceroute Command
Summary
Exam Essentials
Written Lab 9
Hands-on Labs
Hands-on Lab 9.1: Backing Up Your Router IOS
Hands-on Lab 9.2: Upgrading or Restoring Your
Router IOS
Hands-on Lab 9.3: Backing Up the
Router Configuration
Hands-on Lab 9.4: Using the Cisco Discovery
Protocol (CDP)
Hands-on Lab 9.5: Using Telnet
Hands-on Lab 9.6: Resolving Hostnames
Review Questions
Answers to Review Questions
Answers to Written Lab 9
Chapter
10
Managing Traffic with Access Lists
Introduction to Access Lists
Standard Access Lists
Wildcard Masking
Standard Access List Example
Controlling VTY (Telnet) Access
Extended Access Lists
Extended Access List Example 1
Extended Access List Example 2
Named Access Lists
Monitoring Access Lists
Summary
Exam Essentials
453
453
455
457
459
459
459
461
461
463
466
466
467
467
468
469
470
470
470
471
471
472
473
475
479
481
483
484
487
488
490
493
494
498
499
500
502
504
504
4391cFM.fm Page xvii Sunday, December 12, 2004 5:56 PM
Contents
Written Lab 10
Hands-on Labs
Hands-on Lab 10.1: Standard IP Access Lists
Hands-on Lab 10.2: Extended IP Access Lists
Review Questions
Answers to Review Questions
Answers to Written Lab 10
Chapter
11
Wide Area Networking Protocols
Introduction to Wide Area Networks
Defining WAN Terms
WAN Connection Types
WAN Support
Cabling the Wide Area Network
Serial Transmission
Data Terminal Equipment and Data Communication
Equipment
Fixed and Modular Interfaces
High-Level Data-Link Control (HDLC) Protocol
Point-to-Point Protocol (PPP)
Link Control Protocol (LCP) Configuration Options
PPP Session Establishment
PPP Authentication Methods
Configuring PPP on Cisco Routers
Configuring PPP Authentication
Verifying PPP Encapsulation
Frame Relay
Introduction to Frame Relay Technology
Frame Relay Implementation and Monitoring
Integrated Services Digital Network (ISDN)
ISDN Connections
ISDN Components
Basic Rate Interface (BRI)
Primary Rate Interface (PRI)
ISDN with Cisco Routers
Dial-on-Demand Routing (DDR)
Configuring DDR
Optional Commands
DDR with Access Lists
Verifying the ISDN Operation
Summary
Exam Essentials
Written Lab 11
Hands-on Labs
xvii
505
506
506
507
510
515
517
519
520
520
521
522
524
525
525
526
527
528
529
529
530
531
531
532
536
537
547
554
555
556
559
560
560
561
562
566
566
567
568
568
569
571
4391cFM.fm Page xviii Sunday, December 12, 2004 5:56 PM
xviii
Contents
Hands-on Lab 11.1: Configuring PPP Encapsulation
and Authentication
Hands-on Lab 11.2: Configuring and Monitoring HDLC
Hands-on Lab 11.3: Configuring Frame Relay
and Subinterfaces
Hands-on Lab 11.4: Configuring ISDN and
BRI Interfaces
Review Questions
Answers to Review Questions
Answers to Written Lab 11
Appendix A
Glossary
Index
Commands in This Study Guide
571
572
573
575
578
585
587
589
601
661