Preface
Product Overview
Using the Command-Line Interface
Switch CLI Overview
Accessing the Switch CLI
Accessing Help
Command-Line Editing
History Substitution
Abbreviating a Command
Completing a Partial Command
Scrolling Through Command Output
Using Command Aliases
Specifying Modules, Ports, and VLANs
Specifying MAC Addresses
Specifying IP Addresses, Host Names, and IP Aliases
ROM Monitor CLI
Example of a Catalyst\x114003 Bootup Display
Configuring the Switch IP Address and Default Gateway
Understanding How the Switch Management Interfaces Work
Understanding How Automatic IP Configuration Works
Preparing to Configure the IP Address and Default Gateway
Default IP Address and Default Gateway Configuration
Setting the In-Band (sc0) Interface IP Address
Setting the Management Ethernet (me1) Interface IP Address
Configuring Default Gateways
Configuring the SLIP (sl0) Interface on the Console Port
Using DHCP or RARP to Obtain an IP Address Configuration
Renewing and Releasing a DHCP-Assigned IP Address
Configuring Ethernet and Fast Ethernet Switching
Understanding How Ethernet Works
Default Ethernet and Fast Ethernet Configurations
Configuring Ethernet and Fast Ethernet Ports
Setting Ethernet and Fast Ethernet Port Names
Setting Ethernet and Fast Ethernet Port Priority Levels
Setting Ethernet and Fast Ethernet Port Speeds
Setting Ethernet and Fast Ethernet Port Duplex Modes
Setting Ethernet and Fast Ethernet Port Debounce Timers
Configuring errdisable State Ethernet and Fast Ethernet Port Timeout Periods
Checking Ethernet and Fast Ethernet Port Connectivity
Configuring Gigabit Ethernet Switching
Understanding How Gigabit Ethernet Works
Understanding How Gigabit Ethernet Flow Control Works
Understanding How Port Negotiation Works
Understanding How Oversubscribed Gigabit Ethernet Works
Default Gigabit Ethernet Configuration
Configuring Gigabit Ethernet Ports
Assigning Gigabit Ethernet Port Names
Configuring Gigabit Ethernet Port Priority Levels
Configuring Flow Control on Gigabit Ethernet Ports
Enabling Port Negotiation on Gigabit Ethernet Ports
Disabling Port Negotiation
Configuring errdisable State Gigabit Ethernet Port Timeout Periods
Checking Gigabit Ethernet Port Connectivity
Configuring Fast EtherChannel and Gigabit EtherChannel
Understanding How EtherChannel Works
PAgP and LACP
EtherChannel Configuration Guidelines and Restrictions
Guidelines for Configuring a Port
Guidelines for Configuring VLANs and Trunks
EtherChannel Interaction with other Features
Understanding the PAgP
Configuring EtherChannel Using PAgP
Creating an EtherChannel
Defining an EtherChannel Administrative Group
Setting the EtherChannel Spanning Tree Port Cost
Setting the EtherChannel Spanning Tree Port VLAN Cost
Removing an EtherChannel Bundle
Displaying EtherChannel Configuration Information
Displaying EtherChannel Traffic Statistics
Displaying EtherChannel PAgP Statistics
EtherChannel Configuration Examples
Understanding the LACP
LACP Modes
LACP Parameters
Configuring EtherChannel Using LACP
Specifying the EtherChannel Protocol
Specifying the System Priority
Specifying the Port Priority
Specifying an Administrative Key Value
Changing the Channel Mode
Specifying the Channel Path Cost
Specifying the Channel VLAN Cost
Clearing LACP Statistics
Displaying EtherChannel Traffic Utilization
Disabling an EtherChannel
Displaying Spanning Tree-Related Information for EtherChannels
Configuring Spanning Tree
Understanding How STPs Work
Understanding How a Topology Is Created
Understanding How a Switch or Port Becomes the Root Switch or Root Port
Understanding BPDUs
Calculating and Assigning Port Costs
Understanding Spanning Tree Port States
Understanding How PVST+ and MISTP Modes Work
PVST+ Mode
Rapid PVST+
MISTP Mode
MISTP-PVST+ Mode
Understanding How Bridge Identifiers Work
MAC Address Allocation
MAC Address Reduction
Understanding How MST Works
Rapid Spanning Tree Protocol
MST-to-SST Interoperability
Common Spanning Tree
MST Instances
MST Configuration
MST Region
Message Age and Hop Count
MST-to-PVST+ Interoperability
Understanding How BPDU Skewing Works
Using PVST+
Default PVST+ Configuration
Setting the PVST+ Bridge ID Priority
Configuring the PVST+ Port Cost
Configuring PVST+ Port Priority
Configuring the PVST+ Default Port Cost Mode
Configuring the PVST+ Port VLAN Cost
Configuring the PVST+ Port VLAN Priority
Disabling the PVST+ Mode on a VLAN
Using Rapid PVST+
Using MISTP-PVST+ or MISTP
Default MISTP Mode Configuration
Setting the MISTP-PVST+ Mode or MISTP Mode
Configuring the MISTP Bridge ID Priority
Enabling an MISTP Instance
Mapping VLANs to an MISTP Instance
Disabling MISTP-PVST+ or MISTP
Configuring a Root Switch
Configuring a Primary Root Switch
Configuring a Secondary Root Switch
Configuring a Root Switch to Improve Convergence
Using Root Guard—Preventing Switches from Becoming Root
Displaying Spanning Tree BPDU Statistics
Configuring Spanning Tree Timers
Configuring the Hello Time
Configuring the Forward Delay Time
Configuring the Maximum Aging Time
Configuring MST
Configuring Spanning Tree BPDU Skewing
Configuring Spanning Tree PortFast, BPDU Guard, BPDU Filter, UplinkFast, BackboneFast, and Loop G...
Understanding How PortFast Works
Understanding How PortFast BPDU Guard Works
Understanding How PortFast BPDU Filtering Works
Understanding How UplinkFast Works
Understanding How BackboneFast Works
Understanding How Loop Guard Works
Configuring PortFast
Configuring PortFast BPDU Guard
Configuring PortFast BPDU Filtering
Configuring UplinkFast
Enabling UplinkFast
Disabling UplinkFast
Configuring BackboneFast
Configuring Loop Guard
Enabling Loop Guard
Disabling Loop Guard
Configuring VTP
Understanding How VTP Version 1 and Version 2 Work
Understanding the VTP Domain
Understanding VTP Modes
Understanding VTP Advertisements
Understanding VTP Version 2
Understanding VTP Pruning
Default VTP Version 1 and Version 2 Configuration
VTP Version 1 and Version 2 Configuration Guidelines
Configuring VTP Version 1 and Version 2
Configuring a VTP Server
Configuring a VTP Client
Configuring VTP (VTP Transparent Mode)
Disabling VTP Using the Off Mode
Enabling VTP Version 2
Disabling VTP Version 2
Enabling VTP Pruning
Disabling VTP Pruning
Displaying VTP Statistics
Understanding How VTP Version 3 Works
VTP Version 3 Authentication
VTP Version 3 Per-Port Configuration
VTP Version 3 Domains, Modes, and Partitions
VTP Version 3 Modes
VTP Version 3 Databases
Default VTP Version 3 Configuration
Configuring VTP Version 3
Enabling VTP Version 3
Changing VTP Version 3 Modes
Configuring VTP Version 3 Passwords
Configuring a VTP Version 3 Takeover
Disabling VTP Version 3 on a Per-Port Basis
VTP Version 3 show Commands
Configuring VLANs
Understanding How VLANs Work
VLAN Default Configuration
VLAN Configuration Guidelines
Configuring VLANs on the Switch
Creating or Modifying an Ethernet VLAN
Creating or Modifying a Normal-Range Ethernet VLAN
Creating or Modifying an Extended-Range VLAN
Assigning Switch Ports to a VLAN
Mapping 802.1Q VLANs to ISL VLANs
Clearing 802.1Q-to-ISL VLAN Mappings
Deleting a VLAN
Configuring Auxiliary VLANs
Configuring Private VLANs
Private VLAN Configuration Guidelines
Creating a Private VLAN
Viewing the Port Capability of a Private VLAN Port
Deleting a Private VLAN
Deleting an Isolated or Community VLAN
Deleting a Private VLAN Mapping
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
Understanding How VLAN Trunks Work
Default Trunk Configuration
Configuring a Trunk Link
Disabling VLAN 1 on a Trunk Link
Example VLAN Trunk Configurations
802.1Q Trunk over a Gigabit EtherChannel Link Example
Load-Sharing VLAN Traffic over Parallel Trunks Example
802.1Q Nonegotiate Trunk Configuration Example
Configuring Dynamic VLAN Membership with VMPS
Understanding How VMPS Works
VMPS and Dynamic Port Hardware and Software Requirements
Default VMPS and Dynamic Port Configuration
Configuration Guidelines for Dynamic Ports and VMPS
Configuring VMPS
Troubleshooting VMPS and Dynamic Port VLAN Membership
VMPS Example
Dynamic Port VLAN Membership with Auxiliary VLANs
Configuring GVRP
Understanding How GVRP Works
GVRP Hardware and Software Requirements
Default GVRP Configuration
GVRP Configuration Guidelines
Configuring GVRP on the Switch
Enabling GVRP Globally
Enabling GVRP on Individual 802.1Q Trunk Ports
Enabling GVRP Dynamic VLAN Creation
Configuring GVRP Registration
Sending GVRP VLAN Declarations from Blocking Ports
Setting the GARP Timers
Displaying GVRP Statistics
Clearing GVRP Statistics
Disabling GVRP on Individual 802.1Q Trunk Ports
Disabling GVRP Globally
Configuring QoS
Understanding How QoS Works
Software Requirements
QoS Default Configuration
Configuring QoS on the Switch
Enabling QoS Globally
Configuring the Default CoS Value for the Switch
Reverting to the Default Switch CoS Value
Mapping CoS Values to Transmit Queues and Drop Thresholds
Reverting to the Default CoS-to-Transmit Queue and Drop Threshold Mapping
Displaying QoS Information
Reverting to QoS Defaults
Disabling QoS
Configuring Multicast Services
Configuring Port Security
Understanding How Port Security Works
Allowing Traffic Based on the Host MAC Address
Restricting Traffic Based on the Host MAC Address
Blocking Unicast Flood Packets on Secure Ports
Port Security Configuration Guidelines
Configuring Port Security on the Switch
Enabling Port Security
Setting the Maximum Number of Secure MAC Addresses
Setting the Port Security Age Time
Clearing MAC Addresses
Configuring Unicast Flood Blocking on Secure Ports
Enabling MAC Address Notification
Setting the Security Violation Action
Setting the Shutdown Time
Disabling Port Security
Restricting Traffic for a Host MAC Address
Monitoring Port Security
Configuring Unicast Flood Blocking
Understanding How Unicast Flood Blocking Works
Configuration Guidelines for Unicast Flood Blocking
Configuring Unicast Flood Blocking on the Switch
Enabling Unicast Flood Blocking
Disabling Unicast Flood Blocking
Displaying Unicast Flood Blocking
Configuring the IP Permit List
Understanding How the IP Permit List Works
IP Permit List Default Configuration
Configuring the IP Permit List on the Switch
Adding IP Addresses to the IP Permit List
Enabling the IP Permit List
Disabling the IP Permit List
Clearing an IP Permit List Entry
Configuring Protocol Filtering
Understanding How Protocol Filtering Works
Default Protocol Filtering Configuration
Configuring Protocol Filtering on the Switch
Checking Status and Connectivity
Checking Module Status
Checking Port Status
Displaying the Port MAC Address
Displaying Port Capabilities
Using Telnet
Changing the Login Timer
Using Secure Shell Encryption for Telnet Sessions
Monitoring User Sessions
Using Ping
Using Layer 2 Traceroute
Using IP Traceroute
Configuring CDP
Understanding How CDP Works
Default CDP Configuration
Configuring CDP on the Switch
Setting the CDP Global Enable State
Setting the CDP Enable State on a Port
Setting the CDP Message Interval
Setting the CDP Holdtime
Displaying CDP Neighbor Information
Using Switch TopN Reports
Configuring UDLD
Understanding How UDLD Works
UDLD Software and Hardware Requirements
Default UDLD Configuration
Configuring UDLD on the Switch
Enabling UDLD Globally
Enabling UDLD on Individual Ports
Disabling UDLD on Individual Ports
Disabling UDLD Globally
Specifying the UDLD Message Interval
Enabling UDLD Aggressive Mode
Displaying the UDLD Configuration
Configuring SNMP
SNMP Terminology
Understanding How SNMP Works
Understanding How SNMPv1 and SNMPv2c Work
SNMPv1 and SNMPv2c Default Configuration
Configuring SNMPv1 and SNMPv2c from an NMS
Configuring SNMPv1 and SNMPv2c from the CLI
Understanding SNMPv3
Benefits of SNMPv3
SNMP Entity
Configuring SNMPv3 from an NMS
Configuring SNMPv3 from the CLI
Using CiscoWorks2000
Configuring RMON
Configuring SPAN and RSPAN
Administering the Switch
Setting the System Name and System Prompt
Setting the System Contact and Location
Setting the System Clock
Creating a Login Banner
Enabling or Disabling the “Cisco Systems Console” Telnet Login Banner
Defining and Using Command Aliases
Defining and Using IP Aliases
Configuring Permanent and Static ARP Entries
Configuring Static Routes
Scheduling a System Reset
Generating System Status Reports for Tech Support
Power Management
Understanding How Power Management Works on the Catalyst\x114500 Series Switches
Power Management Overview
Understanding Power Management Modes
Available Power for Power Supplies
Power Management Limitations
1400 W DC Power Supply Guidelines and Restrictions
Understanding How Power Management Works on the Catalyst\x114006 Switch
Understanding Power Redundancy
1+1 Redundancy Mode Guidelines and Restrictions
1+1 Redundancy Mode Limitations
Power Consumption for Modules
Migrating a Supervisor Engine II from a Catalyst 4006 Switch to a Catalyst\x114500 Series Switch
Understanding How Inline Power Works
Configuring Power Management
Setting Redundant Mode for the Catalyst 4500 Series Switches
Setting Combined Mode on the Catalyst 4500 Series Switches
Setting the DC Power Input
Setting the Power Budget for the Catalyst 4006 Switch
Displaying System Information
Migrating a Supervisor Engine II from a Catalyst 4006 Switch to a Catalyst 4500 Series Switch
Configuring Inline Power
Setting the Power Mode of a Port or Group of Ports
Setting the Default Power Allocation for a Port
Displaying the Power Status for Modules and Individual Ports
Configuring VoIP
Configuring Switch Access Using AAA
Understanding How Authentication Works
Understanding How Login Authentication Works
Understanding How Local Authentication Works
Understanding How Local User Authentication Works
Understanding How TACACS+ Authentication Works
Understanding How RADIUS Authentication Works
Understanding How Kerberos Authentication Works
Configuring Authentication
Authentication Default Configuration
Authentication Configuration Guidelines
Configuring Login Authentication
Configuring Local Authentication
Configuring Local User Authentication
Configuring TACACS+ Authentication
Configuring RADIUS Authentication
Configuring Kerberos Authentication
Authentication Example
Understanding How Authorization Works
Configuring Authorization
Authorization Default Configuration
TACACS+ Authorization Configuration Guidelines
Configuring TACACS+ Authorization
Authorization Example
Understanding How Accounting Works
Configuring Accounting
Accounting Example
Configuring 802.1x Authentication
Understanding How 802.1x Authentication Works
Device Roles
Authentication Initiation and Message Exchange
Ports in Authorized and Unauthorized States
Authentication Server
802.1x Parameters Configurable on the Switch
802.1x VLAN Assignment Using a RADIUS Server
Authentication Default Configuration
Authentication Configuration Guidelines
Configuring 802.1x Authentication on the Switch
Enabling 802.1x Globally
Disabling 802.1x Globally
Enabling and Initializing 802.1x Authentication for Individual Ports
Setting and Enabling Automatic Reauthentication of the Host
Manually Reauthenticating the Host
Enabling Multiple Hosts
Disabling Multiple Hosts
Setting the Quiet Period
Setting the Authenticator\x15to\x15Host Retransmission Time for EAP\x15Request/Identity Frames
Setting the Supplicant\x15to\x15Host Retransmission Time for EAP\x15Request Frames
Setting the Back\x15End Authenticator\x15to\x15Authentication\x15Server Retransmission Time for Transport Lay...
Setting the Back\x15End Authenticator\x15to\x15Host Frame\x15Retransmission Number
Setting the Shutdown Timeout Period
Setting the Back\x15End Authenticator\x15to\x15Host Frame\x15Retransmission Number
Setting the Back\x15End Authenticator\x15to\x15Host Frame\x15Retransmission Number
Resetting the 802.1x Configuration Parameters to the Default Values
Setting the Trace Severity
Using the show Commands
Modifying the Switch Boot Configuration
Understanding How the Switch Boot Configuration Works
Understanding the Boot Process
Understanding the ROM Monitor
Understanding the Configuration Register
Understanding the BOOT Environment Variable
Understanding the CONFIG_FILE Environment Variable
Default Switch Boot Configuration
Setting the Configuration Register
Setting the Boot Field in the Configuration Register
Setting CONFIG_FILE Recurrence
Setting the Switch to Ignore the NVRAM Configuration
Setting the BOOT Environment Variable
Setting and Clearing the CONFIG_FILE Environment Variable
Displaying the Switch Boot Configuration
Working with System Software Images
Software Image Naming Conventions
Downloading System Software Images to the Switch Using\x11TFTP
Understanding How TFTP Software Image Downloads Work
Preparing to Download an Image Using TFTP
Downloading Supervisor Engine Images Using TFTP
Sample TFTP Download Procedures
Uploading System Software Images to a TFTP Server
Downloading System Software Images to the Switch Using rcp
Understanding How rcp Software Image Downloads Work
Preparing to Download an Image Using rcp
Downloading Supervisor Engine Images Using rcp
Sample rcp Download Procedures
Uploading System Software Images to an rcp Server
Upgrading the ROM Monitor
Working With the Flash File System
Working with Configuration Files
Creating and Using Configuration Files Guidelines
Creating a Configuration File
Configuring the Switch Using a File in Flash Memory
Copying Configuration Files Using TFTP
Copying Configuration Files Using rcp
Clearing the Configuration
Configuring Switch Acceleration
Configuring System Message Logging
Understanding How System Message Logging Works
System Log Message Format
Default System Message Logging Configuration
System Log Message Format
Configuring System Message Logging on the Switch
Configuring Session Logging Settings
Configuring the System Message Logging Levels
Enabling and Disabling the Logging Time Stamp
Setting the Logging Buffer Size
Limiting the Number of syslog Messages
Configuring the syslog Daemon on a UNIX syslog Server
Configuring syslog Servers
Displaying the Logging Configuration
Displaying System Messages
Configuring DNS
Understanding How DNS Works
Default DNS Configuration
Configuring DNS on the Switch
Configuring NTP
Understanding How NTP Works
Default NTP Configuration
Configuring NTP on the Switch
Enabling NTP in Broadcast-Client Mode
Configuring NTP in Client Mode
Configuring Authentication in Client Mode
Setting the Time Zone
Enabling the Daylight Saving Time Adjustment
Disabling the Daylight Saving Time Adjustment
Clearing the Time Zone
Clearing NTP Servers
Disabling NTP