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

Book Description

CCNP Routing and Switching Portable Command Guide

All ROUTE (300-101) and SWITCH (300-115) Commands in One Compact, Portable Resource

Preparing for the CCNP® ROUTE or CCNP SWITCH exam? Working as a network professional? Here are all the CCNP-level commands you’ll need, in one handy resource. The CCNP Routing and Switching Portable Command Guide is filled with valuable, easy-to-access information, and it’s portable enough to use whether you’re in the server room or the equipment closet.

This guide helps you memorize commands and concepts as you prepare to pass the CCNP ROUTE (300-101) or CCNP SWITCH (300-115) exams. It summarizes all CCNP certification-level Cisco IOS® Software commands, keywords, command arguments, and associated prompts, offering tips and examples for applying them in real-world environments. Throughout, configuration examples deepen your understanding of how these commands are used in actual network designs.

Whenever you’re researching routing or switching solutions, you won’t find a quicker, more useful offline resource.

--Logical “how-to” topic groupings inside the front and back covers provide one-stop research

--Compact size makes it easy to carry with you, wherever you go

--Helps you review important commands before taking the CCNP ROUTE or CCNP SWITCH certification exam

--“Create Your Own Journal” appendix with blank, lined pages enables you to personalize the book for your own needs

--“What Do You Want to Do?” chart inside front and back covers helps you to quickly reference specific tasks

Table of Contents

  1. About This eBook
  2. Title Page
  3. Copyright Page
  4. Contents at a Glance
  5. Table of Contents
  6. About the Authors
  7. About the Technical Reviewer
  8. Dedications
  9. Acknowledgments
  10. Command Syntax Conventions
  11. Introduction
    1. Who Should Read This Book?
    2. Strategies for Exam Preparation
    3. How This Book Is Organized
  12. Part I: Route
    1. Chapter 1. Basic Network and Routing Concepts
      1. Cisco Hierarchical Network Model
      2. Cisco Enterprise Composite Network Model
      3. Typically Used Routing Protocols
      4. IGP Versus EGP Routing Protocols
      5. Routing Protocol Comparison
      6. Administrative Distance
      7. Static Routes: permanent Keyword
      8. Floating Static Routes
      9. Static Routes and Recursive Lookups
      10. Default Routes
      11. Verifying Static Routes
      12. Assigning IPv6 Addresses to Interfaces
      13. Implementing RIP Next Generation (RIPng)
      14. Verifying and Troubleshooting RIPng
      15. Configuration Example: RIPng
        1. Austin Router
        2. Houston Router
      16. IPv6 Ping
      17. IPv6 Traceroute
    2. Chapter 2. EIGRP Implementation
      1. Configuring EIGRP
      2. EIGRP Router ID
      3. EIGRP Autosummarization
      4. Passive EIGRP Interfaces
      5. “Pseudo” Passive EIGRP Interfaces
      6. EIGRP Timers
      7. Injecting a Default Route into EIGRP: Redistribution of a Static Route
      8. Injecting a Default Route into EIGRP: IP Default Network
      9. Injecting a Default Route into EIGRP: Summarize to 0.0.0.0/0
      10. Accepting Exterior Routing Information: default-information
      11. Load Balancing: Maximum Paths
      12. Load Balancing: Variance
      13. Bandwidth Use
      14. Stub Networks
      15. EIGRP Unicast Neighbors
      16. EIGRP over Frame Relay: Dynamic Mappings
      17. EIGRP over Frame Relay: Static Mappings
      18. EIGRP over Frame Relay: EIGRP over Multipoint Subinterfaces
      19. EIGRP over Frame Relay: EIGRP over Point-to-Point Subinterfaces
      20. EIGRP over MPLS: Layer 2 VPN
      21. EIGRP over MPLS: Layer 3 VPN
      22. EIGRPv6
        1. Enabling EIGRPv6 on an Interface
        2. Configuring the Percentage of Link Bandwidth Used by EIGRPv6
        3. EIGRPv6 Summary Addresses
        4. EIGRPv6 Timers
        5. EIGRPv6 Stub Routing
        6. Logging EIGRPv6 Neighbor Adjacency Changes
        7. Adjusting the EIGRPv6 Metric Weights
      23. EIGRP Address Families
      24. Named EIGRP Configuration Modes
      25. Verifying EIGRP and EIGRPv6
      26. Troubleshooting EIGRP
      27. Configuration Example: EIGRPv4 and EIGRPv6 using Named Address Configuration
    3. Chapter 3. Implementing a Scalable Multiarea Network OSPF-Based Solution
      1. OSPF Message Types
      2. OSPF LSA Types
      3. Configuring OSPF
      4. Using Wildcard Masks with OSPF Areas
      5. Configuring Multiarea OSPF
      6. Loopback Interfaces
      7. Router ID
      8. DR/BDR Elections
      9. Passive Interfaces
      10. Modifying Cost Metrics
      11. OSPF auto-cost reference-bandwidth
      12. OSPF LSDB Overload Protection
      13. Timers
      14. IP MTU
      15. Propagating a Default Route
      16. OSPF Special Area Types
        1. Stub Areas
        2. Totally Stubby Areas
        3. Not-So-Stubby Areas
        4. Totally NSSA
      17. Route Summarization
        1. Interarea Route Summarization
        2. External Route Summarization
      18. Configuration Example: Virtual Links
        1. OSPF and NBMA Networks
        2. OSPF over NBMA Topology Summary
      19. IPv6 and OSPFv3
        1. Enabling OSPF for IPv6 on an Interface
        2. OSPFv3 and Stub/NSSA Areas
        3. Interarea OSPFv3 Route Summarization
        4. Enabling an IPv4 Router ID for OSPFv3
        5. Forcing an SPF Calculation
        6. IPv6 on NBMA Networks
        7. OSPFv3 Address Families
      20. Verifying OSPF Configuration
      21. Troubleshooting OSPF
      22. Configuration Example: Single-Area OSPF
        1. Austin Router
        2. Houston Router
        3. Galveston Router
      23. Configuration Example: Multiarea OSPF
        1. ASBR Router
        2. ABR-1 Router
        3. ABR-2 Router
        4. Internal Router
      24. Configuration Example: OSPF and NBMA Networks
        1. Houston Router
        2. Austin Router
        3. Galveston Router
        4. Laredo Router
      25. Configuration Example: OSPF and Broadcast Networks
        1. Houston Router
        2. Austin Router
        3. Galveston Router
        4. Laredo Router
      26. Configuration Example: OSPF and Point-to-Multipoint Networks
        1. Houston Router
        2. Austin Router
        3. Galveston Router
        4. Laredo Router
      27. Configuration Example: OSPF and Point-to-Point Networks Using Subinterfaces
        1. Houston Router
        2. Austin Router
        3. Galveston Router
        4. Laredo Router
      28. Configuration Example: IPv6 and OSPFv3
        1. R3 Router
        2. R2 Router
        3. R1 Router
        4. R4 Router
      29. Configuration Example: OSPFv3 with Address Families
        1. R1 Router
        2. R2 Router
        3. R3 Router
    4. Chapter 4. Configuration of Redistribution
      1. Defining Seed and Default Metrics
      2. Redistributing Connected Networks
      3. Redistributing Static Routes
      4. Redistributing Subnets into OSPF
      5. Assigning E1 or E2 Routes in OSPF
      6. Redistributing OSPF Internal and External Routes
      7. Configuration Example: Route Redistribution for IPv4
      8. Configuration Example: Route Redistribution for IPv6
      9. Verifying Route Redistribution
      10. Route Filtering Using the distribute-list Command
        1. Configuration Example: Inbound and Outbound Distribute List Route Filters
        2. Configuration Example: Controlling Redistribution with Outbound Distribute Lists
        3. Verifying Route Filters
      11. Route Filtering Using Prefix Lists
        1. Configuration Example: Using a Distribute List That References a Prefix List to Control Redistribution
        2. Verifying Prefix Lists
      12. Using Route Maps with Route Redistribution
        1. Configuration Example: Route Maps
      13. Manipulating Redistribution Using Route Tagging
      14. Changing Administrative Distance for Internal and External Routes
      15. Passive Interfaces
    5. Chapter 5. Path Control Implementation
      1. Verifying Cisco Express Forwarding
      2. Configuring Cisco Express Forwarding
      3. Path Control with Policy-Based Routing
      4. Verifying Policy-Based Routing
      5. Configuration Example: PBR with Route Maps
      6. Cisco IOS IP Service Level Agreements
        1. Step 1: Define One (or More) Probe(s)
        2. Step 2: Define One (or More) Tracking Object(s)
        3. Step 3a: Define the Action on the Tracking Object(s)
        4. Step 3b: Define Policy Routing Using the Tracking Object(s)
        5. Step 4: Verify IP SLA Operations
    6. Chapter 6. Enterprise Internet Connectivity
      1. Configuring a Provider Assigned Static or DHCP IPv4 Address
      2. Configuring Static NAT
      3. Configuring Dynamic NAT
      4. Configuring NAT Overload (PAT)
      5. Verifying NAT
      6. NAT Virtual Interface
      7. Configuration Example: NAT Virtual Interfaces and Static NAT
      8. Configure Basic IPv6 Internet Connectivity
      9. Configuring IPv6 ACLs
        1. Verifying IPv6 ACLs
      10. Configuring Redistribution of Default Routes with Different Metrics in a Dual-Homed Internet Connectivity Scenario
      11. Configuring BGP
      12. BGP and Loopback Addresses
      13. iBGP Next-Hop Behavior
      14. eBGP Multihop
      15. Verifying BGP Connections
      16. Troubleshooting BGP Connections
      17. Default Routes
      18. Attributes
        1. Route Selection Decision Process
        2. Weight Attribute
        3. Using AS_PATH Access Lists to Manipulate the Weight Attribute
        4. Using Prefix Lists and Route Maps to Manipulate the Weight Attribute
        5. Local Preference Attribute
        6. Using AS_PATH Access Lists with Route Maps to Manipulate the Local Preference Attribute
        7. AS_PATH Attribute Prepending
        8. AS_PATH: Removing Private Autonomous Systems
        9. MED Attribute
      19. Route Aggregation
      20. Route Reflectors
      21. Regular Expressions
      22. Regular Expressions: Examples
      23. BGP Route Filtering Using Access Lists and Distribute Lists
      24. Configuration Example: Using Prefix Lists and AS_PATH Access Lists
      25. BGP Peer Groups
      26. MP-BGP
        1. Configure MP-BGP Using Address Families to Exchange IPv4 and IPv6 Routes
        2. Verifying MP-BGP
    7. Chapter 7. Routers and Routing Protocol Hardening
      1. Securing Cisco Routers According to Recommended Practices
        1. Securing Cisco IOS Routers Checklist
        2. Components of a Router Security Policy
        3. Configuring Passwords
        4. Password Encryption
        5. Configuring SSH
        6. Restricting Virtual Terminal Access
        7. Securing Access to the Infrastructure Using Router ACLs
        8. Configuring Secure SNMP
        9. Configuration Backups
        10. Implementing Logging
        11. Disabling Unneeded Services
      2. Configuring Network Time Protocol
        1. NTP Configuration
        2. NTP Design
        3. Securing NTP
        4. Verifying NTP
        5. SNTP
        6. Setting the Clock on a Router
        7. Using Time Stamps
        8. Configuration Example: NTP
      3. Authentication of Routing Protocols
        1. Authentication Options for Different Routing Protocols
        2. Authentication for EIGRP
        3. Authentication for OSPF
        4. Authentication for BGP and BGP for IPv6
  13. Part II: Switch
    1. Chapter 8. Basic Concepts and Network Design
      1. Hierarchical Model (Cisco Enterprise Campus Architecture)
      2. Verifying Switch Content-Addressable Memory
      3. Switching Database Manager Templates
        1. Configuring SDM Templates
        2. Verifying SDM Templates
      4. LLDP (802.1AB)
        1. Configuring LLDP
        2. Verifying LLDP
      5. Power over Ethernet
        1. Configuring PoE
        2. Verifying PoE
    2. Chapter 9. Campus Network Architecture
      1. Virtual LANs
      2. Creating Static VLANs
        1. Normal-Range static VLAN Configuration
        2. Extended-Range static VLAN Configuration
      3. Assigning Ports to Data and Voice VLANs
      4. Using the range Command
      5. Dynamic Trunking Protocol
      6. Setting the Trunk Encapsulation and Allowed VLANs
      7. Verifying VLAN Information
      8. Saving VLAN Configurations
      9. Erasing VLAN Configurations
      10. Verifying VLAN Trunking
      11. VLAN Trunking Protocol
        1. Using Global Configuration Mode
      12. Verifying VTP
      13. Configuration Example: VLANs
        1. 3560 Switch
        2. 2960 Switch
        3. 3560 Switch
      14. Layer 2 Link Aggregation
        1. Link Aggregation Interface Modes
        2. Guidelines for Configuring Link Aggregation
        3. Configuring L2 EtherChannel
        4. Configuring L3 EtherChannel
        5. Verifying EtherChannel
        6. Configuring EtherChannel Load Balancing
        7. Configuration Example: PAgP EtherChannel
        8. DLSwitch (3560)
        9. ALSwitch1 (2960)
        10. ALSwitch2 (2960)
      15. DHCP for IPv4
        1. Configuring Basic DHCP Server for IPv4
        2. Configuring DHCP Manual IP Assignment for IPv4
      16. Implementing DHCP Relay IPv4
      17. Verifying DHCP for IPv4
      18. Implementing DHCP for IPv6
      19. Configuring DHCPv6 Server
      20. Configuring DHCPv6 Client
      21. Configuring DHCPv6 Relay Agent
      22. Verifying DHCPv6
    3. Chapter 10. Implementing Spanning Tree
      1. Spanning-Tree Standards
        1. Enabling Spanning Tree Protocol
        2. Configuring the Root Switch
        3. Configuring a Secondary Root Switch
        4. Configuring Port Priority
        5. Configuring the Path Cost
        6. Configuring the Switch Priority of a VLAN
        7. Configuring STP Timers
        8. Verifying STP
        9. Cisco STP Toolkit
        10. Port Error Conditions
        11. FlexLinks
        12. Changing the Spanning-Tree Mode
        13. Extended System ID
        14. Enabling Rapid Spanning Tree
        15. Enabling Multiple Spanning Tree
        16. Verifying MST
        17. Troubleshooting Spanning Tree
        18. Configuration Example: PVST+
        19. Core Switch (3560)
        20. Distribution 1 Switch (3560)
        21. Distribution 2 Switch (3560)
        22. Access 1 Switch (2960)
        23. Access 2 Switch (2960)
        24. Spanning-Tree Migration Example: PVST+ to Rapid-PVST+
        25. Access 1 Switch (2960)
        26. Access 2 Switch (2960)
        27. Distribution 1 Switch (3560)
        28. Distribution 2 Switch (3560)
        29. Core Switch (3560)
    4. Chapter 11. Implementing Inter-VLAN Routing
      1. Inter-VLAN Communication Using an External Router: Router-on-a-Stick
      2. Inter-VLAN Routing Tips
      3. Removing L2 Switch Port Capability of a Switch Port
      4. Configuring SVI Autostate
      5. Inter-VLAN Communication on a Multilayer Switch Through a Switch Virtual Interface
      6. Configuration Example: Inter-VLAN Communication
        1. ISP Router
        2. CORP Router
        3. L2Switch2 (Catalyst 2960)
        4. L3Switch1 (Catalyst 3560)
        5. L2Switch1 (Catalyst 2960)
      7. Configuration Example: IPv6 Inter-VLAN Communication
        1. ISP Router
        2. CORP Router
        3. L2Sw2 (Catalyst 2960)
        4. L3Sw1 (Catalyst 3560)
        5. L2Sw1 (Catalyst 2960)
    5. Chapter 12. Implementing High-Availability Networks
      1. Configuring IP Service Level Agreements (Catalyst 3750)
        1. Configuring Authentication for IP SLA
        2. Monitoring IP SLA Operations
      2. Implementing Port Mirroring
        1. Default SPAN and RSPAN Configuration
        2. Configuring Local SPAN
        3. Local SPAN Guidelines for Configuration
        4. Configuring Local SPAN Example
        5. Configuring Remote SPAN
        6. Remote SPAN Guidelines for Configuration
        7. Configuring Remote SPAN Example
        8. Verifying and Troubleshooting Local and Remote SPAN
      3. Switch Virtualization
        1. StackWise
        2. Virtual Switching System
    6. Chapter 13. First-Hop Redundancy Implementation
      1. First-Hop Redundancy
      2. Hot Standby Router Protocol
        1. Configuring Basic HSRP
        2. Default HSRP Configuration Settings
        3. Verifying HSRP
        4. HSRP Optimization Options
        5. Multiple HSRP Groups
        6. HSRP IP SLA Tracking
        7. HSRPv2 for IPv6
        8. Debugging HSRP
      3. Virtual Router Redundancy Protocol
        1. Configuring VRRP
        2. Interface Tracking
        3. Verifying VRRP
        4. Debugging VRRP
      4. Gateway Load Balancing Protocol
        1. Configuring GLBP
        2. Interface Tracking
        3. Verifying GLBP
        4. Debugging GLBP
      5. IPv4 Configuration Example: HSRP on L3 Switch
        1. Switch DLS1
        2. Switch DLS2
        3. IP SLA Tracking: Switch DLS1 VLAN 10
      6. IPv4 Configuration Example: GLBP
        1. DLS1
        2. DLS2
      7. IPv4 Configuration Example: VRRP on Router and L3 Switch
        1. R1
        2. DLS-2
      8. IPv6 Configuration Example: HSRP on Router and L3 Switch
        1. R1
        2. DLS-2
    7. Chapter 14. Campus Network Security
      1. Switch Security Recommended Practices
      2. Configuring Switch Port Security
        1. Sticky MAC Addresses
        2. Verifying Switch Port Security
      3. Recovering Automatically from Error-Disabled Ports
        1. Verifying Autorecovery of Error-Disabled Ports
      4. Configuring Port Access Lists
        1. Creating and Applying Named Port Access List
      5. Configuring Storm Control
      6. Implementing Authentication Methods
        1. Local Database Authentication
        2. RADIUS Authentication
        3. TACACS+ Authentication
        4. Configuring Authorization and Accounting
        5. Configuring 802.1x Port-Based Authentication
      7. Configuring DHCP Snooping
        1. Verifying DHCP Snooping
      8. IP Source Guard
      9. Dynamic ARP Inspection
        1. Verifying DAI
      10. Mitigating VLAN Hopping: Best Practices
      11. VLAN Access Lists
        1. Verifying VACLs
        2. Configuration Example: VACLs
      12. Private VLANs
        1. Verifying PVLANs
        2. Configuration Example: PVLANs
  14. Appendixes
    1. Appendix A. Private VLAN Catalyst Switch Support Matrix
    2. Appendix B. Create Your Own Journal Here
  15. Index
  16. Code Snippets