Click here to load reader

4500 Switch Cisco Ios Software Configuration Guide

  • View

  • Download

Embed Size (px)

Text of 4500 Switch Cisco Ios Software Configuration Guide

You'll be entered into a quarterly drawing for free Cisco Press books by returning this survey! Cisco is dedicated to customer satisfaction and would like to hear your thoughts on these printed manuals. Please visit the Cisco Product Comments on-line survey at to submit your comments about accessing Cisco technical manuals. Thank you for your time.

General Information1 2 3 4 5 Years of networking experience: I have these network types: Other: I have these Cisco products: Other (specify models): I perform these types of tasks: Network management I use these types of documentation: Command reference Other: 6 7 8 I access this information through: % Other: I prefer this access method: Other: I use the following three product features the most: CD-ROM Printed manuals % % CD-ROM % Printed manuals H/W installation and/or maintenance Other: H/W installation Quick reference H/W configuration Release notes S/W configuration Online help S/W configuration Switches Routers LAN Years of experience with Cisco products: Backbone WAN

Document InformationDocument Title: Part Number: Catalyst 4500 Series Switch Cisco IOS Software Configuration Guide 78-15116-01B0 S/W Release (if applicable): 12.1(13)EW The information is accurate. The information I wanted was easy to find. The information I found was useful to my job.

On a scale of 15 (5 being the best), please let us know how we rate in the following areas: The document is complete. The information is well organized. The document is written at my technical level of understanding. Please comment on our lowest scores:

Mailing InformationOrganization Contact Name Mailing Address City Country E-mail May we contact you further concerning our documentation? State/Province Phone ( Fax ( Yes ) ) No Zip/Postal Code Extension Date

You can also send us your comments by e-mail to, or by fax to 408-527-8089.When mailing this card from outside of the United States, please enclose in an envelope addressed to the location on the back of this card with the required postage or fax to 1-408-527-8089.




Catalyst 4500 Series Switch Cisco IOS Software Configuration GuideCisco IOS Release 12.1(13)EW

Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100

Customer Order Number: DOC-7815116= Text Part Number: 78-15116-01B0

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. CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, 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, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, Fast Step, GigaStack, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, MGX, MICA, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, ScriptShare, SlideCast, SMARTnet, StrataView Plus, Stratm, 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 U.S. and certain other countries. All other trademarks mentioned in this document or Web site 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. (0304R) Catalyst 4500 Series Switch Cisco IOS Software Configuration Guide Copyright 19992003 Cisco Systems, Inc. All rights reserved.

C O N T E N T SPrefacexvii xvii xvii xix



Related Documentation

Conventions xx Commands in Task Tables


Obtaining Documentation xxi xxi Documentation CD-ROM xxi Ordering Documentation xxi Documentation Feedbackxxii

Obtaining Technical Assistance xxii Cisco TAC Website xxii Opening a TAC Case xxii TAC Case Priority Definitions xxiii Obtaining Additional Publications and Information1xxiii


Product Overview

1-1 1-1

Supported Hardware

Layer 2 Software Features 1-2 CDP 1-2 DHCP Snooping 1-2 EtherChannel Bundles 1-3 Jumbo Frames 1-3 Layer 2 Traceroute 1-3 MST 1-3 Spanning Tree Protocol 1-4 UDLD 1-4 Unidirectional Ethernet 1-4 VLANs 1-4 Layer 3 Software Features 1-5 CEF 1-5 HSRP 1-6 IP Routing Protocols 1-6Catalyst 4500 Series Switch Cisco IOS Software Configuration GuideRelease 12.1(13)EW 78-15116-01B0



Multicast Services 1-8 Network Security with ACLs Policy-Based Routing 1-9 QoS Features1-9


Management and Security Features2



Command-Line Interfaces


Accessing the Switch CLI 2-1 Accessing the CLI Using the EIA/TIA-232 Console Interface Accessing the CLI Through Telnet 2-2 Performing Command-Line Processing Performing History Substitution2-4 2-4 2-5 2-3


Understanding IOS Command Modes Getting a List of Commands and Syntax ROMMOM Command-Line Interface3



Configuring the Switch for the First Time Default Switch Configuration3-1


Configuring the Switch 3-2 Using Configuration Mode to Configure Your Switch 3-2 Checking the Running Configuration Settings 3-3 Saving the Running Configuration Settings to Your Start-up File Reviewing the Configuration in NVRAM 3-4 Configuring a Default Gateway 3-4 Configuring a Static Route 3-5 Controlling Access to Privileged EXEC Commands 3-6 Setting or Changing a Static enable Password 3-7 Using the enable Password and enable secret Commands 3-7 Setting or Changing a Privileged Password 3-8 Setting TACACS+ Password Protection for Privileged EXEC Mode Encrypting Passwords 3-9 Configuring Multiple Privilege Levels 3-9 Recovering a Lost Enable Password3-11



Modifying the Supervisor Engine Startup Configuration 3-12 Understanding the Supervisor Engine Boot Configuration 3-12 Configuring the Software Configuration Register 3-13 Specifying the Startup System Image 3-17 Controlling Environment Variables 3-18Catalyst 4500 Series Switch Cisco IOS Software Configuration GuideRelease 12.1(13)EW




Setting the BOOTLDR Environment Variable4



Configuring Interfaces

4-1 4-1

Overview of Interface Configuration Using the interface Command4-2

Configuring a Range of Interfaces

4-4 4-5

Defining and Using Interface-Range Macros

Configuring Optional Interface Features 4-6 Configuring Ethernet Interface Speed and Duplex Mode Configuring Jumbo Frame Support 4-9 Interacting with the Baby Giants Feature 4-11 Understanding Online Insertion and Removal4-12


Monitoring and Maintaining the Interface 4-12 Monitoring Interface and Controller Status 4-12 Clearing and Resetting the Interface 4-13 Shutting Down and Restarting an Interface 4-135


Checking Port Status and Connectivity Checking Module Status Checking Interfaces Status Checking MAC Addresses Using Telnet5-3 5-4 5-4 5-1 5-2 5-3


Changing the Logout Timer Monitoring User Sessions

Using Ping 5-5 Understanding How Ping Works Running Ping 5-6


Using IP Traceroute 5-7 Understanding How IP Traceroute Works Running IP Traceroute 5-7 Using Layer 2 Traceroute 5-8 Understanding Layer 2 Traceroute 5-8 Layer 2 Traceroute Usage Guidelines 5-8 Running Layer 2 Traceroute 5-9


Configuring ICMP 5-10 Enabling ICMP Protocol U

Search related