Catalyst 2960 Switch Software Configuration Guide - Cisco

Catalyst 2960 Switch

Software Configuration Guide

Cisco IOS Release 12.2(40)SE

Revised September 2007

Americas Headquarters

Cisco Systems, Inc.

170 West Tasman Drive

San Jose, CA 95134-1706

USA



Tel: 408 526-4000

800 553-NETS (6387)

Fax: 408 527-0883

Text Part Number: OL-8603-04

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.

CCVP, the Cisco logo, and the Cisco Square Bridge logo are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of

Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo,

Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step,

Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study,

LightStream, Linksys, MeetingPlace, MGX, Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, 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. (0708R)

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 Software Configuration Guide

? 2006-2007 Cisco Systems, Inc. All rights reserved.

C O N T E N T S

Preface

xxix

Audience

Purpose

xxix

xxix

Conventions

xxx

Related Publications

xxx

Obtaining Documentation, Obtaining Support, and Security Guidelines

CHAPTER

1

Overview

1-1

Features 1-1

Ease-of-Deployment and Ease-of-Use Features

Performance Features 1-2

Management Options 1-3

Manageability Features 1-4

Availability and Redundancy Features 1-6

VLAN Features 1-7

Security Features 1-7

QoS and CoS Features 1-9

Monitoring Features 1-10

Default Settings After Initial Switch Configuration

1-1

1-10

Network Configuration Examples 1-12

Design Concepts for Using the Switch 1-12

Small to Medium-Sized Network Using Catalyst 2960 Switches

Long-Distance, High-Bandwidth Transport Configuration 1-17

Where to Go Next

CHAPTER

2

xxxii

1-16

1-18

Using the Command-Line Interface

Understanding Command Modes

Understanding the Help System

2-1

2-1

2-3

Understanding Abbreviated Commands

2-4

Understanding no and default Forms of Commands

Understanding CLI Error Messages

Using Configuration Logging

2-4

2-5

2-5

Catalyst 2960 Switch Software Configuration Guide

OL-8603-04

iii

Contents

Using Command History 2-6

Changing the Command History Buffer Size 2-6

Recalling Commands 2-6

Disabling the Command History Feature 2-7

Using Editing Features 2-7

Enabling and Disabling Editing Features 2-7

Editing Commands through Keystrokes 2-7

Editing Command Lines that Wrap 2-9

Searching and Filtering Output of show and more Commands

2-10

Accessing the CLI 2-10

Accessing the CLI through a Console Connection or through Telnet

CHAPTER

3

Assigning the Switch IP Address and Default Gateway

Understanding the Boot Process

2-10

3-1

3-1

Assigning Switch Information 3-2

Default Switch Information 3-3

Understanding DHCP-Based Autoconfiguration 3-3

DHCP Client Request Process 3-4

Configuring DHCP-Based Autoconfiguration 3-5

DHCP Server Configuration Guidelines 3-5

Configuring the TFTP Server 3-6

Configuring the DNS 3-6

Configuring the Relay Device 3-6

Obtaining Configuration Files 3-7

Example Configuration 3-8

Manually Assigning IP Information 3-10

Checking and Saving the Running Configuration

3-10

Modifying the Startup Configuration 3-11

Default Boot Configuration 3-12

Automatically Downloading a Configuration File 3-12

Specifying the Filename to Read and Write the System Configuration

Booting Manually 3-13

Booting a Specific Software Image 3-14

Controlling Environment Variables 3-14

3-12

Scheduling a Reload of the Software Image 3-16

Configuring a Scheduled Reload 3-16

Displaying Scheduled Reload Information 3-17

Catalyst 2960 Switch Software Configuration Guide

iv

OL-8603-04

Contents

CHAPTER

4

Configuring Cisco IOS CNS Agents

4-1

Understanding Cisco Configuration Engine Software 4-1

Configuration Service 4-2

Event Service 4-3

NameSpace Mapper 4-3

What You Should Know About the CNS IDs and Device Hostnames

ConfigID 4-3

DeviceID 4-4

Hostname and DeviceID 4-4

Using Hostname, DeviceID, and ConfigID 4-4

Understanding Cisco IOS Agents 4-5

Initial Configuration 4-5

Incremental (Partial) Configuration

Synchronized Configuration 4-6

4-3

4-6

Configuring Cisco IOS Agents 4-6

Enabling Automated CNS Configuration 4-6

Enabling the CNS Event Agent 4-8

Enabling the Cisco IOS CNS Agent 4-9

Enabling an Initial Configuration 4-9

Enabling a Partial Configuration 4-11

Displaying CNS Configuration

CHAPTER

5

Clustering Switches

4-12

5-1

Understanding Switch Clusters 5-1

Cluster Command Switch Characteristics 5-3

Standby Cluster Command Switch Characteristics 5-3

Candidate Switch and Cluster Member Switch Characteristics

5-3

Planning a Switch Cluster 5-4

Automatic Discovery of Cluster Candidates and Members 5-4

Discovery Through CDP Hops 5-5

Discovery Through Non-CDP-Capable and Noncluster-Capable Devices

Discovery Through Different VLANs 5-6

Discovery Through Different Management VLANs 5-7

Discovery of Newly Installed Switches 5-8

HSRP and Standby Cluster Command Switches 5-9

Virtual IP Addresses 5-10

Other Considerations for Cluster Standby Groups 5-10

Automatic Recovery of Cluster Configuration 5-11

IP Addresses 5-12

5-6

Catalyst 2960 Switch Software Configuration Guide

OL-8603-04

v

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

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

Google Online Preview   Download