Catalyst 2950 And Catalyst 2955 Switch Command Reference (full Book In .

11m ago
6 Views
1 Downloads
4.13 MB
460 Pages
Last View : 19d ago
Last Download : 3m ago
Upload by : Cade Thielen
Transcription

Catalyst 2950 and Catalyst 2955 Switch Command Reference Cisco IOS Release 12.1(12c)EA1 February 2003 Corporate Headquarters 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-7815304 Text Part Number: 78-15304-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. The 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. 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, the Cisco Systems Verified logo, Cisco Unity, Follow Me Browsing, FormShare, iQ Breakthrough, iQ FastTrack, the iQ Logo, iQ Net Readiness Scorecard, Networking Academy, ScriptShare, SMARTnet, TransPath, and Voice LAN are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, The Fastest Way to Increase Your Internet Quotient, 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, LightStream, MGX, MICA, the Networkers logo, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, 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. (0301R) Catalyst 2950 and Catalyst 2955 Switch Command Reference Copyright 2003, Cisco Systems, Inc. All rights reserved.

C O N T E N T S Preface xi Audience Purpose xi xi Organization xii Conventions xii Related Publications xiii Obtaining Documentation xiv World Wide Web xiv Documentation CD-ROM xiv Ordering Documentation xiv Documentation Feedback xv Obtaining Technical Assistance xv Cisco.com xv Technical Assistance Center xv Contacting TAC by Using the Cisco TAC Website Contacting TAC by Telephone xvi CHAPTER 1 Using the Command-Line Interface Type of Memory Platforms xvi 1-1 1-1 1-1 CLI Command Modes 1-2 User EXEC Mode 1-3 Privileged EXEC Mode 1-3 Global Configuration Mode 1-4 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-5 Line Configuration Mode 1-5 Command Summary CHAPTER 2 Cisco IOS Commands 1-6 2-1 aaa authentication dot1x access-list (IP extended) 2-1 2-3 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 iii

Contents access-list (IP standard) auto qos voip 2-6 2-8 boot private-config-file channel-group 2-12 channel-protocol class 2-11 2-15 2-17 class-map 2-19 clear interface clear lacp 2-21 2-22 clear mac address-table clear pagp 2-23 2-25 clear port-security dynamic clear port-security sticky 2-26 2-27 clear spanning-tree detected-protocols clear vmps statistics clear vtp counters 2-30 2-31 cluster commander-address 2-32 cluster discovery hop-count 2-34 cluster enable 2-35 cluster holdtime 2-36 cluster management-vlan cluster member cluster run 2-37 2-38 2-40 cluster standby-group cluster timer 2-41 2-43 define interface-range delete 2-29 2-44 2-46 deny (access-list configuration) 2-47 deny (MAC access-list configuration) dot1x default dot1x max-req 2-50 2-53 2-54 dot1x multiple-hosts dot1x port-control 2-55 2-56 dot1x re-authenticate dot1x re-authentication 2-58 2-59 Catalyst 2950 and Catalyst 2955 Switch Command Reference iv 78-15304-01

Contents dot1x timeout quiet-period 2-60 dot1x timeout re-authperiod dot1x timeout tx-period duplex 2-61 2-62 2-63 errdisable detect 2-65 errdisable recovery flowcontrol 2-67 2-69 interface 2-73 interface port-channel interface range 2-76 ip access-group 2-78 ip access-list ip address 2-75 2-80 2-82 ip igmp snooping 2-83 ip igmp snooping source-only-learning ip igmp snooping vlan 2-86 ip igmp snooping vlan immediate-leave ip igmp snooping vlan mrouter ip igmp snooping vlan static lacp port-priority mac access-group 2-88 2-90 2-93 2-94 mac access-list extended 2-96 mac address-table aging-time 2-98 mac address-table notification 2-100 mac address-table static 2-102 2-104 mls qos cos 2-106 mls qos map 2-108 mls qos trust 2-110 monitor session mvr 2-87 2-92 lacp system-priority match 2-84 2-113 2-116 mvr immediate mvr type 2-119 2-121 mvr vlan group 2-123 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 v

Contents pagp learn-method 2-125 pagp port-priority 2-127 permit (access-list configuration) 2-128 permit (MAC access-list configuration) police 2-133 policy-map 2-135 port-channel load-balance rcommand 2-137 2-139 remote-span 2-141 rmon collection stats service-policy set 2-131 2-143 2-145 2-147 show access-lists show auto qos show boot 2-149 2-151 2-153 show class-map show cluster 2-155 2-157 show cluster candidates show cluster members show dot1x show env 2-159 2-161 2-163 2-167 show errdisable recovery show etherchannel show file 2-168 2-170 2-173 show interfaces 2-176 show interfaces counters show ip access-lists 2-182 2-185 show ip igmp snooping 2-187 show ip igmp snooping mrouter show lacp 2-189 2-191 show mac access-group 2-193 show mac address-table 2-195 show mac address-table multicast show mac address-table notification show mls masks 2-198 2-200 2-202 Catalyst 2950 and Catalyst 2955 Switch Command Reference vi 78-15304-01

Contents show mls qos interface show mls qos maps show monitor show mvr 2-204 2-206 2-208 2-210 show mvr interface 2-212 show mvr members 2-214 show pagp 2-216 show policy-map 2-218 show port-security show rps 2-220 2-223 show running-config vlan 2-225 show spanning-tree 2-227 show storm-control 2-232 show system mtu show udld 2-236 show version show vlan show vmps show vtp 2-235 2-239 2-240 2-244 2-247 show wrr-queue bandwidth 2-252 show wrr-queue cos-map shutdown 2-253 2-254 shutdown vlan 2-255 snmp-server enable traps snmp-server host 2-256 2-258 snmp trap mac-notification 2-261 spanning-tree backbonefast spanning-tree bpdufilter 2-263 2-264 spanning-tree bpduguard spanning-tree cost 2-266 2-268 spanning-tree extend system-id spanning-tree guard 2-272 spanning-tree link-type 2-274 spanning-tree loopguard default spanning-tree mode 2-270 2-275 2-277 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 vii

Contents spanning-tree mst configuration spanning-tree mst cost 2-278 2-280 spanning-tree mst forward-time spanning-tree mst hello-time 2-282 2-283 spanning-tree mst max-age 2-285 spanning-tree mst max-hops 2-287 spanning-tree mst port-priority spanning-tree mst priority spanning-tree mst root 2-289 2-291 2-292 spanning-tree port-priority 2-294 spanning-tree portfast (global configuration) spanning-tree portfast (interface configuration) spanning-tree stack-port 2-300 spanning-tree uplinkfast 2-302 spanning-tree vlan speed 2-296 2-298 2-304 2-307 storm-control 2-309 switchport access 2-311 switchport mode 2-313 switchport nonegotiate 2-315 switchport port-security 2-317 switchport port-security aging switchport priority extend switchport protected switchport trunk 2-322 2-323 2-324 switchport voice vlan system mtu 2-327 2-329 traceroute mac 2-331 traceroute mac ip 2-334 udld (global configuration) 2-337 udld (interface configuration) udld reset 2-320 2-339 2-341 vlan (global configuration) 2-342 vlan (VLAN configuration) 2-348 vlan database 2-354 Catalyst 2950 and Catalyst 2955 Switch Command Reference viii 78-15304-01

Contents vmps reconfirm (global configuration) vmps reconfirm (privileged EXEC) vmps retry 2-360 vtp (global configuration) vtp (privileged EXEC) 2-362 2-366 vtp (VLAN configuration) wrr-queue bandwidth 2-368 2-372 wrr-queue cos-map A 2-358 2-359 vmps server APPENDIX 2-374 Catalyst 2955-Specific Alarm Commands alarm facility fcs-hysteresis A-2 alarm facility power-supply A-3 alarm facility temperature alarm profile (interface configuration) fcs-threshold show alarm profile show alarm settings A-14 A-16 show facility-alarm status show fcs-threshold debug autoqos debug pm A-19 A-20 B-1 B-2 B-4 debug etherchannel debug pagp A-18 A-21 Debug Commands debug dot1x A-11 A-12 show facility-alarm relay B A-8 A-10 show alarm description port test relay A-6 A-9 power-supply dual show env A-1 A-4 alarm profile (global configuration) APPENDIX 2-357 B-5 B-6 B-7 debug spanning-tree B-9 debug spanning-tree backbonefast debug spanning-tree bpdu B-11 B-12 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 ix

Contents debug spanning-tree bpdu-opt debug spanning-tree mstp debug spanning-tree switch B-13 B-14 B-16 debug spanning-tree uplinkfast debug sw-vlan B-19 debug sw-vlan ifs B-21 debug sw-vlan notification debug sw-vlan vtp debug udld B-18 B-22 B-23 B-25 INDEX Catalyst 2950 and Catalyst 2955 Switch Command Reference x 78-15304-01

Preface Audience This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 2950 and Catalyst 2955 switches, hereafter referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS and be familiar with the concepts and terminology of Ethernet and local area networking. Purpose The Catalyst 2950 switch is supported by either the standard software image (SI) or the enhanced software image (EI). The Catalyst 2955 switch uses only the EI. The enhanced software image provides a richer set of features, including access control lists (ACLs), enhanced quality of service (QoS) features, extended-range VLANs, the IEEE 802.1W Rapid Spanning Tree Protocol (RSTP), the IEEE 802.1S Multiple Spanning Tree Protocol (MSTP), and and Remote Switched Port Analyzer (RSPAN). The software supports the switches listed in the release notes and in this table: Switch Software Image Catalyst 2950-12 SI Catalyst 2950-24 SI Catalyst 2950C-24 EI Catalyst 2950G-12-EI EI Catalyst 2950G-24-EI EI Catalyst 2950G-24-EI-DC EI Catalyst 2950G-48-EI EI Catalyst 2950SX-24 SI Catalyst 2950T-24 EI Catalyst 2955C-12 EI Catalyst 2955S-12 EI Catalyst 2955T-12 EI Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 xi

Preface Organization Note This software release does not support the Catalyst 2950 LRE switches. For information about these switches, refer to the Catalyst 2950 LRE switch release notes. This guide provides the information you need about the CLI commands that have been created or changed for use with the Catalyst 2950 family of switches. For information about the standard IOS Release 12.1 commands, refer to the IOS documentation set available from the Cisco.com home page by selecting Service and Support Technical Documents. On the Cisco Product Documentation home page, select Release 12.1 from the Cisco IOS Software drop-down list. This guide does not provide procedures for configuring your switch. For detailed configuration procedures, refer to the Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide for this release. This guide does not describe system messages you might encounter. For more information, refer to the Catalyst 2950 and Catalyst 2955 Switch System Message Guide for this release. Organization This guide is organized into these chapters: Chapter 1, “Using the Command-Line Interface,” describes how to access the command modes and use the switch CLI to configure software features. It also lists the commands that have the same function but different syntax in software releases earlier than Release 12.1(6)EA2 and in Release 12.1(6)EA2 or later. Chapter 2, “Cisco IOS Commands,” describes in alphabetical order the IOS commands that you use to configure and monitor your switch. Appendix A, “Catalyst 2955-Specific Alarm Commands,” describes the IOS commands that you use to set alarms related to temperature, power supply conditions, and the status of the Ethernet ports. Appendix B, “Debug Commands,” describes the debug privileged EXEC commands. Debug commands are helpful in diagnosing and resolving internetworking problems. Conventions This guide uses these conventions to convey instructions and information: Command descriptions use these conventions: 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference xii 78-15304-01

Preface Related Publications Interactive examples use these conventions: Terminal sessions and system displays are in screen font. Information you enter is in boldface Nonprinting characters, such as passwords or tabs, are in angle brackets ( ). screen font. Notes, cautions, and tips use these conventions and symbols: Note Caution Timesaver Means reader take note. Notes contain helpful suggestions or references to materials not contained in this manual. Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data. Means the following will help you solve a problem. The tips information might not be troubleshooting or even an action, but could be useful information. Related Publications These documents provide complete information about the switch and are available from this URL: n/cat2950/index.htm 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 xiv. Note Release Notes for the Catalyst 2955 Switch, (not orderable but is available on Cisco.com) Switch requirements and procedures for initial configurations and software upgrades tend to change and therefore appear only in the release notes. Before installing, configuring, or upgrading the switch, refer to the release notes on Cisco.com for the latest information. Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide (order number DOC-7815303 ) Catalyst 2950 and Catalyst 2955 Switch Command Reference (order number DOC-7815304 ) Catalyst 2955 Desktop Switch System Message Guide (order number DOC-7815306 ) Catalyst 2955 Hardware Installation Guide (order number DOC-7814944 ) Catalyst GigaStack Gigabit Interface Converter Hardware Installation Guide (order number DOC-786460 ) Cluster Management Suite (CMS) online help (available only from the switch CMS software) CWDM Passive Optical System Installation Note (not orderable but is available on Cisco.com) 1000BASE-T Gigabit Interface Converter Installation Notes (not orderable but is available on Cisco.com) Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 xiii

Preface Obtaining Documentation Note For information about the Catalyst 2950 LRE switches, refer to these documents: Catalyst 2950 Desktop Switch Software Configuration Guide, Cisco IOS Release 12.1(11)EA1 and Release 12.1(11)YJ (order number DOC-7814982 ) Catalyst 2950 Desktop Switch Command Reference, Cisco IOS Release 12.1(11)EA1 and Release 12.1(11)YJ (order number DOC-7814984 ) Catalyst 2950 Desktop Switch System Message Guide, Cisco IOS Release 12.1(11)EA1 and Release 12.1(11)YJ (order number DOC-7814981 ) Release Notes for the Catalyst 2950 LRE Switch, Cisco IOS Release 12.1(11)YJ (not orderable but is available on Cisco.com) Obtaining Documentation The following sections provide sources for obtaining documentation from Cisco Systems. World Wide Web You can access the most current Cisco documentation on the World Wide Web at the following sites: http://www.cisco.com http://www-china.cisco.com http://www-europe.cisco.com Documentation CD-ROM Cisco documentation and additional literature are available in a CD-ROM package. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or as an annual subscription. Ordering Documentation Cisco documentation is available in the following ways: Registered Cisco Direct Customers can order Cisco Product documentation from the Networking Products MarketPlace: http://www.cisco.com/cgi-bin/order/order root.pl Registered Cisco.com users can order the Documentation CD-ROM through the online Subscription Store: http://www.cisco.com/go/subscription Catalyst 2950 and Catalyst 2955 Switch Command Reference xiv 78-15304-01

Preface Obtaining Technical Assistance Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco corporate headquarters (California, USA) at 408 526-7208 or, in North America, by calling 800 553-NETS(6387). Documentation Feedback If you are reading Cisco product documentation on the World Wide Web, you can submit technical comments electronically. Click Feedback in the toolbar and select Documentation. After you complete the form, click Submit to send it to Cisco. You can e-mail your comments to bug-doc@cisco.com. To submit your comments by mail, for your convenience many documents contain a response card behind the front cover. Otherwise, you can mail your comments to the following address: Cisco Systems, Inc. Document Resource Connection 170 West Tasman Drive San Jose, CA 95134-9883 We appreciate your comments. Obtaining Technical Assistance Cisco provides Cisco.com as a starting point for all technical assistance. Customers and partners can obtain documentation, troubleshooting tips, and sample configurations from online tools. For Cisco.com registered users, additional troubleshooting tools are available from the TAC website. Cisco.com Cisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information and resources at anytime, from anywhere in the world. This highly integrated Internet application is a powerful, easy-to-use tool for doing business with Cisco. Cisco.com provides a broad range of features and services to help customers and partners streamline business processes and improve productivity. Through Cisco.com, you can find information about Cisco and our networking solutions, services, and programs. In addition, you can resolve technical issues with online technical support, download and test software packages, and order Cisco learning materials and merchandise. Valuable online skill assessment, training, and certification programs are also available. Customers and partners can self-register on Cisco.com to obtain additional personalized information and services. Registered users can order products, check on the status of an order, access technical support, and view benefits specific to their relationships with Cisco. To access Cisco.com, go to the following website: http://www.cisco.com Technical Assistance Center The Cisco TAC website is available to all customers who need technical assistance with a Cisco product or technology that is under warranty or covered by a maintenance contract. Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 xv

Preface Obtaining Technical Assistance Contacting TAC by Using the Cisco TAC Website If you have a priority level 3 (P3) or priority level 4 (P4) problem, contact TAC by going to the TAC website: http://www.cisco.com/tac P3 and P4 level problems are defined as follows: P3—Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue. P4—You need information or assistance on Cisco product capabilities, product installation, or basic product configuration. In each of the above cases, use the Cisco TAC website to quickly find answers to your questions. To register for Cisco.com, go to the following website: http://www.cisco.com/register/ If you cannot resolve your technical issue by using the TAC online resources, Cisco.com registered users can open a case online by using the TAC Case Open tool at the following website: http://www.cisco.com/tac/caseopen Contacting TAC by Telephone If you have a priority level 1(P1) or priority level 2 (P2) problem, contact TAC by telephone and immediately open a case. To obtain a directory of toll-free numbers for your country, go to the following website: TAC.shtml P1 and P2 level problems are defined as follows: P1—Your production network is down, causing a critical impact to business operations if service is not restored quickly. No workaround is available. P2—Your production network is severely degraded, affecting significant aspects of your business operations. No workaround is available. Catalyst 2950 and Catalyst 2955 Switch Command Reference xvi 78-15304-01

C H A P T E R 1 Using the Command-Line Interface The Catalyst 2950 and Catalyst 2955 switches are supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure the software features. For a complete description of the commands that support these features, see Chapter 2, “Cisco IOS Commands.” For Catalyst 2955-specific commands for setting alarms, refer to Appendix A, “Catalyst 2955-Specific Alarm Commands.” For more information on Cisco IOS Release 12.1, refer to the Cisco IOS Release 12.1 Command Summary. For task-oriented configuration steps, refer to the software configuration guide for this release. The switches are preconfigured and begin forwarding packets as soon as they are attached to compatible devices. By default, all ports belong to virtual LAN (VLAN) 1. Access to the switch itself is also through VLAN 1, which is the default management VLAN. The management VLAN is configurable. You manage the switch by using Telnet, Secure Shell (SSH) Protocol, web-based management, and Simple Network Management Protocol (SNMP) through devices connected to ports assigned to the management VLAN. Type of Memory The switch Flash memory stores the Cisco IOS software image, the startup and private configuration files, and helper files. Platforms This IOS release runs on a variety of switches. For a complete list, refer to the release notes for this software release. Note This software release does not support the Catalyst 2950 LRE switches. For information about these switches, refer to the Catalyst 2950 LRE switch release notes. Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 1-1

Chapter 1 Using the Command-Line Interface CLI Command Modes CLI Command Modes This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface type number command works only when entered in global configuration mode. These are the main command modes: User EXEC Privileged EXEC Global configuration Interface configuration Config-vlan VLAN configuration Line configuration Table 1-1 lists the command modes, how to access each mode, the prompt you see in that mode, and how to exit that mode. The prompts listed assume the default name Switch. Table 1-1 Command Modes Summary Command Mode Access Method Prompt Exit or Access Next Mode User EXEC This is the first level of access. Switch Enter the logout command. (For the switch) Change terminal settings, perform basic tasks, and list system information. Privileged EXEC From user EXEC mode, enter the enable command. To enter privileged EXEC mode, enter the enable command. Switch# To exit to user EXEC mode, enter the disable command. To enter global configuration mode, enter the configure command. Global configuration From privileged EXEC mode, enter the configure command. Switch(config)# To exit to privileged EXEC mode, enter the exit or end command, or press Ctrl-Z. To enter interface configuration mode, enter the interface command. Interface configuration From global configuration mode, specify an interface by entering the interface command. Switch(config-if)# To exit to privileged EXEC mode, enter the end command, or press Ctrl-Z. To exit to global configuration mode, enter the exit command. To enter subinterface configuration mode, specify a subinterface with the interface command. Config-vlan In global configuration mode, enter the vlan vlan-id command. Switch(config-vlan)# To exit to global configuration mode, enter the exit command. To return to privileged EXEC mode, enter the end command, or press Ctrl-Z. Catalyst 2950 and Catalyst 2955 Switch Command Reference 1-2 78-15304-01

Chapter 1 Using the Command-Line Interface CLI Command Modes Table 1-1 Command Modes Summary (continued) Command Mode Access Method Prompt Exit or Access Next Mode VLAN configuration From privileged EXEC mode, enter the vlan database command. Switch(vlan)# To exit to privileged EXEC mode, enter the exit command. Line configuration From global configuration mode, specify a line by entering the line command. Switch(config-line)# To exit to global configuration mode, enter the exit command. To return to privileged EXEC mode, enter the end command, or press Ctrl-Z. User EXEC Mode After you access the device, you are automatically in user EXEC command mode. The EXEC commands available at the user level are a subset of those available at the privileged level. In general, use the user EXEC commands to change terminal settings temporarily, to perform basic tests, and to list system information. The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch ? Privileged EXEC Mode Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure command through which you access the remaining command modes. If your system administrator has set a password, you are prompted to enter it before being granted access to privileged EXEC mode. The password does not appear on the screen and is case sensitive. The privileged EXEC mode prompt is the device name followed by the pound sign ( #). Switch# Enter the enable command to access privileged EXEC mode: Switch enable Switch# The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch# ? To return to user EXEC mode, enter the disable command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 1-3

Chapter 1 Using the Command-Line Interface CLI Command Modes Global Configuration Mode Global configuration commands apply to features that affect the device as a whole. Use the configure privileged EXEC command to enter global configuration mode. The default is to enter commands from the management console. When you enter the configure command, a message prompts you for the source of the configuration commands: Switch# configure Configuring from terminal, memory, or network [terminal]? You can specify either the terminal or nonvolatile RAM (NVRAM) as the source of configuration commands. This example shows you how to access global configuration mode: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch(config)# ? To exit global configuration command mode and to return to privileged EXEC mode, enter the end or exit command, or press Ctrl-Z. Interface Configuration Mode Interface configuration commands modify the operation of the interface. Interface configuration commands always follow a global configuration command, which defines the interface type. Use the interface type number.subif command to access interface configuration mode. The new prompt shows interface configuration mode. Switch(config-if)# The supported commands can vary depending on the version of IOS soft

Catalyst 2950 and Catalyst 2955 Switch Command Reference Cisco IOS Release 12.1(12c)EA1 . Number: DOC-7815304 Text Part Number: 78-15304-01. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL . Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork .

Related Documents:

Cisco Catalyst 2950 &' * &' * Fast Ethernet Gigabit Ethernet Catalyst 2950 &' * &' * (Quality of Service QoS) (Multicast) LAN Catalyst 2950 Catalyst 3550 &' * IP &' * Catalyst 2950 Cisco Cluster Management Suite (CMS) Web & Catalyst &' * Cisco CMS &' * &' Cisco Catalyst 2950 &' &' Catalyst 2950G-48 -48 10/100 2 Gigabit (Gigabit Interface Converter, GBIC) Gigabit

Catalyst 2950 and Catalyst 2955 Switch System Message Guide 78-14233-08 Preface Obtaining Documentation 1000BASE-T Gigabit Interface Converter Installation Notes (not orderable but is available on Cisco.com) Installation Notes for the Catalyst Family Small-Form-Factor Pluggable Modules (order number DOC-7815160 ) Obtaining Documentation

Contents viii Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide 78-11380-12 Protecting Enable and Enable Secret Passwords with Encryption 8-4 Disabling Password Recovery 8-5 Setting a Telnet Password for a Terminal Line 8-6 Configuring Username and Password Pairs 8-7 Configuring Multiple Privilege Levels 8-8 Setting the Privilege Level for a Command 8-8

Command Reference Cisco IOS Release 12.1(22)EA11 January 2008 and Later Text Part Number: OL-10102-02 . show port-security 2-389 show rps 2-391 show running-config vlan 2-393 . Catalyst 2950 and Catalyst 2955 Switch Command Reference . .

Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide Cisco IOS Release 12.1(22)EA2 November 2004 Customer Order Number: DOC-7811380 Text Part Number: 78-11380-11. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL

Contents iv Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-15304-01 access-list (IP standard) 2-6 auto qos voip 2-8 boot private-config-file 2-11 channel-group 2-12 channel-protocol 2-15 class 2-17 class-map 2-19 clear interface 2-21 clear lacp 2-22 clear mac address-table 2-23 clear pagp 2-25 clear port-security dynamic 2-2

Getting Started Guide Catalyst 2950 Switch Getting Started Guide INCLUDING LICENSE AND WARRANTY . refer to the Catalyst 2950 documentation on Cisco.com. For system requirements, important notes, limitations, open and resolved bugs, and last-minute do

pile bending stiffness, the modulus of subgrade reaction (i.e. the py curve) assessed based on the SW model is a function of the pile bending - stiffness. In addition, the ultimate value of soil-pile reaction on the py curve is governed by either the flow around failure of soil or the plastic hinge - formation in the pile. The SW model analysis for a pile group has been modified in this study .