Transcription of Catalyst 2960 Switch Software Configuration Guide
1 Corporate HeadquartersCisco Systems, West Tasman DriveSan Jose, CA 95134-1706 : 408 526-4000800 553-NETS (6387)Fax: 408 526-4100 Catalyst 2960 Switch Software Configuration GuideCisco IOS Release (25)SEEF ebruary 2006 Text Part Number: OL-8603-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.
2 USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY 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 Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB s public domain version of the UNIX operating system.
3 All rights reserved. Copyright 1981, Regents of the University of California. 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 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.
4 EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH , 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, 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, 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.
5 Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, 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. (0601R)Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses.
6 Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and 2960 Switch Software Configuration Guide 2006 Cisco Systems, Inc. All rights reserved. iiiCatalyst 2960 Switch Software Configuration GuideOL-8603-01 CONTENTSP refacexliiiAudiencexliiiPurposexliiiConv entionsxlivRelated PublicationsxlivObtaining Documentation DVDxlviOrdering DocumentationxlviDocumentation FeedbackxlviCisco Product Security OverviewxlviReporting Security Problems in Cisco ProductsxlviiObtaining Technical AssistancexlviiCisco Technical Support & Documentation WebsitexlviiiSubmitting a Service RequestxlviiiDefinitions of Service Request SeverityxlviiiObtaining Additional
7 Publications and InformationxlixlCHAPTER 1 Overview1-1 Features1-1 Ease-of-Deployment and Ease-of-Use Features1-1 Performance Features1-2 Management Options1-4 Manageability Features1-4 Availability and Redundancy Features1-5 VLAN Features1-7 Security Features1-7 QoS and CoS Features1-8 Monitoring Features1-9 Default Settings After Initial Switch Configuration1-10 ContentsivCatalyst 2960 Switch Software Configuration GuideOL-8603-01 Network Configuration Examples1-12 Design Concepts for Using the Switch1-12 Small to Medium-Sized Network Using Catalyst 2960 Switches1-16 Long-Distance.
8 High-Bandwidth Transport Configuration1-17 Where to Go Next1-18 CHAPTER 2 Using 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 Configuration Logging2-5 Using Command History2-6 Changing the Command History Buffer Size2-6 Recalling Commands2-6 Disabling the Command History Feature2-7 Using Editing Features2-7 Enabling and Disabling Editing Features2-7 Editing Commands through Keystrokes2-7 Editing Command Lines that Wrap2-9 Searching and Filtering Output of show and more Commands2-10 Accessing the CLI2-10 Accessing the CLI through a Console Connection or through Telnet2-10 CHAPTER 3 Assigning the Switch IP Address and Default Gateway3-1 Understanding the Boot Process3-1 Assigning Switch Information3-2 Default Switch Information3-3 Understanding DHCP-Based Autoconfiguration3-3 DHCP Client Request Process3-4 Configuring DHCP-Based
9 Autoconfiguration3-5 DHCP Server Configuration Guidelines3-5 Configuring the TFTP Server3-5 Configuring the DNS3-6 Configuring the Relay Device3-6 ContentsvCatalyst 2960 Switch Software Configuration GuideOL-8603-01 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 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 CHAPTER 4 Configuring Cisco IOS CNS Agents4-1 Understanding Cisco Configuration Engine Software4-1 Configuration Service4-2 Event Service4-3 NameSpace Mapper4-3 What You Should Know About the CNS IDs and Device Hostnames4-3 ConfigID4-3 DeviceID4-4
10 Hostname and DeviceID4-4 Using Hostname, DeviceID, and ConfigID4-4 Understanding Cisco IOS Agents4-5 Initial Configuration4-5 Incremental (Partial) Configuration4-6 Synchronized Configuration4-6 Configuring Cisco IOS Agents4-6 Enabling Automated CNS Configuration4-6 Enabling the CNS Event Agent4-8 Enabling the Cisco IOS CNS Agent4-9 Enabling an Initial Configuration4-9 Enabling a Partial Configuration4-11 Displaying CNS Configuration4-12 ContentsviCatalyst 2960 Switch Software Configuration GuideOL-8603-01 CHAPTER 5 Clustering Switches5-1 Understanding Switch Clusters5-1 Cluster Command Switch Characteristics5-3 Standby Cluster Command Switch