Cisco Catalyst 2.2.25 Release Command Reference - Cisco

[Pages:758]Catalyst 2960 Switch Command Reference

Cisco IOS Release 12.2(25)SEE February 2006

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

Text Part Number: OL-8604-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.

IIN 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)

Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. 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 coincidental.

Catalyst 2960 Switch Command Reference Copyright ? 2006 Cisco Systems, Inc. All rights reserved.

1 C H A P T E R 2 C H A P T E R

OL-8604-01

Preface xv Audience xv Purpose xv Conventions xv Related Publications xvi Obtaining Documentation xvii xvii Product Documentation DVD xvii Ordering Documentation xviii Documentation Feedback xviii Cisco Product Security Overview xviii Reporting Security Problems in Cisco Products xix Obtaining Technical Assistance xix Cisco Technical Support & Documentation Website xix Submitting a Service Request xx Definitions of Service Request Severity xx Obtaining Additional Publications and Information xxi

Using the Command-Line Interface 1-1 CLI Command Modes 1-1 User EXEC Mode 1-2 Privileged EXEC Mode 1-3 Global Configuration Mode 1-3 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-4 Line Configuration Mode 1-5

Catalyst 2960 Switch Cisco IOS Commands 2-1 aaa accounting dot1x 2-1 aaa authentication dot1x 2-3 aaa authorization network 2-5 archive download-sw 2-6

CONTENTS

Catalyst 2960 Switch Command Reference

iii

Contents

archive tar 2-9 archive upload-sw 2-12 auto qos voip 2-14 boot boothlpr 2-18 boot config-file 2-19 boot enable-break 2-20 boot helper 2-21 boot helper-config-file 2-22 boot manual 2-23 boot private-config-file 2-24 boot system 2-25 channel-group 2-26 channel-protocol 2-29 class 2-30 class-map 2-32 clear dot1x 2-34 clear eap 2-35 clear ip dhcp snooping database 2-36 clear lacp 2-37 clear mac address-table 2-38 clear mac address-table move update 2-39 clear pagp 2-40 clear port-security 2-41 clear spanning-tree counters 2-43 clear spanning-tree detected-protocols 2-44 clear vmps statistics 2-45 clear vtp counters 2-46 cluster commander-address 2-47 cluster discovery hop-count 2-49 cluster enable 2-50 cluster holdtime 2-52 cluster member 2-53 cluster outside-interface 2-55 cluster run 2-56 cluster standby-group 2-57

Catalyst 2960 Switch Command Reference

iv

OL-8604-01

OL-8604-01

Contents

cluster timer 2-59 define interface-range 2-60 delete 2-62 deny (MAC access-list configuration) 2-63 dot1x 2-66 dot1x auth-fail max-attempts 2-68 dot1x auth-fail vlan 2-70 dot1x control-direction 2-72 dot1x critical (global configuration) 2-74 dot1x critical (interface configuration) 2-76 dot1x default 2-78 dot1x guest-vlan 2-79 dot1x host-mode 2-81 dot1x initialize 2-82 dot1x mac-auth-bypass 2-83 dot1x max-reauth-req 2-85 dot1x max-req 2-86 dot1x pae 2-87 dot1x port-control 2-88 dot1x re-authenticate 2-90 dot1x reauthentication 2-91 dot1x timeout 2-92 duplex 2-95 errdisable detect cause 2-97 errdisable recovery 2-99 exception crashinfo 2-101 flowcontrol 2-102 interface port-channel 2-104 interface range 2-106 interface vlan 2-108 ip access-group 2-109 ip address 2-111 ip dhcp snooping 2-113 ip dhcp snooping binding 2-114 ip dhcp snooping database 2-116

Catalyst 2960 Switch Command Reference

v

Contents

ip dhcp snooping information option 2-118 ip dhcp snooping information option allow-untrusted 2-120 ip dhcp snooping limit rate 2-122 ip dhcp snooping trust 2-123 ip dhcp snooping verify 2-124 ip dhcp snooping vlan 2-125 ip igmp filter 2-126 ip igmp max-groups 2-127 ip igmp profile 2-129 ip igmp snooping 2-131 ip igmp snooping last-member-query-interval 2-133 ip igmp snooping querier 2-135 ip igmp snooping report-suppression 2-137 ip igmp snooping tcn 2-139 ip igmp snooping tcn flood 2-141 ip igmp snooping vlan immediate-leave 2-142 ip igmp snooping vlan mrouter 2-143 ip igmp snooping vlan static 2-145 ip ssh 2-147 lacp port-priority 2-149 lacp system-priority 2-151 link state group 2-153 link state track 2-155 logging file 2-156 mac access-group 2-158 mac access-list extended 2-160 mac address-table aging-time 2-162 mac address-table move update 2-163 mac address-table notification 2-165 mac address-table static 2-167 mac address-table static drop 2-168 macro apply 2-170 macro description 2-173 macro global 2-174 macro global description 2-177

Catalyst 2960 Switch Command Reference

vi

OL-8604-01

OL-8604-01

Contents

macro name 2-178 match (class-map configuration) 2-180 mdix auto 2-182 media-type 2-184 mls qos 2-186 mls qos aggregate-policer 2-188 mls qos cos 2-190 mls qos dscp-mutation 2-192 mls qos map 2-194 mls qos queue-set output buffers 2-198 mls qos queue-set output threshold 2-200 mls qos rewrite ip dscp 2-202 mls qos srr-queue input bandwidth 2-204 mls qos srr-queue input buffers 2-206 mls qos srr-queue input cos-map 2-208 mls qos srr-queue input dscp-map 2-210 mls qos srr-queue input priority-queue 2-212 mls qos srr-queue input threshold 2-214 mls qos srr-queue output cos-map 2-216 mls qos srr-queue output dscp-map 2-218 mls qos trust 2-220 monitor session 2-222 mvr (global configuration) 2-227 mvr (interface configuration) 2-230 pagp learn-method 2-233 pagp port-priority 2-235 permit (MAC access-list configuration) 2-237 police 2-240 police aggregate 2-242 policy-map 2-244 port-channel load-balance 2-246 priority-queue 2-248 queue-set 2-250 radius-server dead-criteria 2-251 radius-server host 2-253

Catalyst 2960 Switch Command Reference

vii

Contents

rcommand 2-255 remote-span 2-257 renew ip dhcp snooping database 2-259 rmon collection stats 2-261 sdm prefer 2-262 service password-recovery 2-264 service-policy 2-266 set 2-268 setup 2-270 setup express 2-273 show access-lists 2-275 show archive status 2-278 show auto qos 2-279 show boot 2-283 show cable-diagnostics tdr 2-285 show class-map 2-287 show cluster 2-288 show cluster candidates 2-290 show cluster members 2-292 show controllers cpu-interface 2-294 show controllers ethernet-controller 2-296 show controllers tcam 2-303 show controllers utilization 2-305 show dot1x 2-307 show dtp 2-311 show eap 2-313 show env 2-316 show errdisable detect 2-317 show errdisable flap-values 2-319 show errdisable recovery 2-321 show etherchannel 2-323 show flowcontrol 2-326 show interfaces 2-328 show interfaces counters 2-335 show inventory 2-337

Catalyst 2960 Switch Command Reference

viii

OL-8604-01

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download