Cisco Catalyst 2.2.25 Release Command Reference - Cisco

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.

CONTENTS

Preface

xv

Audience

Purpose

xv

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

Submitting a Service Request xx

Definitions of Service Request Severity xx

Obtaining Additional Publications and Information

CHAPTER

1

Using the Command-Line Interface

xix

xxi

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

CHAPTER

2

Catalyst 2960 Switch Cisco IOS Commands

aaa accounting dot1x

2-1

aaa authentication dot1x

aaa authorization network

archive download-sw

2-1

2-3

2-5

2-6

Catalyst 2960 Switch Command Reference

OL-8604-01

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

boot helper

2-20

2-21

boot helper-config-file

boot manual

2-22

2-23

boot private-config-file

boot system

2-25

channel-group

2-26

channel-protocol

class

2-24

2-29

2-30

class-map

clear dot1x

clear eap

2-32

2-34

2-35

clear ip dhcp snooping database

clear lacp

2-36

2-37

clear mac address-table

2-38

clear mac address-table move update

clear pagp

2-40

clear port-security

2-41

clear spanning-tree counters

2-43

clear spanning-tree detected-protocols

clear vmps statistics

clear vtp counters

2-46

cluster discovery hop-count

cluster enable

2-44

2-45

cluster commander-address

2-47

2-49

2-50

cluster holdtime

2-52

cluster member

2-53

cluster outside-interface

cluster run

2-39

2-55

2-56

cluster standby-group

2-57

Catalyst 2960 Switch Command Reference

iv

OL-8604-01

Contents

cluster timer

2-59

define interface-range

delete

2-60

2-62

deny (MAC access-list configuration)

dot1x

2-66

dot1x auth-fail max-attempts

dot1x auth-fail vlan

2-68

2-70

dot1x control-direction

2-72

dot1x critical (global configuration)

dot1x critical (interface configuration)

dot1x default

2-79

dot1x host-mode

2-81

dot1x initialize

2-76

2-82

dot1x mac-auth-bypass

dot1x max-reauth-req

dot1x max-req

dot1x pae

2-74

2-78

dot1x guest-vlan

2-83

2-85

2-86

2-87

dot1x port-control

2-88

dot1x re-authenticate

2-90

dot1x reauthentication

dot1x timeout

duplex

2-63

2-91

2-92

2-95

errdisable detect cause

2-97

errdisable recovery

2-99

exception crashinfo

2-101

flowcontrol

2-102

interface port-channel

interface range

interface vlan

2-106

2-108

ip access-group

ip address

2-104

2-109

2-111

ip dhcp snooping

2-113

ip dhcp snooping binding

ip dhcp snooping database

2-114

2-116

Catalyst 2960 Switch Command Reference

OL-8604-01

v

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

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

Google Online Preview   Download