Catalyst 4500 Series Switch IOS Command Reference

  • View
    2.859

  • Download
    1

Embed Size (px)

Text of Catalyst 4500 Series Switch IOS Command Reference

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG

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

Text Part Number: OL-7657-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 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, 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)Catalyst 4500 Series Switch Cisco IOS Command Reference Copyright 2005 Cisco Systems, Inc. All rights reserved

C O N T E N T SPrefacexv xv xv xv

Audience

Organization Conventions

Related Documentationxvi

Obtaining Documentation Documentation Feedback

xvii xviii xviii xix xxi

Cisco Product Security Overview Obtaining Technical Assistance

Obtaining Additional Publications and Information1

CHAPTER

Command-Line Interface Getting Help1-1

1-1

How to Find Command Options Understanding Command Modes Using the CLI String Search Saving Configuration Changes show platform Commands21-11 1-6

1-2 1-4 1-6

Using the No and Default Forms of Commands1-11

CHAPTER

Cisco IOS Commands for the Catalyst 4500 Series Switches #macro keywords2-2 2-3 2-4

2-1

aaa accounting dot1x default start-stop group radius aaa accounting system default start-stop group radius access-group mode action apply2-8 2-9 2-10 2-11 2-12 2-5 2-6

access-list hardware entries

arp access-list attach module auto qos voip auto-sync2-15

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG OL-7657-01

iii

Contents

channel-group channel-protocol class-map2-20

2-16 2-18

clear counters

2-22 2-24 2-25

clear hw-module slot password clear interface gigabitethernet clear interface vlan2-26 2-27 2-28

clear ip access-template clear ip arp inspection log

clear ip arp inspection statistics clear ip dhcp snooping database clear ip igmp group clear ip mfib counters clear ip mfib fastdrop clear lacp counters clear pagp clear qos2-39 2-40 2-32

2-29 2-30 2-31

clear ip dhcp snooping database statistics clear ip igmp snooping membership2-35 2-36 2-37 2-38 2-34

clear mac-address-table dynamic clear port-security2-41 2-42 2-43

clear vlan counters clear vmps statistics debug adjacency debug backup2-45

2-44

debug condition interface debug condition standby debug condition vlan debug dot1x2-50 2-51 2-53 2-49

2-46 2-47

debug etherchnl debug interface debug ipc2-54

debug ip dhcp snooping event debug ip dhcp snooping packet debug ip verify source packet

2-55 2-56 2-57

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG

iv

OL-7657-01

Contents

debug lacp debug nvram debug pagp

2-58 2-59 2-60 2-61 2-62 2-63

debug monitor

debug platform packet protocol lacp debug platform packet protocol pagp debug pm2-64 2-65 2-66 2-67 2-68

debug psecure

debug redundancy debug smf updates debug spanning-tree

debug spanning-tree backbonefast debug spanning-tree switch debug sw-vlan debug sw-vlan ifs debug sw-vlan vtp debug udld debug vqpc deny2-80 2-82 2-77 2-78 2-79 2-73 2-74 2-75 2-70

2-69

debug spanning-tree uplinkfast

2-72

debug sw-vlan notification2-76

define interface-range diagnostic monitor action diagnostic start2-83

dot1x auth-fail max-attempts dot1x auth-fail vlan dot1x guest-vlan dot1x initialize dot1x max-req2-85 2-86

2-84

dot1x guest-vlan supplicant2-88 2-89

2-87

dot1x max-reauth-req2-90

dot1x multiple-hosts dot1x port-control dot1x re-authenticate dot1x re-authentication

2-91 2-92 2-94 2-95

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG OL-7657-01

v

Contents

dot1x system-auth-control dot1x timeout duplex erase2-99 2-101 2-104 2-106 2-97

2-96

errdisable detect errdisable recovery flowcontrol2-109

hw-module power instance interface2-115 2-117

2-112 2-113

hw-module uplink select

interface port-channel interface range interface vlan2-120 2-122

2-119

ip arp inspection filter vlan ip arp inspection log-buffer ip arp inspection trust ip arp inspection vlan2-129

2-123 2-125

ip arp inspection limit (interface)2-127

ip arp inspection validate

2-130

2-132 2-133 2-135

ip arp inspection vlan logging ip cef load-sharing algorithm ip dhcp snooping2-137

ip dhcp snooping binding ip dhcp snooping database

2-138 2-139 2-141 2-142

ip dhcp snooping information option ip dhcp snooping limit rate ip dhcp snooping trust ip dhcp snooping vlan ip igmp filter ip igmp profile ip igmp snooping2-147 2-148 2-145 2-143

ip dhcp snooping information option allow-untrusted2-144

ip igmp max-groups2-149

ip igmp query-interval

2-150

2-151

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG

vi

OL-7657-01

Contents

ip igmp snooping report-suppression ip igmp snooping vlan2-155

2-153

ip igmp snooping vlan explicit-tracking ip igmp snooping vlan immediate-leave ip igmp snooping vlan mrouter ip igmp snooping vlan static ip local-proxy-arp ip mfib fastdrop ip source binding ip sticky-arp2-166 2-168 2-161 2-162 2-163 2-165 2-158 2-160

2-156 2-157

ip route-cache flow

ip verify header vlan all l2protocol-tunnel2-171

ip verify source vlan dhcp-snooping l2protocol-tunnel cos2-172

2-169

l2protocol-tunnel drop-threshold lacp port-priority lacp system-priority2-177 2-178

2-173 2-175

l2protocol-tunnel shutdown-threshold

logging event link-status global (global configuration) logging event link-status (interface configuration) logging event trunk-status (interface configuration) mac access-list extended2-185 2-188 2-189

2-179

2-180 2-182

logging event trunk-status global (global configuration)

2-183

mac-address-table aging-time mac-address-table static macro apply cisco-desktop macro apply cisco-phone macro apply cisco-router macro apply cisco-switch main-cpu match2-202 2-203 2-204 2-208 2-192

mac-address-table dynamic group protocols2-194 2-196 2-198 2-200

match flow ip media-type

Catalyst 4500 Series Switch Cisco IOS Command ReferenceRelease 12.2(25)SG OL-7657-01

vii

Contents

mode mtu name

2-209 2-211

monitor session2-215 2-216

pagp learn-method pagp port-priority permit2-219 2-221

2-217 2-218

policy-map

port-channel load-balance power dc input power inline2-225 2-226

2-223

power inline consumption power redundancy-mode port-security mac-address port-security maximum

Related documents