Home > Store

CCNA Portable Command Guide, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

CCNA Portable Command Guide, 2nd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2008
  • Edition: 2nd
  • Book
  • ISBN-10: 1-58720-193-3
  • ISBN-13: 978-1-58720-193-6

CCNA Portable Command Guide

Second Edition

All the CCNA 640-802 commands in one compact, portable resource

Preparing for the CCNA® exam? Here are all the CCNA-level commands you need in one condensed, portable resource. The CCNA Portable Command Guide, Second Edition, is filled with valuable, easy-to-access information and is portable enough for use whether you’re in the server room or the equipment closet.

This book has been completely updated to cover topics in the ICND1 640-822, ICND2 640-816, and CCNA 640-802 exams. Use this quick reference resource to help you memorize commands and concepts as you work to pass the CCNA exam. The guide summarizes all CCNA certification-level Cisco IOS® Software commands, keywords, command arguments, and associated prompts, providing you with tips and examples of how to apply the commands to real-world scenarios. Configuration examples throughout the book provide you with a better understanding of how these commands are used in simple network designs.

The ten topics covered are

  • TCP/IP
  • An Introduction to Cisco Devices
  • Configuring a Router
  • Routing
  • Switching
  • Implementing a Wireless LAN
  • Network Administration and Troubleshooting
  • Managing IP Services
  • WANs
  • Network Security

Scott Empson is currently the associate chair of the bachelor of applied information systems technology degree program at the Northern Alberta Institute of Technology in Edmonton, Alberta, Canada, teaching Cisco® routing, switching, and network design courses in certificate, diploma, and applied degree programs at the post-secondary level. He is also the program coordinator of the Cisco Networking Academy® Program at NAIT, a Regional Academy covering central and northern Alberta. He has earned three undergraduate degrees and currently holds several industry certifications, including CCNP®, CCDA®, CCAI, and Network+®.

  • Access all CCNA commands–use as a quick, offline resource for research and solutions
  • Logical how-to topic groupings provide one-stop research
  • Great for review before CCNA certification exams
  • Compact size makes it easy to carry with you, wherever you go
  • “Create Your Own Journal” section with blank, lined pages allows you to personalize the book for your needs
  • “What Do You Want to Do?” chart inside back cover helps you to quickly reference specific tasks

This book is part of the Cisco Press® Certification Self-Study Product Family, which offers readers a self-paced study routine for Cisco® certification exams. Titles in the Cisco Press Certification Self-Study Product Family are part of a recommended learning program from Cisco that includes simulation and hands-on training from authorized Cisco Learning Partners and self-study products from Cisco Press.

Category: Cisco Press–Cisco Certification

Covers: CCNA Exam (640-822 ICND1, 640-816 ICND2, and 640-802 CCNA)

Sample Content

Online Sample Chapter

CCNA Portable Command Guide: IPv6

Downloadable Sample Chapter

Chapter 25: IPv6

Sample Pages

Download the sample pages (includes Chapter 25 and Index)

Table of Contents

Contents

Introduction xxi

Part I TCP/IP Version 4 1

Chapter 1 How to Subnet 3

Class A—E Addresses 3

Converting Between Decimal Numbers and Binary 4

Subnetting a Class C Network Using Binary 4

Subnetting a Class B Network Using Binary 8

Binary ANDing 12

    So Why AND? 14

    Shortcuts in Binary ANDing 15

The Enhanced Bob Maneuver for Subnetting 16

Chapter 2 VLSM 21

IP Subnet Zero 21

VLSM Example 22

    Step 1 Determine How Many H Bits Will Be Needed to

                Satisfy the Largest Network 22

    Step 2 Pick a Subnet for the Largest Network to Use 23

    Step 3 Pick the Next Largest Network to Work With 24

    Step 4 Pick the Third Largest Network to Work With 26

    Step 5 Determine Network Numbers for Serial Links 27

Chapter 3 Route Summarization 29

Example for Understanding Route Summarization 29

    Step 1: Summarize Winnipeg’s Routes 30

    Step 2: Summarize Calgary’s Routes 31

    Step 3: Summarize Edmonton’s Routes 31

    Step 4: Summarize Vancouver’s Routes 32

Route Summarization and Route Flapping 34

Requirements for Route Summarization 34

Part II Introduction to Cisco Devices 35

Chapter 4 Cables and Connections 37

Connecting a Rollover Cable to Your Router or Switch 37

Terminal Settings 37

LAN Connections 38

Serial Cable Types 39

Which Cable to Use? 41

568A Versus 568B Cables 42

Chapter 5 The Command-Line Interface 45

Shortcuts for Entering Commands 45

Using the Tab Key to Complete Commands 45

Using the Question Mark for Help 46

enable Command 46

exit Command 47

disable Command 47

logout Command 47

Setup Mode 47

Keyboard Help 48

History Commands 49

show Commands 49

Part III Configuring a Router 51

Chapter 6 Configuring a Single Cisco Router 53

Router Modes 53

Entering Global Configuration Mode 54

Configuring a Router Name 54

Configuring Passwords 54

Password Encryption 55

Interface Names 56

Moving Between Interfaces 58

Configuring a Serial Interface 59

Configuring a Fast Ethernet Interface 59

Creating a Message-of-the-Day Banner 60

Creating a Login Banner 60

Setting the Clock Time Zone 60

Assigning a Local Host Name to an IP Address 61

The no ip domain-lookup Command 61

The logging synchronous Command 61

The exec-timeout Command 62

Saving Configurations 62

Erasing Configurations 62

show Commands 63

EXEC Commands in Configuration Mode: The do Command 64

Configuration Example: Basic Router Configuration 64

Part IV Routing 67

Chapter 7 Static Routing 69

Configuring a Static Route on a Router 69

The permanent Keyword (Optional) 70

Static Routes and Administrative Distance (Optional) 70

Configuring a Default Route on a Router 71

Verifying Static Routes 72

Configuration Example: Static Routes 72

Chapter 8 RIP 75

The ip classless Command 75

RIP Routing: Mandatory Commands 75

RIP Routing: Optional Commands 76

Troubleshooting RIP Issues 77

Configuration Example: RIPv2 Routing 78

Chapter 9 EIGRP 81

Configuring Enhanced Interior Gateway Routing Protocol (EIGRP) 81

EIGRP Auto-Summarization 82

Load Balancing: variance 83

Bandwidth Use 84

Authentication 84

Verifying EIGRP 86

Troubleshooting EIGRP 86

Configuration Example: EIGRP 87

Chapter 10 Single Area OSPF 91

Configuring OSPF: Mandatory Commands 91

Using Wildcard Masks with OSPF Areas 92

Configuring OSPF: Optional Commands 93

    Loopback Interfaces 93

    Router ID 94

    DR/BDR Elections 94

    Modifying Cost Metrics 95

    Authentication: Simple 95

    Authentication: Using MD5 Encryption 96

    Timers 96

    Propagating a Default Route 96

Verifying OSPF Configuration 97

Troubleshooting OSPF 98

Configuration Example: Single Area OSPF 98

Part V Switching 103

Chapter 11Configuring a Switch 105

Help Commands 105

Command Modes 105

Verifying Commands 106

Resetting Switch Configuration 107

Setting Host Names 107

Setting Passwords 107

Setting IP Addresses and Default Gateways 108

Setting Interface Descriptions 108

Setting Duplex Operation 109

Setting Operation Speed 109

Managing the MAC Address Table 109

Configuring Static MAC Addresses 109

Switch Port Security 110

Verifying Switch Port Security 111

Sticky MAC Addresses 112

Configuration Example 113

Chapter 12 VLANs 117

Creating Static VLANs 117

    Using VLAN Configuration Mode 117

    Using VLAN Database Mode 118

Assigning Ports to VLANs 118

Using the range Command 119

Verifying VLAN Information 119

Saving VLAN Configurations 119

Erasing VLAN Configurations 120

Configuration Example: VLANs 121

Chapter 13 VLAN Trunking Protocol and Inter-VLAN Routing 125

Dynamic Trunking Protocol (DTP) 125

Setting the Encapsulation Type 126

VLAN Trunking Protocol (VTP) 127

    Using Global Configuration Mode 127

    Using VLAN Database Mode 128

Verifying VTP 130

Inter-VLAN Communication Using an External Router: Router-on-a-Stick 130

Inter-VLAN Communication Tips 131

Configuration Example: Inter-VLAN Communication 132

Chapter 14 STP and EtherChannel 139

Spanning Tree Protocol 139

    Enabling Spanning Tree Protocol 139

    Configuring the Root Switch 140

    Configuring a Secondary Root Switch 141

    Configuring Port Priority 141

    Configuring the Path Cost 142

    Configuring the Switch Priority of a VLAN 142

    Configuring STP Timers 143

    Verifying STP 143

    Optional STP Configurations 144

    Changing the Spanning-Tree Mode 145

    Extended System ID 146

    Enabling Rapid Spanning Tree 146

    Troubleshooting Spanning Tree 147

    Configuration Example: STP 147

EtherChannel 150

    Interface Modes in EtherChannel 151

    Guidelines for Configuring EtherChannel 151

    Configuring Layer 2 EtherChannel 152

    Verifying EtherChannel 152

    Configuration Example: EtherChannel 153

Part VI Extending the LAN 159

Chapter 15 Implementing a Wireless LAN 161

Wireless Access Point Configuration: Linksys 300N Access Point 161

Wireless Client Configuration: Linksys Wireless-N Notebook Adapter 174

Part VII Network Administration and Troubleshooting 183

Chapter 16 Backing Up and Restoring Cisco IOS Software and

Configurations 185

Boot System Commands 185

The Cisco IOS File System 186

Backing Up Configurations to a TFTP Server 186

Restoring Configurations from a TFTP Server 187

Backing Up the Cisco IOS Software to a TFTP Server 188

Restoring/Upgrading the Cisco IOS Software from a TFTP Server 188

Restoring the Cisco IOS Software from ROM Monitor Mode Using Xmodem 189

Restoring the Cisco IOS Software Using the ROM Monitor

Environmental Variables and tftpdnld Command 192

Chapter 17 Password-Recovery Procedures and the Configuration Register 193

The Configuration Register 193

    A Visual Representation 193

    What the Bits Mean 194

    The Boot Field 194

    Console Terminal Baud Rate Settings 195

    Changing the Console Line Speed: CLI 195

    Changing the Console Line Speed: ROM Monitor

        Mode 195

Password-Recovery Procedures for Cisco Routers 196

Password Recovery for 2960 Series Switches 198

Chapter 18 Cisco Discovery Protocol (CDP) 201

Cisco Discovery Protocol 201

Chapter 19 Telnet and SSH 203

Using Telnet to Remotely Connect to Other Devices 203

Configuring the Secure Shell Protocol (SSH) 205

Chapter 20 The ping and traceroute Commands 207

ICMP Redirect Messages 207

The ping Command 207

Examples of Using the ping and the Extended ping

    Commands 208

The traceroute Command 209

Chapter 21 SNMP and Syslog 211

Configuring SNMP 211

Configuring Syslog 211

Chapter 22 Basic Troubleshooting 213

Viewing the Routing Table 213

Determining the Gateway of Last Resort 214

Determining the Last Routing Update 214

OSI Layer 3 Testing 214

OSI Layer 7 Testing 215

Interpreting the show interface Command 215

Clearing Interface Counters 215

Using CDP to Troubleshoot 216

The traceroute Command 216

The show controllers Command 216

debug Commands 216

Using Time Stamps 217

Operating System IP Verification Commands 217

The ip http server Command 217

The netstat Command 218

Part VIII Managing IP Services 219

Chapter 23 Network Address Translation 221

Private IP Addresses: RFC 1918 221

Configuring Dynamic NAT: One Private to

    One Public Address Translation 221

Configuring PAT: Many Private to One Public Address

    Translation 223

Configuring Static NAT: One Private to One Permanent

    Public Address Translation 226

Verifying NAT and PAT Configurations 227

Troubleshooting NAT and PAT Configurations 227

Configuration Example: PAT 228

Chapter 24 DHCP 231

Configuring DHCP 231

Verifying and Troubleshooting DHCP Configuration 232

Configuring a DHCP Helper Address 232

DHCP Client on a Cisco IOS Software Ethernet Interface 233

Configuration Example: DHCP 233

Chapter 25 IPv6 237

Assigning IPv6 Addresses to Interfaces 237

IPv6 and RIPng 238

Configuration Example: IPv6 RIP 239

IPv6 Tunnels: Manual Overlay Tunnel 241

Static Routes in IPv6 244

Floating Static Routes in IPv6 245

Verifying and Troubleshooting IPv6 245

IPv6 Ping 247

Part IX WANs 249

Chapter 26 HDLC and PPP 251

Configuring HDLC Encapsulation on a Serial Line 251

Configuring PPP on a Serial Line (Mandatory Commands) 251

Configuring PPP on a Serial Line (Optional Commands): Compression 252

Configuring PPP on a Serial Line (Optional Commands): Link Quality 252

Configuring PPP on a Serial Line (Optional Commands): Multilink 252

Configuring PPP on a Serial Line (Optional Commands): Authentication 252

Verifying or Troubleshooting a Serial Link/PPP

Encapsulation 253

Configuration Example: PPP 254

Chapter 27 Frame Relay 257

Configuring Frame Relay 257

    Setting the Frame Relay Encapsulation Type 257

    Setting the Frame Relay Encapsulation LMI Type 258

    Setting the Frame Relay DLCI Number 258

    Configuring a Frame Relay map Statement 258

    Configuring a Description of the Interface (Optional) 259

    Configuring Frame Relay Using Subinterfaces 259

Verifying Frame Relay 260

Troubleshooting Frame Relay 260

Configuration Examples: Frame Relay 260

Part X Network Security 267

Chapter 28 IP Access Control List Security 269

Access List Numbers 269

Using Wildcard Masks 270

ACL Keywords 270

Creating Standard ACLs 271

Applying Standard ACLs to an Interface 272

Verifying ACLs 273

Removing ACLs 273

Creating Extended ACLs 273

Applying Extended ACLs to an Interface 275

The established Keyword (Optional) 275

Creating Named ACLs 276

Using Sequence Numbers in Named ACLs 276

Removing Specific Lines in Named ACLs Using Sequence Numbers 277

Sequence Number Tips 278

Including Comments About Entries in ACLs 278

Restricting Virtual Terminal Access 279

Configuration Examples: ACLs 279

 

Chapter 29 Security Device Manager 283

Security Device Manager: Connecting with CLI 283

Security Device Manager: Connecting with GUI 285

SDM Express Wizard with No CLI Preconfiguration 287

Resetting the Router to Factory Defaults Using SDM 297

SDM User Interfaces 298

    Configuring Interfaces Using SDM 298

    Configuring Routing Using SDM 302

SDM Monitor Mode 304

Using SDM to Configure a Router to Act as a DHCP Server 305

Using SDM to Configure an Interface as a DHCP Client 307

Using SDM to Configure NAT/PAT 312

What to Do If You Lose SDM Connectivity Because of an erase startup-config Command 314

Part XI Appendixes 315

Appendix A Binary/Hex/Decimal Conversion Chart 317

Appendix B Create Your Own Journal Here 329

Introduction

Download the Introduction

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020