Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
Customer Order Number: DOC-7816881=
Text Part Number: 78-16881-01
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn,
and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the
Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering the Internet
Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise,
the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX,
Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StrataView Plus, TeleRouter, The Fastest Way to Increase Your Internet Quotient,
and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship
between Cisco and any other company. (0502R)
Cisco Technical Support & Documentation Websitexxxii
Submitting a Service Requestxxxii
Definitions of Service Request Severityxxxiii
Obtaining Additional Publications and Informationxxxiii
1Overview1-1
Features1-1
Ease-of-Use and Ease-of-Deployment Features1-2
Performance Features1-3
Management Options1-3
Manageability Features1-4
Availability Features1-5
VLAN Features1-6
Security Features1-6
QoS and CoS Features1-7
Monitoring Features1-8
Default Settings After Initial Switch Configuration1-8
78-16881-01
Network Configuration Examples1-11
Design Concepts for Using the Switch1-11
Small to Medium-Sized Network Using Catalyst 2960 Switches1-14
Long-Distance, High-Bandwidth Transport Configuration1-15
Catalyst 2960 Switch Software Configuration Guide
iii
Contents
Where to Go Next1-16
CHAPTER
2Using the Command-Line Interface2-1
Understanding Command Modes2-1
Understanding the Help System2-3
Understanding Abbreviated Commands2-4
Understanding no and default Forms of Commands2-4
Understanding CLI Error Messages2-5
Using Command History2-5
Changing the Command History Buffer Size2-5
Recalling Commands2-6
Disabling the Command History Feature2-6
Using Editing Features2-6
Enabling and Disabling Editing Features2-7
Editing Commands through Keystrokes2-7
Editing Command Lines that Wrap2-8
Searching and Filtering Output of show and more Commands2-9
Accessing the CLI2-9
Accessing the CLI through a Console Connection or through Telnet2-10
CHAPTER
3Assigning the Switch IP Address and Default Gateway3-1
DHCP Server Configuration Guidelines3-5
Configuring the TFTP Server3-5
Configuring the DNS3-6
Configuring the Relay Device3-6
Obtaining Configuration Files3-7
Example Configuration3-8
Manually Assigning IP Information3-9
Checking and Saving the Running Configuration3-10
Modifying the Startup Configuration3-11
Default Boot Configuration3-12
Automatically Downloading a Configuration File3-12
iv
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Specifying the Filename to Read and Write the System Configuration3-12
Booting Manually3-13
Booting a Specific Software Image3-13
Controlling Environment Variables3-14
Scheduling a Reload of the Software Image3-15
Configuring a Scheduled Reload3-16
Displaying Scheduled Reload Information3-17
Contents
CHAPTER
4Configuring IE2100 CNS Agents4-1
Understanding IE2100 Series Configuration Registrar Software4-1
CNS Configuration Service4-2
CNS Event Service4-3
NameSpace Mapper4-3
What You Should Know About ConfigID, DeviceID, and Hostname4-3
ConfigID4-3
DeviceID4-4
Hostname and DeviceID4-4
Using Hostname, DeviceID, and ConfigID4-4
Enabling Automated CNS Configuration4-6
Enabling the CNS Event Agent4-8
Enabling the CNS Configuration Agent4-9
Enabling an Initial Configuration4-9
Enabling a Partial Configuration4-12
CHAPTER
78-16881-01
Displaying CNS Configuration4-13
5Clustering Switches5-1
Understanding Switch Clusters5-1
Clustering Overview5-1
Cluster Command Switch Characteristics5-2
Standby Cluster Command Switch Characteristics5-2
Candidate Switch and Cluster Member Switch Characteristics5-3
Using the CLI to Manage Switch Clusters5-3
Catalyst 1900 and Catalyst 2820 CLI Considerations5-4
Using SNMP to Manage Switch Clusters5-4
Catalyst 2960 Switch Software Configuration Guide
v
Contents
CHAPTER
6Administering the Switch6-1
Managing the System Time and Date6-1
Understanding the System Clock 6-2
Understanding Network Time Protocol6-2
Configuring NTP6-4
Default NTP Configuration6-4
Configuring NTP Authentication6-5
Configuring NTP Associations6-6
Configuring NTP Broadcast Service6-7
Configuring NTP Access Restrictions6-8
Configuring the Source IP Address for NTP Packets6-10
Displaying the NTP Configuration6-11
Configuring Time and Date Manually6-11
Setting the System Clock6-11
Displaying the Time and Date Configuration6-12
Configuring the Time Zone 6-12
Configuring Summer Time (Daylight Saving Time)6-13
Configuring a System Name and Prompt6-14
Default System Name and Prompt Configuration6-15
Configuring a System Name6-15
Understanding DNS6-15
Default DNS Configuration6-16
Setting Up DNS6-16
Displaying the DNS Configuration6-17
vi
Creating a Banner6-17
Default Banner Configuration6-17
Configuring a Message-of-the-Day Login Banner6-18
Configuring a Login Banner6-18
Managing the MAC Address Table6-19
Building the Address Table6-20
MAC Addresses and VLANs6-20
Default MAC Address Table Configuration6-20
Changing the Address Aging Time6-21
Removing Dynamic Address Entries6-21
Configuring MAC Address Notification Traps6-21
Adding and Removing Static Address Entries6-23
Configuring Unicast MAC Address Filtering6-24
Displaying Address Table Entries6-25
Default Password and Privilege Level Configuration8-2
Setting or Changing a Static Enable Password8-3
Protecting Enable and Enable Secret Passwords with Encryption8-3
Disabling Password Recovery8-5
Setting a Telnet Password for a Terminal Line8-6
Configuring Username and Password Pairs8-7
Configuring Multiple Privilege Levels8-8
Setting the Privilege Level for a Command8-8
Changing the Default Privilege Level for Lines8-9
Logging into and Exiting a Privilege Level8-10
Default TACACS+ Configuration8-13
Identifying the TACACS+ Server Host and Setting the Authentication Key8-13
Configuring TACACS+ Login Authentication8-14
Configuring TACACS+ Authorization for Privileged EXEC Access and Network Services8-16
Starting TACACS+ Accounting8-17
Default RADIUS Configuration8-20
Identifying the RADIUS Server Host 8-20
Configuring RADIUS Login Authentication8-23
Defining AAA Server Groups8-25
78-16881-01
Catalyst 2960 Switch Software Configuration Guide
vii
Contents
Configuring RADIUS Authorization for User Privileged Access and Network Services8-27
Starting RADIUS Accounting8-28
Configuring Settings for All RADIUS Servers8-29
Configuring the Switch to Use Vendor-Specific RADIUS Attributes8-29
Configuring the Switch for Vendor-Proprietary RADIUS Server Communication8-30
Displaying the RADIUS Configuration8-31
Configuring the Switch for Local Authentication and Authorization8-32
Configuring the Switch for Secure Shell8-33
Understanding SSH8-33
SSH Servers, Integrated Clients, and Supported Versions8-33
Limitations8-34
Configuring SSH8-34
Configuration Guidelines8-34
Setting Up the Switch to Run SSH8-35
Configuring the SSH Server8-36
Displaying the SSH Configuration and Status8-36
CHAPTER
Configuring the Switch for Secure Socket Layer HTTP8-37
Default SSL Configuration8-39
SSL Configuration Guidelines8-40
Configuring a CA Trustpoint8-40
Configuring the Secure HTTP Server8-41
Configuring the Secure HTTP Client8-42
Displaying Secure HTTP Server and Client Status8-43
Device Roles9-2
Authentication Initiation and Message Exchange9-3
Ports in Authorized and Unauthorized States9-4
IEEE 802.1x Accounting9-5
IEEE 802.1x Accounting Attribute-Value Pairs9-5
IEEE 802.1x Host Mode9-6
Using IEEE 802.1x with Port Security9-7
Using IEEE 802.1x with Voice VLAN Ports9-8
viii
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Using IEEE 802.1x with VLAN Assignment9-8
Using IEEE 802.1x with Guest VLAN9-10
Configuring IEEE 802.1x Authentication9-10
Default IEEE 802.1x Configuration9-11
IEEE 802.1x Configuration Guidelines9-12
Configuring IEEE 802.1x Authentication9-12
Configuring the Switch-to-RADIUS-Server Communication9-14
Configuring Periodic Re-Authentication9-15
Manually Re-Authenticating a Client Connected to a Port9-15
Changing the Quiet Period9-16
Changing the Switch-to-Client Retransmission Time9-16
Setting the Switch-to-Client Frame-Retransmission Number9-17
Setting the Re-Authentication Number9-17
Configuring the Host Mode9-18
Configuring a Guest VLAN9-19
Resetting the IEEE 802.1x Configuration to the Default Values9-20
Configuring IEEE 802.1x Accounting9-21
Contents
CHAPTER
Displaying IEEE 802.1x Statistics and Status9-22
10Configuring Interface Characteristics10-1
Understanding Interface Types10-1
Port-Based VLANs10-2
Switch Ports10-2
Access Ports10-2
Trunk Ports10-3
EtherChannel Port Groups10-3
Dual-Purpose Uplink Ports10-4
Connecting Interfaces10-4
Using Interface Configuration Mode10-4
Procedures for Configuring Interfaces10-5
Configuring a Range of Interfaces10-6
Configuring and Using Interface Range Macros10-7
Configuring Ethernet Interfaces10-9
Default Ethernet Interface Configuration10-9
Configuring Interface Speed and Duplex Mode10-10
Speed and Duplex Configuration Guidelines10-11
Setting the Type of a Dual-Purpose Uplink Port10-11
Setting the Interface Speed and Duplex Parameters10-13
78-16881-01
Catalyst 2960 Switch Software Configuration Guide
ix
Contents
Configuring IEEE 802.3x Flow Control10-14
Configuring Auto-MDIX on an Interface10-15
Adding a Description for an Interface10-16
Configuring the System MTU10-16
Monitoring and Maintaining the Interfaces10-18
Monitoring Interface Status10-18
Clearing and Resetting Interfaces and Counters10-19
Shutting Down and Restarting the Interface10-19
VLAN Configuration in VLAN Database Configuration Mode12-6
Saving VLAN Configuration12-6
Default Ethernet VLAN Configuration12-7
Creating or Modifying an Ethernet VLAN12-8
Deleting a VLAN12-9
Assigning Static-Access Ports to a VLAN12-10
VTP Configuration in Global Configuration Mode13-7
VTP Configuration in VLAN Database Configuration Mode13-7
VTP Configuration Guidelines13-8
Domain Names13-8
Passwords13-8
VTP Version13-8
Configuration Requirements13-9
Configuring a VTP Server13-9
Configuring a VTP Client13-11
Disabling VTP (VTP Transparent Mode)13-12
Enabling VTP Version 213-13
Enabling VTP Pruning13-14
Adding a VTP Client Switch to a VTP Domain13-14
Monitoring VTP13-16
CHAPTER
CHAPTER
14Configuring Voice VLAN14-1
Understanding Voice VLAN14-1
Cisco IP Phone Voice Traffic14-2
Cisco IP Phone Data Traffic14-2
Configuring Voice VLAN14-3
Default Voice VLAN Configuration14-3
Voice VLAN Configuration Guidelines14-3
Configuring a Port Connected to a Cisco 7960 IP Phone14-4
Configuring IP Phone Voice Traffic14-5
Configuring the Priority of Incoming Data Frames14-6
Displaying Voice VLAN14-6
15Configuring STP15-1
Understanding Spanning-Tree Features15-1
STP Overview15-2
Spanning-Tree Topology and BPDUs15-3
Bridge ID, Switch Priority, and Extended System ID15-4
Spanning-Tree Interface States15-4
Blocking State15-6
Listening State15-6
Learning State15-6
Forwarding State15-6
Disabled State15-7
xii
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
How a Switch or Port Becomes the Root Switch or Root Port15-7
Spanning Tree and Redundant Connectivity15-8
Spanning-Tree Address Management15-8
Accelerated Aging to Retain Connectivity15-8
Spanning-Tree Modes and Protocols15-9
Supported Spanning-Tree Instances15-9
Spanning-Tree Interoperability and Backward Compatibility15-10
STP and IEEE 802.1Q Trunks15-10
Configuring Spanning-Tree Features15-10
Default Spanning-Tree Configuration15-11
Spanning-Tree Configuration Guidelines15-11
Changing the Spanning-Tree Mode.15-12
Disabling Spanning Tree15-13
Configuring the Root Switch15-14
Configuring a Secondary Root Switch15-15
Configuring Port Priority15-16
Configuring Path Cost15-17
Configuring the Switch Priority of a VLAN15-19
Configuring Spanning-Tree Timers15-19
Configuring the Hello Time15-20
Configuring the Forwarding-Delay Time for a VLAN15-21
Configuring the Maximum-Aging Time for a VLAN15-21
Contents
CHAPTER
Displaying the Spanning-Tree Status15-22
16Configuring MSTP16-1
Understanding MSTP16-2
Multiple Spanning-Tree Regions16-2
IST, CIST, and CST16-3
Operations Within an MST Region16-3
Operations Between MST Regions16-4
Hop Count16-5
Boundary Ports16-5
Interoperability with IEEE 802.1D STP16-5
Understanding RSTP16-6
Port Roles and the Active Topology16-6
Rapid Convergence16-7
Synchronization of Port Roles16-8
78-16881-01
Catalyst 2960 Switch Software Configuration Guide
xiii
Contents
Bridge Protocol Data Unit Format and Processing16-9
Processing Superior BPDU Information16-10
Processing Inferior BPDU Information16-10
Topology Changes16-10
Configuring MSTP Features16-11
Default MSTP Configuration16-11
MSTP Configuration Guidelines16-12
Specifying the MST Region Configuration and Enabling MSTP16-13
Configuring the Root Switch16-14
Configuring a Secondary Root Switch16-15
Configuring Port Priority 16-16
Configuring Path Cost16-17
Configuring the Switch Priority16-18
Configuring the Hello Time16-19
Configuring the Forwarding-Delay Time16-20
Configuring the Maximum-Aging Time16-20
Configuring the Maximum-Hop Count16-21
Specifying the Link Type to Ensure Rapid Transitions16-21
Restarting the Protocol Migration Process16-22
Default DHCP Configuration19-7
DHCP Snooping Configuration Guidelines19-7
Configuring the DHCP Relay Agent 19-8
Enabling DHCP Snooping and Option 8219-9
Enabling the DHCP Snooping Binding Database Agent19-10
CHAPTER
78-16881-01
Displaying DHCP Snooping Information19-11
20Configuring IGMP Snooping and MVR20-1
Understanding IGMP Snooping20-1
IGMP Versions20-2
Joining a Multicast Group20-3
Leaving a Multicast Group20-4
Immediate Leave 20-5
IGMP Configurable-Leave Timer20-5
IGMP Report Suppression20-5
Catalyst 2960 Switch Software Configuration Guide
xv
Contents
Configuring IGMP Snooping20-6
Default IGMP Snooping Configuration20-6
Enabling or Disabling IGMP Snooping20-6
Setting the Snooping Method20-7
Configuring a Multicast Router Port20-8
Configuring a Host Statically to Join a Group20-9
Enabling IGMP Immediate Leave20-9
Configuring the IGMP Leave Timer20-10
Configuring TCN-Related Commands20-11
Controlling the Multicast Flooding Time After a TCN Event20-11
Recovering from Flood Mode20-12
Disabling Multicast Flooding During a TCN Event20-12
Configuring the IGMP Snooping Querier20-13
Disabling IGMP Report Suppression20-14
Displaying IGMP Snooping Information20-14
CHAPTER
Understanding Multicast VLAN Registration20-16
Using MVR in a Multicast Television Application20-16
Configuring MVR20-18
Default MVR Configuration20-18
MVR Configuration Guidelines and Limitations20-18
Configuring MVR Global Parameters20-19
Configuring MVR Interfaces20-20
Displaying MVR Information20-21
Configuring IGMP Filtering and Throttling20-22
Default IGMP Filtering and Throttling Configuration20-23
Configuring IGMP Profiles20-23
Applying IGMP Profiles20-24
Setting the Maximum Number of IGMP Groups20-25
Configuring the IGMP Throttling Action20-25
Displaying IGMP Filtering and Throttling Configuration20-27
21Configuring Port-Based Traffic Control21-1
Configuring Storm Control21-1
Understanding Storm Control21-1
Default Storm Control Configuration21-3
Configuring Storm Control and Threshold Levels21-3
xvi
Configuring Protected Ports21-5
Default Protected Port Configuration21-5
Protected Port Configuration Guidelines21-6
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Configuring a Protected Port21-6
Configuring Port Blocking21-6
Default Port Blocking Configuration21-6
Blocking Flooded Traffic on an Interface21-7
Configuring Port Security21-7
Understanding Port Security21-8
Secure MAC Addresses21-8
Security Violations21-9
Default Port Security Configuration21-10
Port Security Configuration Guidelines21-10
Enabling and Configuring Port Security21-11
Enabling and Configuring Port Security Aging21-15
Displaying Port-Based Traffic Control Settings21-16
Contents
CHAPTER
CHAPTER
22Configuring CDP22-1
Understanding CDP22-1
Configuring CDP22-2
Default CDP Configuration22-2
Configuring the CDP Characteristics22-2
Disabling and Enabling CDP22-3
Disabling and Enabling CDP on an Interface22-4
Monitoring and Maintaining CDP22-5
23Configuring SPAN and RSPAN23-1
Understanding SPAN and RSPAN23-1
Local SPAN23-2
Remote SPAN23-2
SPAN and RSPAN Concepts and Terminology23-3
SPAN Sessions23-3
Monitored Traffic23-4
Source Ports23-5
Source VLANs23-6
VLAN Filtering23-6
Destination Port23-6
RSPAN VLAN23-8
SPAN and RSPAN Interaction with Other Features23-8
78-16881-01
Configuring SPAN and RSPAN23-9
Default SPAN and RSPAN Configuration23-9
Configuring Local SPAN23-10
Catalyst 2960 Switch Software Configuration Guide
xvii
Contents
SPAN Configuration Guidelines23-10
Creating a Local SPAN Session23-10
Creating a Local SPAN Session and Configuring Incoming Traffic23-13
Specifying VLANs to Filter23-15
Configuring RSPAN23-16
RSPAN Configuration Guidelines23-16
Configuring a VLAN as an RSPAN VLAN23-17
Creating an RSPAN Source Session23-18
Creating an RSPAN Destination Session23-19
Creating an RSPAN Destination Session and Configuring Incoming Traffic23-20
Specifying VLANs to Filter23-22
Displaying SPAN and RSPAN Status23-23
CHAPTER
CHAPTER
24Configuring UDLD24-1
Understanding UDLD24-1
Modes of Operation24-1
Methods to Detect Unidirectional Links24-2
Configuring UDLD24-4
Default UDLD Configuration24-4
Configuration Guidelines24-4
Enabling UDLD Globally24-5
Enabling UDLD on an Interface24-5
Resetting an Interface Disabled by UDLD24-6
Displaying UDLD Status24-6
25Configuring RMON25-1
Understanding RMON25-1
Configuring RMON25-2
Default RMON Configuration25-3
Configuring RMON Alarms and Events25-3
Collecting Group History Statistics on an Interface25-5
Collecting Group Ethernet Statistics on an Interface25-6
CHAPTER
xviii
Displaying RMON Status25-6
26Configuring System Message Logging26-1
Understanding System Message Logging26-1
Configuring System Message Logging26-2
System Log Message Format26-2
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Default System Message Logging Configuration26-3
Disabling Message Logging26-3
Setting the Message Display Destination Device26-4
Synchronizing Log Messages26-5
Enabling and Disabling Time Stamps on Log Messages26-7
Enabling and Disabling Sequence Numbers in Log Messages26-7
Defining the Message Severity Level26-8
Limiting Syslog Messages Sent to the History Table and to SNMP26-9
Configuring UNIX Syslog Servers26-10
Logging Messages to a UNIX Syslog Daemon26-11
Configuring the UNIX System Logging Facility26-11
Displaying the Logging Configuration26-12
Contents
CHAPTER
27Configuring SNMP27-1
Understanding SNMP27-1
SNMP Versions27-2
SNMP Manager Functions27-3
SNMP Agent Functions27-4
SNMP Community Strings27-4
Using SNMP to Access MIB Variables 27-4
SNMP Notifications27-5
SNMP ifIndex MIB Object Values27-5
Configuring SNMP27-6
Default SNMP Configuration27-6
SNMP Configuration Guidelines27-7
Disabling the SNMP Agent27-8
Configuring Community Strings27-8
Configuring SNMP Groups and Users27-9
Configuring SNMP Notifications27-11
Setting the Agent Contact and Location Information27-14
Limiting TFTP Servers Used Through SNMP27-15
SNMP Examples27-15
CHAPTER
78-16881-01
Displaying SNMP Status27-16
28Configuring Network Security with ACLs28-1
Understanding ACLs28-1
Port ACLs28-2
Handling Fragmented and Unfragmented Traffic28-3
Catalyst 2960 Switch Software Configuration Guide
xix
Contents
Configuring IPv4 ACLs28-4
Creating Standard and Extended IPv4 ACLs28-5
Access List Numbers28-6
Creating a Numbered Standard ACL28-7
Creating a Numbered Extended ACL28-8
Resequencing ACEs in an ACL28-12
Creating Named Standard and Extended ACLs28-12
Using Time Ranges with ACLs28-14
Including Comments in ACLs28-15
Applying an IPv4 ACL to a Terminal Line28-16
Applying an IPv4 ACL to an Interface28-17
Hardware and Software Treatment of IP ACLs28-17
IPv4 ACL Configuration Examples28-18
Numbered ACLs28-18
Extended ACLs28-18
Named ACLs28-19
Time Range Applied to an IP ACL28-19
Commented IP ACL Entries28-19
CHAPTER
Creating Named MAC Extended ACLs28-20
Applying a MAC ACL to a Layer 2 Interface28-21
Displaying IPv4 ACL Configuration28-22
29Configuring QoS29-1
Understanding QoS29-1
Basic QoS Model29-3
Classification29-5
Classification Based on QoS ACLs29-7
Classification Based on Class Maps and Policy Maps29-7
Policing and Marking29-8
Policing on Physical Ports29-9
Mapping Tables29-10
Queueing and Scheduling Overview29-11
Weighted Tail Drop29-12
SRR Shaping and Sharing29-12
Queueing and Scheduling on Ingress Queues29-13
Queueing and Scheduling on Egress Queues29-15
Packet Modification29-18
xx
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Configuring Auto-QoS29-19
Generated Auto-QoS Configuration29-19
Effects of Auto-QoS on the Configuration29-24
Auto-QoS Configuration Guidelines29-24
Enabling Auto-QoS for VoIP29-25
Auto-QoS Configuration Example29-26
General QoS Guidelines29-32
Enabling QoS Globally29-32
Configuring Classification Using Port Trust States29-32
Configuring the Trust State on Ports within the QoS Domain29-33
Configuring the CoS Value for an Interface29-34
Configuring a Trusted Boundary to Ensure Port Security29-35
Enabling DSCP Transparency Mode29-36
Configuring the DSCP Trust State on a Port Bordering Another QoS Domain29-37
Configuring a QoS Policy29-39
Classifying Traffic by Using ACLs29-40
Classifying Traffic by Using Class Maps29-43
Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps 29-45
Classifying, Policing, and Marking Traffic by Using Aggregate Policers29-48
Configuring DSCP Maps29-51
Configuring the CoS-to-DSCP Map29-51
Configuring the IP-Precedence-to-DSCP Map29-52
Configuring the Policed-DSCP Map29-53
Configuring the DSCP-to-CoS Map29-54
Configuring the DSCP-to-DSCP-Mutation Map29-55
Configuring Ingress Queue Characteristics29-57
Mapping DSCP or CoS Values to an Ingress Queue and Setting WTD Thresholds29-57
Allocating Buffer Space Between the Ingress Queues29-59
Allocating Bandwidth Between the Ingress Queues29-60
Configuring the Ingress Priority Queue29-61
Contents
78-16881-01
Catalyst 2960 Switch Software Configuration Guide
xxi
Contents
Configuring Egress Queue Characteristics29-62
Configuration Guidelines29-62
Allocating Buffer Space to and Setting WTD Thresholds for an Egress Queue-Set29-62
Mapping DSCP or CoS Values to an Egress Queue and to a Threshold ID29-64
Configuring SRR Shaped Weights on Egress Queues29-66
Configuring SRR Shared Weights on Egress Queues29-67
Configuring the Egress Expedite Queue29-68
Limiting the Bandwidth on an Egress Interface29-68
Displaying Standard QoS Information29-69
CHAPTER
30Configuring EtherChannels30-1
Understanding EtherChannels30-1
EtherChannel Overview30-2
Port-Channel Interfaces30-3
Port Aggregation Protocol30-4
PAgP Modes30-4
PAgP Interaction with Other Features30-5
Link Aggregation Control Protocol30-5
LACP Modes30-5
LACP Interaction with Other Features30-6
EtherChannel On Mode30-6
Load Balancing and Forwarding Methods30-6
Displaying EtherChannel, PAgP, and LACP Status30-16
31Troubleshooting31-1
Recovering from a Software Failure31-2
Recovering from a Lost or Forgotten Password31-3
Procedure with Password Recovery Enabled31-4
Procedure with Password Recovery Disabled31-6
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Recovering from a Command Switch Failure31-7
Replacing a Failed Command Switch with a Cluster Member31-8
Replacing a Failed Command Switch with Another Switch31-9
Recovering from Lost Cluster Member Connectivity31-11
Preventing Autonegotiation Mismatches31-11
SFP Module Security and Identification31-11
Monitoring SFP Module Status31-12
Using Ping31-12
Understanding Ping 31-12
Executing Ping31-13
Using Layer 2 Traceroute31-13
Understanding Layer 2 Traceroute31-14
Usage Guidelines31-14
Displaying the Physical Path31-15
Contents
APPENDIX
APPENDIX
Using IP Traceroute31-15
Understanding IP Traceroute 31-15
Executing IP Traceroute31-16
Using TDR31-17
Understanding TDR31-17
Running TDR and Displaying the Results31-17
Using Debug Commands31-18
Enabling Debugging on a Specific Feature31-18
Enabling All-System Diagnostics31-19
Redirecting Debug and Error Message Output31-19
Using the show platform forward Command31-19
Using the crashinfo File31-21
ASupported MIBsA-1
MIB ListA-1
Using FTP to Access the MIB FilesA-3
BWorking with the Cisco IOS File System, Configuration Files, and Software ImagesB-1
78-16881-01
Working with the Flash File SystemB-1
Displaying Available File SystemsB-2
Setting the Default File SystemB-3
Displaying Information about Files on a File SystemB-3
Changing Directories and Displaying the Working DirectoryB-3
Creating and Removing DirectoriesB-4
Catalyst 2960 Switch Software Configuration Guide
xxiii
Contents
Copying FilesB-4
Deleting FilesB-5
Creating, Displaying, and Extracting tar FilesB-5
Creating a tar FileB-6
Displaying the Contents of a tar FileB-6
Extracting a tar FileB-7
Displaying the Contents of a FileB-8
Working with Configuration FilesB-8
Guidelines for Creating and Using Configuration FilesB-9
Configuration File Types and LocationB-9
Creating a Configuration File By Using a Text EditorB-10
Copying Configuration Files By Using TFTPB-10
Preparing to Download or Upload a Configuration File By Using TFTPB-10
Downloading the Configuration File By Using TFTPB-11
Uploading the Configuration File By Using TFTPB-11
Copying Configuration Files By Using FTPB-12
Preparing to Download or Upload a Configuration File By Using FTPB-13
Downloading a Configuration File By Using FTPB-13
Uploading a Configuration File By Using FTPB-14
Copying Configuration Files By Using RCPB-15
Preparing to Download or Upload a Configuration File By Using RCPB-16
Downloading a Configuration File By Using RCPB-17
Uploading a Configuration File By Using RCPB-18
Clearing Configuration InformationB-18
Clearing the Startup Configuration FileB-19
Deleting a Stored Configuration FileB-19
xxiv
Working with Software ImagesB-19
Image Location on the SwitchB-20
tar File Format of Images on a Server or Cisco.comB-20
Copying Image Files By Using TFTPB-21
Preparing to Download or Upload an Image File By Using TFTPB-21
Downloading an Image File By Using TFTPB-22
Uploading an Image File By Using TFTPB-24
Copying Image Files By Using FTPB-24
Preparing to Download or Upload an Image File By Using FTPB-25
Downloading an Image File By Using FTPB-26
Uploading an Image File By Using FTPB-28
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Copying Image Files By Using RCPB-29
Preparing to Download or Upload an Image File By Using RCPB-29
Downloading an Image File By Using RCPB-31
Uploading an Image File By Using RCPB-32
Contents
APPENDIX
APPENDIX
CRecommendations for Upgrading a Catalyst 2950 Switch to a Catalyst 2960 SwitchC-1
Configuration Compatibility IssuesC-1
Feature Behavior IncompatibilitiesC-5
DUnsupported Commands in Cisco IOS Release 12.2(25)FXD-1
Access Control ListsD-1
Unsupported Privileged EXEC CommandsD-1
Unsupported Global Configuration CommandsD-1
Unsupported Privileged EXEC CommandsD-2
Unsupported Global Configuration CommandsD-3
78-16881-01
MiscellaneousD-3
Unsupported Privileged EXEC CommandsD-3
Unsupported Global Configuration CommandsD-3
Network Address Translation (NAT) CommandsD-3
Unsupported Privileged EXEC CommandsD-3
QoSD-3
Unsupported Global Configuration CommandsD-3
Unsupported Interface Configuration CommandsD-4
RADIUSD-4
Unsupported Global Configuration CommandsD-4
SNMPD-4
Unsupported Global Configuration CommandsD-4
Catalyst 2960 Switch Software Configuration Guide
xxv
I
NDEX
Contents
Spanning TreeD-4
Unsupported Global Configuration CommandD-4
Unsupported Interface Configuration CommandD-4
VLAND-4
Unsupported Global Configuration CommandsD-4
Unsupported vlan-config CommandD-5
Unsupported User EXEC CommandsD-5
VTPD-5
Unsupported Privileged EXEC CommandsD-5
xxvi
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Audience
Purpose
Preface
This guide is for the networking professional managing the Catalyst 2960 switch, hereafter referred to
as the switch. Before using this guide, you should have experience working with the Cisco IOS software
and be familiar with the concepts and terminology of Ethernet and local area networking.
This guide provides the information that you need to configure Cisco IOS software features on your
switch. The Catalyst 2960 software provides enterprise-class intelligent services such as access control
lists (ACLs) and quality of service (QoS) features.
This guide provides procedures for using the commands that have been created or changed for use with
the Catalyst 2960 switch. It does not provide detailed information about these commands. For detailed
information about these commands, see the Catalyst 2960 Switch Command Reference for this release.
For information about the standard Cisco IOS Release 12.2 commands, see the Cisco IOS documentation
set available from the Cisco.com home page at Technical Support & Documentation > Cisco IOS Software.
This guide does not provide detailed information on the graphical user interfaces (GUIs) for the
embedded device manager or for Cisco Network Assistant (hereafter referred to as Network Assistant)
that you can use to manage the switch. However, the concepts in this guide are applicable to the GUI
user. For information about the device manager, see the switch online help. For information about
Network Assistant, see Getting Started with Cisco Network Assistant, available on Cisco.com
This guide does not describe system messages you might encounter or how to install your switch. For
more information, see the Catalyst 2960 Switch System Message Guide for this release and to the
Catalyst 2960 Switch Hardware Installation Guide.
For documentation updates, see the release notes for this release.
78-16881-01
Catalyst 2960 Switch Software Configuration Guide
xxvii
Conventions
Conventions
This publication uses these conventions to convey instructions and information:
Command descriptions use these conventions:
Interactive examples use these conventions:
Notes, cautions, and timesavers use these conventions and symbols:
Preface
• Commands and keywords are in boldface text.
• Arguments for which you supply values are in italic.
• Square brackets ([ ]) mean optional elements.
• Braces ({ }) group required choices, and vertical bars ( | ) separate the alternative elements.
• Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional
element.
• Terminal sessions and system displays are in screen font.
• Information you enter is in boldface screen font.
• Nonprinting characters, such as passwords or tabs, are in angle brackets (< >).
NoteMeans reader take note. Notes contain helpful suggestions or references to materials not contained in
this manual.
CautionMeans reader be careful. In this situation, you might do something that could result in equipment
damage or loss of data.
Related Publications
These documents provide complete information about the switch and are available from this Cisco.com
site:
NoteBefore installing, configuring, or upgrading the switch, see these documents:
• For initial configuration information, see the “Using Express Setup” chapter in the getting started
guide or the “Configuring the Switch with the CLI-Based Setup Program” appendix in the hardware
installation guide.
• For device manager requirements, see the “System Requirements” section in the release notes (not
orderable but available on Cisco.com).
xxviii
• For Network Assistant requirements, see the Getting Started with Cisco Network Assistant (not
orderable but available on Cisco.com).
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Preface
Obtaining Documentation
• For cluster requirements, see the Release Notes for Cisco Network Assistant (not orderable but
available on Cisco.com).
• For upgrading information, see the “Downloading Software” section in the release notes.
You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com sites and
from the telephone numbers listed in the “Obtaining Documentation” section on page xxix.
• Release Notes for the Catalyst 2960 Switches (not orderable but available on Cisco.com)
• Catalyst 2960 Switch Software Configuration Guide (order number DOC-7816881=)
• Catalyst 2960 Switch Command Reference (order number DOC-7816882=)
• Catalyst 2960 Switch System Message Guide (order number DOC-7816883=)
• Device manager online help (available on the switch)
• Catalyst 2960 Switch Hardware Installation Guide (not orderable but available on Cisco.com)
• Catalyst 2960 Switch Getting Started Guide (order number DOC-7816879=)
• Regulatory Compliance and Safety Information for the Catalyst 2960 Switch (order number
DOC-7816880=)
• Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com)
• Release Notes for Cisco Network Assistant (not orderable but available on Cisco.com)
• Cisco Small Form-Factor Pluggable Modules Installation Notes (order number DOC-7815160=)
• Cisco CWDM GBIC and CWDM SFP Installation Note (not orderable but available on Cisco.com)
• Cisco RPS 300 Redundant Power System Hardware Installation Guide (order number
DOC-7810372=)
• Cisco RPS 675 Redundant Power System Hardware Installation Guide (order number
DOC-7815201=)
Obtaining Documentation
Cisco documentation and additional literature are available on Cisco.com. Cisco also provides several
ways to obtain technical assistance and other technical resources. These sections explain how to obtain
technical information from Cisco Systems.
Cisco.com
You can access the most current Cisco documentation at this URL:
http://www.cisco.com/techsupport
You can access the Cisco website at this URL:
78-16881-01
http://www.cisco.com
You can access international Cisco websites at this URL:
Cisco documentation and additional literature are available in the Product Documentation DVD package,
which may have shipped with your product. The Product Documentation DVD is updated regularly and
may be more current than printed documentation.
The Product Documentation DVD is a comprehensive library of technical product documentation on
portable media. The DVD enables you to access multiple versions of hardware and software installation,
configuration, and command guides for Cisco products and to view technical documentation in HTML.
With the DVD, you have access to the same documentation that is found on the Cisco website without
being connected to the Internet. Certain products also have .pdf versions of the documentation available.
The Product Documentation DVD is available as a single unit or as a subscription. Registered Cisco.com
users (Cisco direct customers) can order a Product Documentation DVD (product number
DOC-DOCDVD=) from Cisco Marketplace at this URL:
http://www.cisco.com/go/marketplace/
Ordering Documentation
Preface
Beginning June 30, 2005, registered Cisco.com users may order Cisco documentation at the Product
Documentation Store in the Cisco Marketplace at this URL:
http://www.cisco.com/go/marketplace/
Nonregistered Cisco.com users can order technical documentation from 8:00 a.m. to 5:00 p.m.
(0800 to 1700) PDT by calling 1 866 463-3487 in the United States and Canada, or elsewhere by
calling 011 408 519-5055. You can also order documentation by e-mail at
tech-doc-store-mkpl@external.cisco.com or by fax at 1 408 519-5001 in the United States and Canada,
or elsewhere at 011 408 519-5001.
Documentation Feedback
You can rate and provide feedback about Cisco technical documents by completing the online feedback
form that appears with the technical documents on Cisco.com.
You can send comments about Cisco documentation to bug-doc@cisco.com.
You can submit comments by using the response card (if present) behind the front cover of your
document or by writing to the following address:
Cisco Systems
Attn: Customer Document Ordering
170 West Tasman Drive
San Jose, CA 95134-9883
xxx
We appreciate your comments.
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Loading...
+ 650 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.