Summary of the content on the page No. 1
Catalyst 2960-X Switch Network Management Configuration Guide,
Cisco IOS Release 15.0(2)EX
First Published: July 10, 2013
Americas 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 527-0883
Text Part Number: OL-29044-01
Summary of the content on the page No. 2
THE SPECIFICA TIONS AND INFORMA TION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT T O CHANGE WITHOUT NOTICE. ALL ST A TEMENTS, INFORMA TION, AND RECOMMENDA TIONS IN THIS MANUAL ARE BELIEVED T O BE ACCURA TE BUT ARE PRESENTED WITHOUT W ARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST T AKE FULL RESPONSIBILITY FOR THEIR APPLICA TION OF ANY PRODUCTS. THE SOFTW ARE LICENSE AND LIMITED W ARRANTY FOR THE ACCOMP ANYING PRODUCT ARE SET FOR TH IN THE INFORMA TION P ACKET THA T SHIPPED WITH THE PR
Summary of the content on the page No. 3
CONTENTS Preface Pr eface ix Document Conventions ix Related Documentation xi Obtaining Documentation and Submitting a Service Request xi CHAPTER 1 Using the Command-Line Interface 1 Information About Using the Command-Line Interface 1 Command Modes 1 Using the Help System 3 Understanding Abbreviated Commands 4 No and default Forms of Commands 4 CLI Error Messages 4 Configuration Logging 5 How to Use the CLI to Configure Features 5 Configuring the Command History 5 Changing the Command Histo
Summary of the content on the page No. 4
Contents Restrictions for Configuring the Configuration Engine 14 Information About Configuring the Configuration Engine 14 Cisco Configuration Engine Software 14 Configuration Service 15 Event Service 16 NameSpace Mapper 16 Cisco Networking Services IDs and Device Hostnames 16 ConfigID 16 DeviceID 17 Hostname and DeviceID 17 Hostname, DeviceID, and ConfigID 17 Cisco IOS CNS Agents 18 Initial Configuration 18 Incremental (Partial) Configuration 19 Synchronized Configuration 19 Automated CNS Conf
Summary of the content on the page No. 5
Contents Enabling CDP 37 Disabling CDP on an Interface 38 Enabling CDP on an Interface 39 Monitoring and Maintaining CDP 40 Additional References 41 Feature History and Information for Cisco Discovery Protocol 42 CHAPTER 4 Configuring Simple Network Management Pr otocol 43 Finding Feature Information 43 Prerequisites for SNMP 43 Restrictions for SNMP 46 Information About SNMP 46 SNMP Overview 46 SNMP Manager Functions 46 SNMP Agent Functions 47 SNMP Community Strings 47 SNMP MIB V ariables Acces
Summary of the content on the page No. 6
Contents Restrictions for SP AN and RSP AN 66 Information About SP AN and RSP AN 68 SP AN and RSP AN 68 Local SP AN 68 Remote SP AN 69 SP AN and RSP AN Concepts and T erminology 70 SP AN Sessions 71 Monitored T raf fic 71 Source Ports 72 Source VLANs 73 VLAN Filtering 73 Destination Port 73 RSP AN VLAN 74 SP AN and RSP AN Interaction with Other Features 75 SP AN and RSP AN and Device Stacks 76 Flow-Based SP AN 76 Default SP AN and RSP AN Configuration 77 Configuration Guidelines 77 SP AN Configu
Summary of the content on the page No. 7
Contents Examples: Creating an RSP AN VLAN 97 Feature History and Information for SP AN and RSP AN 97 Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29044-01 vii
Summary of the content on the page No. 8
Contents Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX viii OL-29044-01
Summary of the content on the page No. 9
Preface This preface contains the following topics: • Document Conventions, page ix • Related Documentation, page xi • Obtaining Documentation and Submitting a Service Request, page xi Document Conventions This document uses the following conventions: Convention Description ^ or Ctrl Both the ^ symbol and Ctrl represent the Control (Ctrl) key on a keyboard. For example, the key combination ^D or Ctrl-D means that you hold down the Control key while you press the D key . (Keys are indicated in ca
Summary of the content on the page No. 10
Preface Document Conventions Convention Description [x | y] Optional alternative keywords are grouped in brackets and separated by vertical bars. {x | y} Required alternative keywords are grouped in braces and separated by vertical bars. [x {y | z}] Nested set of square brackets or braces indicate optional or required choices within optional or required elements. Braces and a vertical bar within square brackets indicate a required choice within an optional element. string A nonquoted set of char
Summary of the content on the page No. 11
Preface Related Documentation Related Documentation Note Before installing or upgrading the switch, refer to the switch release notes. Catalyst 2960-X Switch documentation, located at: • http:// www .cisco.com/go/ cat2960x_docs • Cisco SFP and SFP+ modules documentation, including compatibility matrixes, located at: http:// www .cisco.com/en/US/products/hw/ modules/ps5455/ tsd_products_support_series_home.html • Cisco V alidated Designs documents, located at: http:// www .cisco.com/go/ designzon
Summary of the content on the page No. 12
Preface Obtaining Documentation and Submitting a Service Request Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX xii OL-29044-01
Summary of the content on the page No. 13
CHAPTER 1 Using the Command-Line Interface This chapter contains the following topics: Information About Using the Command-Line Interface, page 1 • • How to Use the CLI to Configure Features, page 5 Information About Using the Command-Line Interface This section describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Command Modes The Cisco IOS user interface is divided into many dif ferent modes. The commands available to you depend on which mode you are
Summary of the content on the page No. 14
Using the Command-Line Interface Command Modes Table 1: Command Mode Summary Mode Access Method Prompt Exit Method About This Mode User EXEC Begin a session Enter logout or Use this mode to Switch > using T elnet, SSH, quit. Change • or console. terminal settings. • Perform basic tests. Display • system information. Privileged EXEC While in user EXEC Enter disable to Use this mode to Switch # mode, enter the verify commands exit. enable command. that you have entered. Use a password to protect a
Summary of the content on the page No. 15
Using the Command-Line Interface Using the Help System Mode Access Method Prompt Exit Method About This Mode Line configuration While in global T o exit to global Use this mode to Switch (config-line)# configuration mode, configuration mode, configure specify a line with enter exit. parameters for the the line vty or line terminal line. T o return to console command. privileged EXEC mode, press Ctrl-Z or enter end. Using the Help System Y ou can enter a question mark (?) at the system prompt to
Summary of the content on the page No. 16
Using the Command-Line Interface Understanding Abbreviated Commands Command or Action Purpose Step 4 ? Lists all commands available for a particular command mode. Example: Switch> ? Step 5 command ? Lists the associated keywords for a command. Example: Switch> show ? Step 6 command keywor d ? Lists the associated ar guments for a keyword. Example: Switch(config)# cdp holdtime ? <10-255> Length of time (in sec) that receiver must keep this packet Understanding Abbreviated Commands Y ou need to en
Summary of the content on the page No. 17
Using the Command-Line Interface Configuration Logging Table 2: Common CLI Error Messages Error Message Meaning How to Get Help % Ambiguous command: "show Y ou did not enter enough Reenter the command followed by con" characters for your switch to a question mark (?) with a space recognize the command. between the command and the question mark. The possible keywords that you can enter with the command appear . % Incomplete command. Y ou did not enter all the keywords Reenter the command followed
Summary of the content on the page No. 18
Using the Command-Line Interface Configuring the Command History Changing the Command History Buffer Size By default, the switch records ten command lines in its history buf fer . Y ou can alter this number for a current terminal session or for all sessions on a particular line. This procedure is optional. SUMMARY STEPS 1. terminal history [ size number-of-lines] DETAILED STEPS Command or Action Purpose Step 1 terminal history [size number-of-lines] Changes the number of command lines that the s
Summary of the content on the page No. 19
Using the Command-Line Interface Enabling and Disabling Editing Features Command or Action Purpose Step 3 show history Lists the last several commands that you just entered in privileged EXEC mode. The number of commands that appear is controlled by the setting of the terminal history global configuration command and the history line configuration Example: Switch# show history command. Disabling the Command History Feature The command history feature is automatically enabled. Y ou can disable it
Summary of the content on the page No. 20
Using the Command-Line Interface Enabling and Disabling Editing Features Command or Action Purpose Step 2 terminal no editing Disables the enhanced editing mode for the current terminal session in the privileged EXEC mode. Example: Switch# terminal no editing Editing Commands through Keystrokes The keystrokes help you to edit the command lines. These keystrokes are optional. Note The arrow keys function only on ANSI-compatible terminals such as VT100s. Table 3: Editing Commands Editing Commands