Contents
Preface
Overview
Using the Command-Line Interface
Understanding Command Modes
Understanding the Help System
Understanding Abbreviated Commands
Understanding no and default Forms of Commands
Understanding CLI Error Messages
Using Command History
Using Editing Features
Enabling and Disabling Editing Features
Editing Commands through Keystrokes
Editing Command Lines that Wrap
Searching and Filtering Output of show and more Commands
Accessing the CLI
Getting Started with CMS
Understanding CMS
Front Panel View
Topology View
CMS Menu Bar, Toolbar, and Feature Bar
Online Help
Configuration Modes
Guide Mode
Expert Mode
Wizards
Privilege Levels
Access to Older Switches In a Cluster
Configuring CMS
Displaying CMS
Launching CMS
Front Panel View
Topology View
CMS Icons
Where to Go Next
Assigning the Switch IP Address and Default Gateway
Understanding the Boot Process
Assigning Switch Information
Default Switch Information
Understanding DHCP-Based Autoconfiguration
Configuring DHCP-Based Autoconfiguration
Configuring the DHCP Server
Configuring the TFTP Server
Configuring the DNS
Configuring the Relay Device
Obtaining Configuration Files
Example Configuration
Manually Assigning IP Information
Checking and Saving the Running Configuration
Modifying the Startup Configuration
Default Boot Configuration
Automatically Downloading a Configuration File
Specifying the Filename to Read and Write the System Configuration
Booting Manually
Booting a Specific Software Image
Controlling Environment Variables
Scheduling a Reload of the Software Image
Clustering Switches
Understanding Switch Clusters
Cluster Command Switch Characteristics
Standby Cluster Command Switch Characteristics
Candidate Switch and Cluster Member Switch Characteristics
Planning a Switch Cluster
Automatic Discovery of Cluster Candidates and Members
Discovery Through CDP Hops
Discovery Through Non-CDP-Capable and Noncluster-Capable Devices
Discovery Through Different VLANs
Discovery Through Different Management VLANs
Discovery Through Routed Ports
Discovery of Newly Installed Switches
HSRP and Standby Cluster Command Switches
IP Addresses
Host Names
Passwords
SNMP Community Strings
TACACS+ and RADIUS
Access Modes in CMS
LRE Profiles \x11\x11\x11
Availability of Switch-Specific Features in Switch Clusters
Creating a Switch Cluster
Enabling a Cluster Command Switch
Adding Cluster Member Switches
Creating a Cluster Standby Group
Verifying a Switch Cluster
Using the CLI to Manage Switch Clusters
Using SNMP to Manage Switch Clusters
Administering the Switch
Managing the System Time and Date
Understanding the System Clock
Understanding Network Time Protocol
Configuring NTP
Default NTP Configuration
Configuring NTP Authentication
Configuring NTP Associations
Configuring NTP Broadcast Service
Configuring NTP Access Restrictions
Configuring the Source IP Address for NTP Packets
Displaying the NTP Configuration
Configuring Time and Date Manually
Setting the System Clock
Displaying the Time and Date Configuration
Configuring the Time Zone
Configuring Summer Time (Daylight Saving Time)
Configuring a System Name and Prompt
Default System Name and Prompt Configuration
Configuring a System Name
Configuring a System Prompt
Understanding DNS
Creating a Banner
Default Banner Configuration
Configuring a Message-of-the-Day Login Banner
Configuring a Login Banner
Managing the MAC Address Table
Building the Address Table
MAC Addresses and VLANs
Default MAC Address Table Configuration
Changing the Address Aging Time
Removing Dynamic Address Entries
Configuring MAC Address Notification Traps
Adding and Removing Static Address Entries
Configuring Unicast MAC Address Filtering
Displaying Address Table Entries
Managing the ARP Table
Configuring SDM Templates
Understanding the SDM Templates
Configuring the Switch SDM Template
Displaying the SDM Templates
Configuring Switch-Based Authentication
Preventing Unauthorized Access to Your Switch
Protecting Access to Privileged EXEC Commands
Default Password and Privilege Level Configuration
Setting or Changing a Static Enable Password
Protecting Enable and Enable Secret Passwords with Encryption
Disabling Password Recovery
Setting a Telnet Password for a Terminal Line
Configuring Username and Password Pairs
Configuring Multiple Privilege Levels
Setting the Privilege Level for a Command
Changing the Default Privilege Level for Lines
Logging into and Exiting a Privilege Level
Controlling Switch Access with TACACS+
Controlling Switch Access with RADIUS
Controlling Switch Access with Kerberos
Understanding Kerberos
Kerberos Operation
Authenticating to a Boundary Switch
Obtaining a TGT from a KDC
Authenticating to Network Services
Configuring Kerberos
Configuring the Switch for Local Authentication and Authorization
Configuring the Switch for Secure Shell
Configuring 802.1X Port-Based Authentication
Understanding 802.1X Port-Based Authentication
Device Roles
Authentication Initiation and Message Exchange
Ports in Authorized and Unauthorized States
Supported Topologies
Using 802.1X with Port Security
Using 802.1X with Voice VLAN Ports
Using 802.1X with VLAN Assignment
Using 802.1X with Guest VLAN
Using 802.1X with Per-User ACLs
Configuring 802.1X Authentication
Default 802.1X Configuration
802.1X Configuration Guidelines
Configuring 802.1X Authentication
Configuring the Switch-to-RADIUS-Server Communication
Configuring Periodic Re-Authentication
Manually Re-Authenticating a Client Connected to a Port
Changing the Quiet Period
Changing the Switch-to-Client Retransmission Time
Setting the Switch-to-Client Frame-Retransmission Number
Configuring the Host Mode
Configuring a Guest VLAN
Resetting the 802.1X Configuration to the Default Values
Displaying 802.1X Statistics and Status
Configuring Interface Characteristics
Understanding Interface Types
Using Interface Configuration Mode
Procedures for Configuring Interfaces
Configuring a Range of Interfaces
Configuring and Using Interface Range Macros
Configuring Ethernet Interfaces
Default Ethernet Interface Configuration
Configuring Interface Speed and Duplex Mode
Configuring IEEE 802.3X Flow Control
Configuring Auto-MDIX on an Interface
Configuring Power over Ethernet on an Interface
Adding a Description for an Interface
Configuring Layer 3 Interfaces
Configuring the System MTU
Monitoring and Maintaining the Interfaces
Monitoring Interface Status
Clearing and Resetting Interfaces and Counters
Shutting Down and Restarting the Interface
Configuring SmartPort Macros
Understanding SmartPort Macros
Configuring Smart-Port Macros
Default SmartPort Macro Configuration
SmartPort Macro Configuration Guidelines
Creating and Applying SmartPort Macros
Displaying SmartPort Macros
Configuring VLANs
Configuring VTP
Understanding VTP
The VTP Domain
VTP Modes
VTP Advertisements
VTP Version 2
VTP Pruning
Configuring VTP
Default VTP Configuration
VTP Configuration Options
VTP Configuration Guidelines
Configuring a VTP Server
Configuring a VTP Client
Disabling VTP (VTP Transparent Mode)
Enabling VTP Version 2
Enabling VTP Pruning
Adding a VTP Client Switch to a VTP Domain
Monitoring VTP
Configuring Voice VLAN
Understanding Voice VLAN
Configuring Voice VLAN
Default Voice VLAN Configuration
Voice VLAN Configuration Guidelines
Configuring a Port Connected to a Cisco\x117960 IP Phone
Displaying Voice VLAN
Configuring STP
Understanding Spanning-Tree Features
STP Overview
Spanning-Tree Topology and BPDUs
Bridge ID, Switch Priority, and Extended System ID
Spanning-Tree Interface States
Blocking State
Listening State
Learning State
Forwarding State
Disabled State
How a Switch or Port Becomes the Root Switch or Root Port
Spanning Tree and Redundant Connectivity
Spanning-Tree Address Management
Accelerated Aging to Retain Connectivity
Spanning-Tree Modes and Protocols
Supported Spanning-Tree Instances
Spanning-Tree Interoperability and Backward Compatibility
STP and IEEE 802.1Q Trunks
VLAN-Bridge Spanning Tree
Configuring Spanning-Tree Features
Default Spanning-Tree Configuration
Spanning-Tree Configuration Guidelines
Changing the Spanning-Tree Mode
Disabling Spanning Tree
Configuring the Root Switch
Configuring a Secondary Root Switch
Configuring Port Priority
Configuring Path Cost
Configuring the Switch Priority of a VLAN
Configuring Spanning-Tree Timers
Configuring the Hello Time
Configuring the Forwarding-Delay Time for a VLAN
Configuring the Maximum-Aging Time for a VLAN
Displaying the Spanning-Tree Status
Configuring MSTP
Configuring Optional Spanning-Tree Features
Understanding Optional Spanning-Tree Features
Configuring Optional Spanning-Tree Features
Default Optional Spanning-Tree Configuration
Optional Spanning-Tree Configuration Guidelines
Enabling Port Fast
Enabling BPDU Guard
Enabling BPDU Filtering
Enabling UplinkFast for Use with Redundant Links
Enabling BackboneFast
Enabling Root Guard
Enabling Loop Guard
Displaying the Spanning-Tree Status
Configuring DHCP Features
Understanding DHCP Features
DHCP Snooping
Option-82 Data Insertion
Configuring DHCP Features
Default DHCP Configuration
DHCP Snooping Configuration Guidelines
Enabling DHCP Snooping and Option 82
Displaying DHCP Information
Configuring IGMP Snooping and MVR
Understanding IGMP Snooping
IGMP Versions
Joining a Multicast Group
Leaving a Multicast Group
Immediate-Leave Processing
IGMP Report Suppression
Configuring IGMP Snooping
Default IGMP Snooping Configuration
Enabling or Disabling IGMP Snooping
Setting the Snooping Method
Configuring a Multicast Router Port
Configuring a Host Statically to Join a Group
Enabling IGMP Immediate-Leave Processing
Disabling IGMP Report Suppression
Displaying IGMP Snooping Information
Understanding Multicast VLAN Registration
Configuring MVR
Default MVR Configuration
MVR Configuration Guidelines and Limitations
Configuring MVR Global Parameters
Configuring MVR Interfaces
Displaying MVR Information
Configuring IGMP Filtering and Throttling
Default IGMP Filtering and Throttling Configuration
Configuring IGMP Profiles
Applying IGMP Profiles
Setting the Maximum Number of IGMP Groups
Configuring the IGMP Throttling Action
Displaying IGMP Filtering and Throttling Configuration
Configuring Port-Based Traffic Control
Configuring Storm Control
Configuring Protected Ports
Default Protected Port Configuration
Protected Port Configuration Guidelines
Configuring a Protected Port
Configuring Port Blocking
Configuring Port Security
Understanding Port Security
Secure MAC Addresses
Security Violations
Default Port Security Configuration
Configuration Guidelines
Enabling and Configuring Port Security
Enabling and Configuring Port Security Aging
Displaying Port-Based Traffic Control Settings
Configuring CDP
Configuring UDLD
Understanding UDLD
Configuring UDLD
Default UDLD Configuration
Configuration Guidelines
Enabling UDLD Globally
Enabling UDLD on an Interface
Resetting an Interface Disabled by UDLD
Displaying UDLD Status
Configuring SPAN and RSPAN
Understanding SPAN and RSPAN
Configuring SPAN and RSPAN
Displaying SPAN and RSPAN Status
Configuring RMON
Understanding RMON
Configuring RMON
Default RMON Configuration
Configuring RMON Alarms and Events
Collecting Group History Statistics on an Interface
Collecting Group Ethernet Statistics on an Interface
Displaying RMON Status
Configuring System Message Logging
Understanding System Message Logging
Configuring System Message Logging
System Log Message Format
Default System Message Logging Configuration
Disabling Message Logging
Setting the Message Display Destination Device
Synchronizing Log Messages
Enabling and Disabling Time Stamps on Log Messages
Enabling and Disabling Sequence Numbers in Log Messages
Defining the Message Severity Level
Limiting Syslog Messages Sent to the History Table and to SNMP
Configuring UNIX Syslog Servers
Displaying the Logging Configuration
Configuring SNMP
Understanding SNMP
Configuring SNMP
Default SNMP Configuration
SNMP Configuration Guidelines
Disabling the SNMP Agent
Configuring Community Strings
Configuring SNMP Groups and Users
Configuring SNMP Notifications
Setting the Agent Contact and Location Information
Limiting TFTP Servers Used Through SNMP
SNMP Examples
Displaying SNMP Status
Configuring Network Security with ACLs
Understanding ACLs
Configuring IP ACLs
Creating Standard and Extended IP ACLs
Access List Numbers
Creating a Numbered Standard ACL
Creating a Numbered Extended ACL
Creating Named Standard and Extended ACLs
Using Time Ranges with ACLs
Including Comments in ACLs
Applying an IP ACL to a Terminal Line
Applying an IP ACL to an Interface
Hardware and Software Treatment of IP ACLs
IP ACL Configuration Examples
Creating Named MAC Extended ACLs
Configuring VLAN Maps
VLAN Map Configuration Guidelines
Creating a VLAN Map
Applying a VLAN Map to a VLAN
Using VLAN Maps in Your Network
Using VLAN Maps with Router ACLs
Displaying ACL Configuration
Configuring QoS
Configuring EtherChannels
Understanding EtherChannels
EtherChannel Overview
Port-Channel Interfaces
Port Aggregation Protocol
Link Aggregation Control Protocol
Load Balancing and Forwarding Methods
Configuring EtherChannels
Default EtherChannel Configuration
EtherChannel Configuration Guidelines
Configuring Layer\x112 EtherChannels\x11\x11\x11
Configuring Layer\x113 EtherChannels
Configuring EtherChannel Load Balancing
Configuring the PAgP Learn Method and Priority
Configuring LACP Hot-Standby Ports
Displaying EtherChannel, PAgP, and LACP Status
Configuring IP Unicast Routing
Understanding IP Routing
Steps for Configuring Routing
Configuring IP Addressing
Default Addressing Configuration
Assigning IP Addresses to Network Interfaces
Use of Subnet Zero
Classless Routing
Configuring Address Resolution Methods
Routing Assistance When IP Routing is Disabled
Configuring Broadcast Packet Handling
Enabling Directed Broadcast-to-Physical Broadcast Translation
Forwarding UDP Broadcast Packets and Protocols
Establishing an IP Broadcast Address
Flooding IP Broadcasts
Monitoring and Maintaining IP Addressing
Enabling IP Unicast Routing
Configuring RIP
Default RIP Configuration
Configuring Basic RIP Parameters
Configuring RIP Authentication
Configuring Summary Addresses and Split Horizon
Configuring IGRP
Default IGRP Configuration
Understanding Load Balancing and Traffic Distribution Control
Configuring Basic IGRP Parameters
Configuring Split Horizon
Configuring OSPF
Default OSPF Configuration
Configuring Basic OSPF Parameters
Configuring OSPF Interfaces
Configuring OSPF Area Parameters
Configuring Other OSPF Parameters
Changing LSA Group Pacing
Configuring a Loopback Interface
Monitoring OSPF
Configuring EIGRP
Default EIGRP Configuration
Configuring Basic EIGRP Parameters
Configuring EIGRP Interfaces
Configuring EIGRP Route Authentication
Monitoring and Maintaining EIGRP
Configuring BGP
Default BGP Configuration
Enabling BGP Routing
Managing Routing Policy Changes
Configuring BGP Decision Attributes
Configuring BGP Filtering with Route Maps
Configuring BGP Filtering by Neighbor
Configuring Prefix Lists for BGP Filtering
Configuring BGP Community Filtering\x11
Configuring BGP Neighbors and Peer Groups
Configuring Aggregate Addresses
Configuring Routing Domain Confederations
Configuring BGP Route Reflectors
Configuring Route Dampening
Monitoring and Maintaining BGP
Configuring Protocol-Independent Features
Configuring Cisco Express Forwarding
Configuring the Number of Equal-Cost Routing Paths
Configuring Static Unicast Routes
Specifying Default Routes and Networks
Using Route Maps to Redistribute Routing Information
Configuring Policy-Based Routing
Filtering Routing Information
Setting Passive Interfaces
Controlling Advertising and Processing in Routing Updates
Filtering Sources of Routing Information
Managing Authentication Keys
Monitoring and Maintaining the IP Network
Configuring HSRP
Configuring IP Multicast Routing
Understanding Cisco’s Implementation of IP Multicast Routing
Understanding IGMP
IGMP Version 1
IGMP Version 2
Understanding PIM
Understanding DVMRP
Understanding CGMP
Configuring IP Multicast Routing
Default Multicast Routing Configuration
Multicast Routing Configuration Guidelines
Configuring Basic Multicast Routing
Configuring a Rendezvous Point
Using Auto-RP and a BSR
Monitoring the RP Mapping Information
Troubleshooting PIMv1 and PIMv2 Interoperability Problems
Configuring Advanced PIM Features
Understanding PIM Shared Tree and Source Tree
Delaying the Use of PIM Shortest-Path Tree
Modifying the PIM Router-Query Message Interval
Configuring Optional IGMP Features
Default IGMP Configuration
Configuring the Switch as a Member of a Group
Controlling Access to IP Multicast Groups
Changing the IGMP Version
Modifying the IGMP Host-Query Message Interval
Changing the IGMP Query Timeout for IGMPv2
Changing the Maximum Query Response Time for IGMPv2
Configuring the Switch as a Statically Connected Member
Configuring Optional Multicast Routing Features
Enabling CGMP Server Support
Configuring sdr Listener Support
Configuring an IP Multicast Boundary
Configuring Basic DVMRP Interoperability Features
Configuring DVMRP Interoperability
Configuring a DVMRP Tunnel
Advertising Network 0.0.0.0 to DVMRP Neighbors
Responding to mrinfo Requests
Configuring Advanced DVMRP Interoperability Features
Enabling DVMRP Unicast Routing
Rejecting a DVMRP Nonpruning Neighbor
Controlling Route Exchanges
Limiting the Number of DVMRP Routes Advertised
Changing the DVMRP Route Threshold
Configuring a DVMRP Summary Address
Disabling DVMRP Autosummarization
Adding a Metric Offset to the DVMRP Route
Monitoring and Maintaining IP Multicast Routing
Clearing Caches, Tables, and Databases
Displaying System and Network Statistics
Monitoring IP Multicast Routing
Configuring MSDP
Configuring Fallback Bridging
Understanding Fallback Bridging
Configuring Fallback Bridging
Default Fallback Bridging Configuration
Fallback Bridging Configuration Guidelines
Creating a Bridge Group
Adjusting Spanning-Tree Parameters
Changing the VLAN-Bridge Spanning-Tree Priority
Changing the Interface Priority
Assigning a Path Cost
Adjusting BPDU Intervals
Disabling the Spanning Tree on an Interface
Monitoring and Maintaining Fallback Bridging
Troubleshooting
Recovering from Corrupted Software By Using the XMODEM Protocol
Recovering from a Lost or Forgotten Password
Recovering from a Command Switch Failure
Recovering from Lost Cluster Member Connectivity
Preventing Autonegotiation Mismatches
Troubleshooting Power over Ethernet Switch Ports
SFP Module Security and Identification
Using Ping
Understanding Ping
Executing Ping
Using Layer 2 Traceroute
Using IP Traceroute
Using Debug Commands
Enabling Debugging on a Specific Feature
Enabling All-System Diagnostics
Redirecting Debug and Error Message Output
Using the show platform forward Command
Using the crashinfo File
Supported MIBs
Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with the Flash File System
Displaying Available File Systems
Setting the Default File System
Displaying Information about Files on a File System
Changing Directories and Displaying the Working Directory
Creating and Removing Directories
Copying Files
Deleting Files
Creating, Displaying, and Extracting tar Files
Displaying the Contents of a File
Working with Configuration Files
Guidelines for Creating and Using Configuration Files
Configuration File Types and Location
Creating a Configuration File By Using a Text Editor
Copying Configuration Files By Using TFTP
Preparing to Download or Upload a Configuration File By Using TFTP
Downloading the Configuration File By Using TFTP
Uploading the Configuration File By Using TFTP
Copying Configuration Files By Using FTP
Preparing to Download or Upload a Configuration File By Using FTP
Downloading a Configuration File By Using FTP
Uploading a Configuration File By Using FTP
Copying Configuration Files By Using RCP
Preparing to Download or Upload a Configuration File By Using RCP
Downloading a Configuration File By Using RCP
Uploading a Configuration File By Using RCP
Clearing Configuration Information
Working with Software Images
Image Location on the Switch
tar File Format of Images on a Server or Cisco.com
Copying Image Files By Using TFTP
Preparing to Download or Upload an Image File By Using TFTP
Downloading an Image File By Using TFTP
Uploading an Image File By Using TFTP
Copying Image Files By Using FTP
Preparing to Download or Upload an Image File By Using FTP
Downloading an Image File By Using FTP
Uploading an Image File By Using FTP
Copying Image Files By Using RCP
Preparing to Download or Upload an Image File By Using RCP
Downloading an Image File By Using RCP
Uploading an Image File By Using RCP
Unsupported Commands in Cisco\x11IOS\x11Release\x1112.1(19)EA1
Index