You are previewing CCNA Routing and Switching Portable Command Guide, Third Edition.
O'Reilly logo
CCNA Routing and Switching Portable Command Guide, Third Edition

Book Description

Here are all the CCNA-level Routing and Switching commands you need in one condensed, portable resource. The CCNA Routing and Switching Portable Command Guide, Third 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.

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.

This book has been completely updated to cover topics in the ICND1 100-101, ICND2 200-101, and CCNA 200-120 exams. Use this quick reference resource to help you memorize commands and concepts as you work to pass the CCNA Routing and Switching certification exam.

The book is organized into these parts:

• Part I TCP/IP v4

• Part II Introduction to Cisco Devices

• Part III Configuring a Router

• Part IV Routing

• Part V Switching

• Part VI Layer 3 Redundancy

• Part VII IPv6

• Part VIII Network Administration and Troubleshooting

• Part IX Managing IP Services

• Part X WANs

• Part XI Network Security

  • Quick, offline access to all CCNA Routing and Switching commands for research and solutions

  • Logical how-to topic groupings for a one-stop resource

  • Great for review before CCNA Routing and Switching 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

  • Table of Contents

    1. About This eBook
    2. Title Page
    3. Copyright Page
    4. About the Author
    5. About the Technical Reviewer
    6. Dedications
    7. Acknowledgments
    8. Contents at a Glance
    9. Table of Contents
    10. Command Syntax Conventions
    11. Introduction
      1. Networking Devices Used in the Preparation of This Book
      2. Private Addressing Used in this Book
      3. Who Should Read This Book
      4. Optional Sections
      5. Organization of This Book
      6. Did I Miss Anything?
    12. Part I: TCP/IP v4
      1. Chapter 1. How to Subnet
        1. Class A–E Addresses
        2. Converting Between Decimal Numbers and Binary
        3. Subnetting a Class C Network Using Binary
        4. Subnetting a Class B Network Using Binary
        5. Binary ANDing
        6. The Enhanced Bob Maneuver for Subnetting (or How to Subnet Anything in Under a Minute)
      2. Chapter 2. VLSM
        1. IP Subnet Zero
        2. VLSM Example
      3. Chapter 3. Route Summarization
        1. Example for Understanding Route Summarization
        2. Route Summarization and Route Flapping
        3. Requirements for Route Summarization
    13. Part II: Introduction to Cisco Devices
      1. Chapter 4. Cables and Connections
        1. Connecting a Rollover Cable to Your Router or Switch
        2. Using a USB Cable to Connect to Your Router or Switch
        3. Terminal Settings
        4. LAN Connections
        5. Serial Cable Types
        6. Which Cable to Use?
        7. 568A Versus 568B Cables
      2. Chapter 5. The Command Line Interface
        1. Shortcuts for Entering Commands
        2. Using the Key to Complete Commands
        3. Console Error Messages
        4. Using the Question Mark for Help
        5. enable Command
        6. exit Command
        7. disable Command
        8. logout Command
        9. Setup Mode
        10. Keyboard Help
        11. History Commands
        12. terminal Commands
        13. show Commands
        14. Using the Pipe Parameter (|) with the show Command
    14. Part III: Configuring a Router
      1. Chapter 6. Configuring a Single Cisco Router
        1. Router Modes
        2. Entering Global Configuration Mode
        3. Configuring a Router Name
        4. Configuring Passwords
        5. Password Encryption
        6. Interface Names
        7. Moving Between Interfaces
        8. Configuring a Serial Interface
        9. Configuring a Fast Ethernet Interface
        10. Configuring a Gigabit Ethernet Interface
        11. Creating a Message-of-the-Day Banner
        12. Creating a Login Banner
        13. Setting the Clock Time Zone
        14. Assigning a Local Host Name to an IP Address
        15. The no ip domain-lookup Command
        16. The logging synchronous Command
        17. The exec-timeout Command
        18. Saving Configurations
        19. Erasing Configurations
        20. show Commands
        21. EXEC Commands in Configuration Mode: The do Command
        22. Configuration Example: Basic Router Configuration
    15. Part IV: Routing
      1. Chapter 7. Static Routing
        1. Configuring a Static Route on a Router
        2. The permanent Keyword (Optional)
        3. Static Routes and Administrative Distance (Optional)
        4. Configuring a Default Route on a Router
        5. Verifying Static Routes
        6. Configuration Example: Static Routes
      2. Chapter 8. EIGRP
        1. Configuring Enhanced Interior Gateway Routing Protocol (EIGRP)
        2. EIGRP Auto-Summarization
        3. EIGRP Manual Summarization
        4. Passive EIGRP Interfaces
        5. Equal-Cost Load Balancing: Maximum Paths
        6. Unequal-Cost Load Balancing: Variance
        7. Bandwidth Use
        8. Authentication
        9. Verifying EIGRP
        10. Troubleshooting EIGRP
        11. Configuration Example: EIGRP
      3. Chapter 9. Single-Area OSPF
        1. Configuring OSPF
        2. Using Wildcard Masks with OSPF Areas
        3. Loopback Interfaces
        4. DR/BDR Elections
        5. Modifying Cost Metrics
        6. OSPF auto-cost reference-bandwidth
        7. Authentication: Simple
        8. Authentication: Using MD5 Encryption
        9. Timers
        10. Propagating a Default Route
        11. Verifying OSPF Configuration
        12. Troubleshooting OSPF
        13. Configuration Example: Single Area OSPF
      4. Chapter 10. Multi-Area OSPF
        1. Configuring Multi-Area OSPF
        2. Passive Interfaces
        3. Configuration Example: Multi-Area OSPF
    16. Part V: Switching
      1. Chapter 11. Configuring a Switch
        1. Help Commands
        2. Command Modes
        3. Verifying Commands
        4. Resetting Switch Configuration
        5. Setting Host Names
        6. Setting Passwords
        7. Setting IP Addresses and Default Gateways
        8. Setting Interface Descriptions
        9. The mdix auto Command
        10. Setting Duplex Operation
        11. Setting Operation Speed
        12. Managing the MAC Address Table
        13. Configuring Static MAC Addresses
        14. Switch Port Security
        15. Verifying Switch Port Security
        16. Sticky MAC Addresses
        17. Configuration Example
      2. Chapter 12. VLANs
        1. Creating Static VLANs
        2. Assigning Ports to VLANs
        3. Using the range Command
        4. Verifying VLAN Information
        5. Saving VLAN Configurations
        6. Erasing VLAN Configurations
        7. Configuration Example: VLANs
      3. Chapter 13. VLAN Trunking Protocol and Inter-VLAN Communication
        1. Dynamic Trunking Protocol
        2. Dynamic Trunking Protocol (DTP)
        3. Setting the Encapsulation Type
        4. VLAN Trunking Protocol (VTP)
        5. Verifying VTP
        6. Inter-VLAN Communication Using an External Router: Router-on-a-Stick
        7. Inter-VLAN Communication on a Multilayer Switch Through a Switch Virtual Interface
        8. Inter-VLAN Communication Tips
        9. Configuration Example: Inter-VLAN Communication
      4. Chapter 14. Spanning Tree Protocol and EtherChannel
        1. Spanning Tree Protocol
        2. EtherChannel
    17. Part VI: Layer Redundancy
      1. Chapter 15. HSRP and GLBP
        1. Hot Standby Router Protocol
        2. Configuring HSRP on a Router
        3. Configuring HSRP on an L3 Switch
        4. Default HSRP Configuration Settings
        5. Verifying HSRP
        6. HSRP Optimization Options
        7. Multiple HSRP
        8. Debugging HSRP
        9. Virtual Router Redundancy Protocol
        10. Configuring VRRP
        11. Verifying VRRP
        12. Debugging VRRP
        13. Gateway Load Balancing Protocol
        14. Verifying GLBP
        15. Debugging GLBP
        16. Configuration Example: GLBP
    18. Part VII: IPv6
      1. Chapter 16. IPv6
        1. Assigning IPv6 Addresses to Interfaces
        2. IPv6 and RIPng
        3. Configuration Example: IPv6 RIP
        4. IPv6 Tunnels: Manual Overlay Tunnel
        5. Static Routes in IPv6
        6. Floating Static Routes in IPv6
        7. Default Routes in IPv6
        8. Verifying and Troubleshooting IPv6
        9. IPv6 Ping
        10. IPv6 Traceroute
      2. Chapter 17. OSPFv3
        1. IPv6 and OSPFv3
        2. Enabling OSPF for IPv6 on an Interface
        3. Enabling an OSPF for IPv6 Area Range
        4. Enabling an IPv4 Router ID for OSPFv3
        5. Forcing an SPF Calculation
        6. Verifying and Troubleshooting IPv6 and OSPFv3
        7. Configuration Example: OSPFv3
        8. R3 Router
        9. R2 Router
        10. R1 Router
        11. R4 Router
      3. Chapter 18. EIGRP for IPv6
        1. IPv6 and EIGRP
        2. Configuring the Percentage of Link Bandwidth Used by EIGRP
        3. Configuring Summary Addresses
        4. Configuring EIGRP Route Authentication
        5. Configuring EIGRP Timers
        6. Logging EIGRP Neighbor Adjacency Changes
        7. Adjusting the EIGRP for IPv6 Metric Weights
        8. Verifying and Troubleshooting EIGRP for IPv6
        9. Configuration Example: EIGRP for IPv6
        10. R3 Router
        11. R2 Router
        12. R1 Router
    19. Part VIII: Network Administration and Troubleshooting
      1. Chapter 19. Backing Up and Restoring Cisco IOS Software and Configurations
        1. Boot System Commands
        2. The Cisco IOS File System
        3. Viewing the Cisco IOS File System
        4. Commonly Used URL Prefixes for Cisco Network Devices
        5. Deciphering IOS Image Filenames
        6. Backing Up Configurations to a TFTP Server
        7. Restoring Configurations from a TFTP Server
        8. Backing Up the Cisco IOS Software to a TFTP Server
        9. Restoring/Upgrading the Cisco IOS Software from a TFTP Server
        10. Restoring the Cisco IOS Software from ROM Monitor Mode Using Xmodem
        11. Restoring the Cisco IOS Software Using the ROM Monitor Environmental Variables and tftpdnld Command
      2. Chapter 20. Password-Recovery Procedures and the Configuration Register
        1. The Configuration Register
        2. Password-Recovery Procedures for Cisco Routers
        3. Password Recovery for 2960 Series Switches
      3. Chapter 21. Cisco Discovery Protocol (CDP)
        1. Cisco Discovery Protocol
      4. Chapter 22. Remote Connectivity Using Telnet or SSH
        1. Configuring a Device to Accept a Remote Telnet Connection
        2. Using Telnet to Remotely Connect to Other Devices
        3. Verifying Telnet
        4. Configuring the Secure Shell Protocol (SSH)
        5. Verifying SSH
      5. Chapter 23. Verifying End-to-End Connectivity
        1. ICMP Redirect Messages
        2. The ping Command
        3. Examples of Using the ping and the Extended ping Commands
        4. The traceroute Command
      6. Chapter 24. Configuring Network Management Protocols
        1. Configuring SNMP
        2. Configuring Syslog
        3. Syslog Message Format
        4. Syslog Severity Levels
        5. Syslog Message Example
        6. Configuring NetFlow
        7. Verifying NetFlow
      7. Chapter 25. Basic Troubleshooting
        1. Viewing the Routing Table
        2. Clearing the Routing Table
        3. Determining the Gateway of Last Resort
        4. Determining the Last Routing Update
        5. OSI Layer 3 Testing
        6. OSI Layer 7 Testing
        7. Interpreting the show interface Command
        8. Clearing Interface Counters
        9. Using CDP to Troubleshoot
        10. The traceroute Command
        11. The show controllers Command
        12. debug Commands
        13. Using Time Stamps
        14. Operating System IP Verification Commands
        15. The ip http server Command
        16. The netstat Command
        17. The arp Command
      8. Chapter 26. Cisco IOS Licensing
        1. Cisco Licensing Earlier Than IOS 15.0
        2. Cisco Licensing for the ISR G2 Platforms: IOS 15.0 and Later
        3. Verifying Licenses
        4. Cisco License Manager
        5. Installing a Permanent License
        6. Installing an Evaluation License
        7. Backing Up a License
        8. Uninstalling a License
    20. Part IX: Managing IP Services
      1. Chapter 27. Network Address Translation
        1. Configuring Dynamic NAT: One Private to One Public Address Translation
        2. Configuring PAT: Many Private to One Public Address Translation
        3. Configuring Static NAT: One Private to One Permanent Public Address Translation
        4. Verifying NAT and PAT Configurations
        5. Troubleshooting NAT and PAT Configurations
        6. Configuration Example: PAT
      2. Chapter 28. Dynamic Host Configuration Protocol (DHCP)
        1. Configuring a DHCP Server on an IOS Router
        2. Verifying and Troubleshooting DHCP Configuration
        3. Configuring a DHCP Helper Address
        4. DHCP Client on a Cisco IOS Software Ethernet Interface
        5. Configuration Example: DHCP
    21. Part X: WANs
      1. Chapter 29. Configuring Serial Encapsulation: HDLC and PPP
        1. Configuring HDLC Encapsulation on a Serial Line
        2. Configuring Point-to-Point Protocol (PPP) on a Serial Line (Mandatory Commands)
        3. Configuring PPP on a Serial Line (Optional Commands): Compression
        4. Configuring PPP on a Serial Line (Optional Commands): Link Quality
        5. Configuring PPP on a Serial Line (Optional Commands): Multilink
        6. Configuring PPP on a Serial Line (Optional Commands): Authentication
        7. Verifying and Troubleshooting a Serial Link/PPP Encapsulation
        8. Configuration Example: PPP with CHAP Authentication
      2. Chapter 30. Establishing WAN Connectivity Using Frame Relay
        1. Configuring Frame Relay
        2. Verifying Frame Relay
        3. Troubleshooting Frame Relay
        4. Configuration Example: Point-to-Point Frame Relay Using Subinterfaces and OSPF
        5. Configuration Example: Point-to-Multipoint Frame Relay Using Subinterfaces and EIGRP
      3. Chapter 31. Configuring Generic Routing Encapsulation (GRE) Tunnels
        1. Configuring a GRE Tunnel
        2. Verifying a GRE Tunnel
      4. Chapter 32. Configuring Point-to-Point Protocol over Ethernet (PPPoE)
        1. Configuring a DSL Connection using PPPoE
    22. Part XI: Network Security
      1. Chapter 33. Managing Traffic Using Access Control Lists (ACL)
        1. Access List Numbers
        2. Using Wildcard Masks
        3. ACL Keywords
        4. Creating Standard ACLs
        5. Applying Standard ACLs to an Interface
        6. Verifying ACLs
        7. Removing ACLs
        8. Creating Extended ACLs
        9. Applying Extended ACLs to an Interface
        10. The established Keyword (Optional)
        11. Creating Named ACLs
        12. Using Sequence Numbers in Named ACLs
        13. Removing Specific Lines in Named ACLs Using Sequence Numbers
        14. Sequence Number Tips
        15. Including Comments About Entries in ACLs
        16. Restricting Virtual Terminal Access
        17. Tips for Configuring ACLs
        18. ACLs and IPv6
        19. Configuration Examples: ACLs
    23. Part XII: Appendixes
      1. Appendix A. Binary/Hex/Decimal Conversion Chart
      2. Appendix B. Create Your Own Journal Here
    24. Steps to Configuring a Router
      1. What Do You Want to Do Today?