Cover image for CCNA command quick reference
Title:
CCNA command quick reference
Personal Author:
Series:
Cisco networking academy program series
Publication Information:
Indianapolis, IN : Cisco Press, 2005
ISBN:
9781587131592

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010116297 TK5105.5 E46 2005 Open Access Book Book
Searching...

On Order

Summary

Summary

Helps increase your familiarity with Cisco IOS Software when working on routers and switches or in simulated networks. This work summarizes commands with keywords, command arguments, and associated prompts. It includes many configuration examples, visually diagramming a network with related configuration and output.


Author Notes

Scott Empson, CCDA, CCNP, CCAI, Network+, is an instructor in the telecommunications department at the Northern Alberta Institute of Technology in Edmonton, Alberta, Canada. He teaches Cisco routing, switching, and network design courses to students at the post-secondary level. Scott holds three undergraduate degrees: a bachelor of arts, with a major in English; a bachelor of education, with a major in English/language arts; and a bachelor of applied information systems technology, with a major in network management. After this project he plans to return to school to complete his master's degree.


Table of Contents

Introductionp. xviii
Part I CCNA 1p. 1
Part II CCNA 2p. 3
Chapter 1 WANs and Routersp. 5
Connecting a Rollover Cable to Your Router or Switchp. 5
Terminal Settingsp. 5
LAN Connectionsp. 6
Serial Cable Typesp. 7
Which Cable to Use?p. 8
OS IP Verification Commandsp. 10
Chapter 2 Introduction to Routersp. 11
Shortcuts for Entering Commandsp. 11
Using the [characters not reproducible] Key to Complete Commandsp. 11
Using the Question Mark for Helpp. 11
enable Commandp. 12
exit Commandp. 12
disable Commandp. 13
logout Commandp. 13
Setup Modep. 13
Keyboard Helpp. 13
History Commandsp. 14
show Commandsp. 15
Chapter 3 Configuring a Routerp. 17
Router Modesp. 17
Global Configuration Modep. 18
Configuring a Router Namep. 18
Configuring Passwordsp. 18
Password Encryptionp. 19
show Commandsp. 19
Interface Namesp. 20
Moving Between Interfacesp. 21
Configuring a Serial Interfacep. 21
Configuring an Ethernet/Fast Ethernet Interfacep. 21
Creating a MOTD Bannerp. 22
Setting the Clock Time Zonep. 22
Assigning a Local Host Name to an IP Addressp. 22
no ip domain-lookup Commandp. 23
logging synchronous Commandp. 23
exec-timeout Commandp. 23
Saving Configurationsp. 24
Erasing Configurationsp. 24
Configuration Example: Basic Router Configurationp. 24
Chapter 4 Learning About Other Devicesp. 27
Cisco Discovery Protocolp. 27
Telnetp. 28
pingp. 30
traceroutep. 32
Chapter 5 Managing Cisco IOS Softwarep. 33
Boot System Commandsp. 33
Configuration Registerp. 33
Cisco IOS Software Prerelease 12.0 Commands Versus Cisco IOS Software 12.x Commandsp. 34
Backing Up Configurationsp. 34
Restoring Configurationsp. 35
Backing Up IOS to a TFTP Serverp. 35
Restoring/Upgrading IOS from a TFTP Serverp. 36
Restoring IOS from ROMmon Mode Using Xmodemp. 37
Restoring the IOS Using the ROMmon Environmental Variables and tftpdnld Commandp. 40
Password Recovery Proceduresp. 41
Chapter 6 Routing and Routing Protocolsp. 43
Static Routingp. 43
Default Routingp. 44
Verifying Static Routesp. 44
Configuration Example: Static Routesp. 44
Chapter 7 Distance Vector Routing Protocolsp. 47
IP Classlessp. 47
RIP Routing: Mandatory Commandsp. 47
RIP Routing: Optional Commandsp. 48
RIP Version 2p. 49
Troubleshooting RIP Issuesp. 49
IGRP Routing: Mandatory Commandsp. 49
IGRP Routing: Optional Commandsp. 50
Troubleshooting IGRP Issuesp. 50
Dynamic Routing Protocol Optionsp. 51
Troubleshooting Dynamic Routing Protocol Issuesp. 51
Verifying Routingp. 51
Configuration Example: Dynamic Routingp. 52
Chapter 8 TCP/IP Suite Error and Control Messagesp. 55
ICMP Redirect Messagesp. 55
ping Commandp. 55
Chapter 9 Basic Router Troubleshootingp. 57
Viewing the Routing Tablep. 57
Determining the Gateway of Last Resortp. 58
Determining the Last Routing Updatep. 58
OSI Layer 3 Testingp. 58
OSI Layer 7 Testingp. 59
Using CDP to Troubleshootp. 59
traceroute Commandp. 60
show controllers Commandp. 60
debug Commandsp. 60
Chapter 10 Intermediate TCP/IPp. 61
ip http server Commandp. 61
netstat Commandp. 61
Chapter 11 Access Control Lists (ACLs)p. 63
Access List Numbersp. 63
Wildcard Masksp. 63
ACL Keywordsp. 64
Creating Standard ACLsp. 64
Applying a Standard ACL to an Interfacep. 66
Verifying ACLsp. 66
Removing An ACLp. 66
Creating Extended ACLsp. 67
Applying an Extended ACL to an Interfacep. 68
Creating Named ACLsp. 68
Restricting Virtual Terminal Accessp. 69
Configuration Example: Access Control Listsp. 70
Configuration Example: CCNA 2p. 72
Part III CCNA 3p. 81
Chapter 1 Introduction to Classless Routingp. 83
Variable-Length Subnet Masking (VLSM)p. 83
Subnet Zerop. 83
RIP Version 2: Mandatory Commandsp. 83
RIP Version 2: Optional Commandsp. 84
Configuration Example: RIP-2 Routingp. 84
Chapter 2 Single-Area OSPFp. 87
OSPF Routing: Mandatory Commandsp. 87
Using Wildcard Masks with OSPF Areasp. 88
OSPF Routing: Optional Commandsp. 88
Loopback Interfacesp. 88
OSPF DR/BDR Electionp. 88
Modifying OSPF Cost Metricsp. 89
OSPF Authentication: Simplep. 89
OSPF Authentication Using MD5 Encryptionp. 89
OSPF Timersp. 90
Propagating a Default Routep. 90
Verifying OSPF Configurationp. 90
Troubleshooting OSPFp. 91
Configuration Example: Single-Area OSPFp. 92
Chapter 3 EIGRPp. 97
Configuring EIGRPp. 97
EIGRP Auto Summarizationp. 98
Verifying EIGRPp. 98
Troubleshooting EIGRPp. 99
Configuration Example: EIGRPp. 99
Chapter 4 Switching Conceptsp. 103
Chapter 5 Switchesp. 105
Chapter 6 Switch Configurationp. 107
Help Commandsp. 107
Command Modesp. 107
Verifying Commandsp. 108
Resetting Switch Configurationp. 108
Setting Host Namesp. 109
Setting Passwords: 1900 Series Switchesp. 109
Setting Passwords: 2900/2950 Series Switchesp. 110
Setting IP Address and Default Gatewayp. 110
Setting Interface Descriptionsp. 111
Setting Duplex Settings: 1900 or 2900/2950 Series Switchesp. 112
Setting Speed Settings: 2900/2950 Series Switchesp. 112
Setting Web-Based Interface for Configuration: 1900 and 2900/2950 Series Switchesp. 112
Managing the MAC Address Table: 1900 and 2900/2950 Series Switchesp. 113
Configuring Static MAC Addressesp. 113
Port Security: 1900 Series Switchesp. 113
Verifying Port Securityp. 114
Upgrading Catalyst 1900 Firmware with a TFTP Serverp. 115
Copying IOS to TFTP Serverp. 115
Restoring/Upgrading IOS/Startup-Config from TFTP Serverp. 116
Password Recovery for 1900 Series Switchesp. 116
Password Recovery for 2900/2950 Series Switchesp. 118
Firmware Upgrade of Catalyst 2950 Series Switchesp. 119
Configuration Example: 2900 Series Switchp. 120
Chapter 7 Spanning Tree Protocolp. 123
Spanning-Tree Verificationp. 123
Change Spanning-Tree Priority of a Switchp. 123
Changing the Stage of Spanning Tree on an Interfacep. 124
Chapter 8 Virtual LANsp. 125
Displaying VLAN Informationp. 125
Creating Static VLANsp. 126
Assigning Ports to VLANsp. 127
Assigning Ports Using the range Command (2950 Switch Only)p. 128
Saving VLAN Configurationsp. 128
Erasing VLAN Configurationsp. 129
Troubleshooting VLANsp. 130
Configuration Example: 2900 Switch Configurationp. 131
Chapter 9 VLAN Trunking Protocolp. 135
Configuring ISL Trunksp. 135
Configuring Dot1Q Trunksp. 136
Verifying Trunkingp. 136
VTP Configurationp. 137
Confirming VTP Configurationp. 138
Inter-VLAN Communication: Router-on-a-Stickp. 139
Router-on-a-Stick Tipsp. 139
Configuration Example: VTP and Inter-VLAN Routingp. 140
Part IV CCNA 4p. 153
Chapter 1 Scaling IP Technologiesp. 155
Configuring Dynamic NAT: One Private to One Public Address Translationp. 155
Configuring PAT: Many Private to One Public Address Translationp. 157
Configuring Static NAT: One Private to One Permanent Public Address Translationp. 159
Verifying NAT and PAT Configurationp. 160
Troubleshooting NAT and PAT Configurationp. 160
Configuring DHCPp. 160
Verifying and Troubleshooting DHCP Configurationp. 161
Configuring a DHCP Helper Addressp. 161
Configuration Example: Port Address Translationp. 162
Chapter 2 WAN Technologiesp. 165
Chapter 3 PPPp. 167
Configuring HDLC Encapsulation on a Serial Linep. 167
Configuring PPP on a Serial Line (Mandatory Commands)p. 167
Configuring PPP on a Serial Line (Optional Commands): Compressionp. 168
Configuring PPP on a Serial Line (Optional Commands): Link Qualityp. 168
Configuring PPP on a Serial Line (Optional Commands): Multilinkp. 168
Configuring PPP on a Serial Line (Optional Commands): Authenticationp. 168
Verifying or Troubleshooting a Serial Link/PPP Encapsulationp. 170
Configuration Example: PPPp. 170
Chapter 4 ISDN and DDRp. 173
Configuring ISDN BRI: Setting the Switch Typep. 173
Configuring ISDN BRI: Setting SPIDsp. 174
Configuring ISDN PRIp. 174
Verifying ISDN Configurationp. 175
Troubleshooting ISDNp. 175
Configuring Legacy DDRp. 176
Configuring Dialer Profiles with DDRp. 177
Configuration Example: ISDN and DDR with No Dialer Profilesp. 180
Chapter 5 Frame Relayp. 185
Configuring Frame Relay: Setting the Frame Relay Encapsulation Typep. 185
Configuring Frame Relay: Setting the Frame Relay Encapsulation LMI Typep. 186
Configuring Frame Relay: Setting the Frame Relay DLCI Numberp. 186
Configuring a Frame Relay Mapp. 186
Configuring a Description of the Interface (Optional)p. 187
Configuring Frame Relay Using Subinterfacesp. 187
Verifying Frame Relayp. 188
Troubleshooting Frame Relayp. 188
Configuration Example: Frame Relayp. 189
Chapter 6 Introduction to Network Administrationp. 195
Configuring SNMPp. 195
Configuring Syslogp. 195
Part V Appendixesp. 197
Appendix A Subnettingp. 199
Class A-E Addressesp. 199
Converting Between Decimal Numbers and Binaryp. 200
Subnetting a Class C Network Using Binaryp. 200
Subnetting a Class B Network Using Binaryp. 204
The Enhanced Bob Maneuver for Subnetting (or How to Subnet Anything in Under a Minute)p. 208
Appendix B VLSMp. 211
IP Subnet Zerop. 211
VLSM Examplep. 212
Step 1 Determine How Many H Bits Will Be Needed to Satisfy the Largest Networkp. 213
Step 2 Pick a Subnet for the Largest Network to Usep. 213
Step 3 Pick the Next Largest Network to Work Withp. 214
Step 4 Pick the Third Largest Network to Work Withp. 215
Step 5 Determine Network Numbers for Serial Linksp. 217