Author
truonganh
View
216
Download
1
Embed Size (px)
Catalyst 2950 and Catalyst 2955 Switch Software Configuration GuideCisco IOS Release 12.1(22)EA2November 2004
Corporate HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706 USAhttp://www.cisco.comTel: 408 526-4000
800 553-NETS (6387)Fax: 408 526-4100
Customer Order Number: DOC-7811380=Text Part Number: 78-11380-11
http://www.cisco.com
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.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCBs public domain version of the UNIX operating system. 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 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, the Cisco Square Bridge logo, Cisco Unity, Follow Me Browsing, FormShare, 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 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, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, 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, Registrar, ScriptShare, SlideCast, SMARTnet, StrataView Plus, SwitchProbe, TeleRouter, The Fastest Way to Increase Your Internet Quotient, TransPath, and VCO 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. (0406R)
Catalyst 2950 and Catalyst 2955 Switch Software Configuration GuideCopyright 20012004 Cisco Systems, Inc. All rights reserved4
Catalyst 2950 a78-11380-11
C O N T E N T S
Preface xxvii
Audience xxvii
Purpose xxvii
Conventions xxviii
Related Publications xxix
Obtaining Documentation xxixCisco.com xxxOrdering Documentation xxx
Documentation Feedback xxx
Obtaining Technical Assistance xxxCisco Technical Support Website xxxiSubmitting a Service Request xxxiDefinitions of Service Request Severity xxxi
Obtaining Additional Publications and Information xxxii
C H A P T E R 1 Overview 1-1
Features 1-1Ease of Use and Ease of Deployment 1-2Performance 1-3Manageability 1-4Redundancy 1-5VLAN Support 1-6Security 1-6Quality of Service and Class of Service 1-7Monitoring 1-8LRE Features (available only on Catalyst 2950 LRE switches) 1-8
Management Options 1-9Management Interface Options 1-9Advantages of Using Network Assistant and Clustering Switches 1-10
Network Configuration Examples 1-11Design Concepts for Using the Switch 1-11Small to Medium-Sized Network Configuration 1-14Collapsed Backbone and Switch Cluster Configuration 1-15Hotel Network Configuration 1-16
iiind Catalyst 2955 Switch Software Configuration Guide
Contents
Service-Provider Central-Office Configuration 1-19Large Campus Configuration 1-20Multidwelling Network Using Catalyst 2950 Switches 1-21Long-Distance, High-Bandwidth Transport Configuration 1-23
Where to Go Next 1-23
C H A P T E R 2 Using the Command-Line Interface 2-1
Cisco IOS Command Modes 2-1
Getting Help 2-3
Abbreviating Commands 2-4
Using no and default Forms of Commands 2-4
Understanding CLI Messages 2-5
Using Command History 2-5Changing the Command History Buffer Size 2-5Recalling Commands 2-6Disabling the Command History Feature 2-6
Using Editing Features 2-6Enabling and Disabling Editing Features 2-7Editing Commands through Keystrokes 2-7Editing Command Lines that Wrap 2-8
Searching and Filtering Output of show and more Commands 2-9
Accessing the CLI 2-10
C H A P T E R 3 Configuring Catalyst 2955 Switch Alarms 3-1
Understanding Catalyst 2955 Switch Alarms 3-1Global Status Monitoring Alarms 3-2FCS Error Hysteresis Threshold 3-2Port Status Monitoring Alarms 3-3Triggering Alarm Options 3-3
Configuring Catalyst 2955 Switch Alarms 3-4Default Catalyst 2955 Switch Alarm Configuration 3-4Configuring the Power Supply Alarm 3-5
Setting the Power Mode 3-5Setting the Power Supply Alarm Options 3-5
Configuring the Switch Temperature Alarms 3-6Setting a Secondary Temperature Threshold for the Switch 3-6Associating the Temperature Alarms to a Relay 3-7
ivCatalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-11
Contents
Configuring the FCS Bit Error Rate Alarm 3-7Setting the FCS Error Threshold 3-8Setting the FCS Error Hysteresis Threshold 3-8
Configuring Alarm Profiles 3-9Creating or Modifying an Alarm Profile 3-9Attaching an Alarm Profile to a Specific Port 3-10
Enabling SNMP Traps 3-11
Displaying Catalyst 2955 Switch Alarms Status 3-11
C H A P T E R 4 Assigning the Switch IP Address and Default Gateway 4-1
Understanding the Boot Process 4-1
Assigning Switch Information 4-2Default Switch Information 4-3Understanding DHCP-Based Autoconfiguration 4-3
DHCP Client Request Process 4-4Configuring DHCP-Based Autoconfiguration 4-5
DHCP Server Configuration Guidelines 4-5Configuring the TFTP Server 4-6Configuring the DNS 4-6Configuring the Relay Device 4-7Obtaining Configuration Files 4-7Example Configuration 4-8
Manually Assigning IP Information 4-10
Checking and Saving the Running Configuration 4-11
Modifying the Startup Configuration 4-11Default Boot Configuration 4-11Automatically Downloading a Configuration File 4-12Specifying the Filename to Read and Write the System Configuration 4-12Booting Manually 4-12Booting a Specific Software Image 4-13Controlling Environment Variables 4-14
Scheduling a Reload of the Software Image 4-16Configuring a Scheduled Reload 4-16Displaying Scheduled Reload Information 4-17
vCatalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-11
Contents
C H A P T E R 5 Configuring IE2100 CNS Agents 5-1
Understanding IE2100 Series Configuration Registrar Software 5-1CNS Configuration Service 5-2CNS Event Service 5-3
NameSpace Mapper 5-3What You Should Know About ConfigID, DeviceID, and Host Name 5-3
ConfigID 5-3DeviceID 5-4Host Name and DeviceID 5-4Using Host Name, DeviceID, and ConfigID 5-4
Understanding CNS Embedded Agents 5-5Initial Configuration 5-5Incremental (Partial) Configuration 5-6Synchronized Configuration 5-6
Configuring CNS Embedded Agents 5-6Enabling Automated CNS Configuration 5-6Enabling the CNS Event Agent 5-8Enabling the CNS Configuration Agent 5-9
Enabling an Initial Configuration 5-9Enabling a Partial Configuration 5-12
Displaying CNS Configuration 5-13
C H A P T E R 6 Clustering Switches 6-1
Understanding Switch Clusters 6-1Clustering Overview 6-1Cluster Command Switch Characteristics 6-2Standby Command Switch Characteristics 6-2Candidate Switch and Member Switch Characteristics 6-3
Using the CLI to Manage Switch Clusters 6-4Catalyst 1900 and Catalyst 2820 CLI Considerations 6-4
Using SNMP to Manage Switch Clusters 6-4
C H A P T E R 7 Administering the Switch 7-1
Managing the System Time and Date 7-1Understanding the System Clock 7-1Understanding Network Time Protocol 7-2
viCatalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-11
Contents
Configuring NTP 7-3Default NTP Configuration 7-4Configuring NTP Authentication 7-4Configuring NTP Associations 7-5Configuring NTP Broadcast Service 7-6Configuring NTP Access Restrictions 7-8Configuring the Source IP Address for NTP Packets 7-10Displaying the NTP Configuration 7-10
Configuring Time and Date Manually 7-11Setting the System Clock 7-11Displaying the Time and Date Configuration 7-12Configuring the Time Zone 7-12Configuring Summer Time (Daylight Saving Time) 7-13
Configuring a System Name and Prompt 7-15Default System Name and Prompt Configuration 7-15Configuring a System Name 7-15Configuring a System Prompt 7-