Cisco Systems C2960XSTACK Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Mise en réseau Cisco Systems C2960XSTACK. Cisco Systems C2960XSTACK User's Manual [en] Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
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
Vue de la page 0
1 2 3 4 5 6 ... 111 112

Résumé du contenu

Page 1 - Cisco IOS Release 15.0(2)EX

Catalyst 2960-X Switch Network Management Configuration Guide,Cisco IOS Release 15.0(2)EXFirst Published: July 10, 2013Americas HeadquartersCisco Syst

Page 2

DescriptionConventionOptional alternative keywords are grouped in brackets and separated byvertical bars.[x | y]Required alternative keywords are grou

Page 3 - CONTENTS

Creating an RSPAN Destination SessionYou configure an RSPAN destination session on a different switch or switch stack; that is, not the switch orswitc

Page 4 - Contents

PurposeCommand or ActionRemoves any existing SPAN configuration for the session.no monitor session {session_number | all |local | remote}Step 5•For se

Page 5 - OL-29044-01 v

SUMMARY STEPS1.configure terminal2.no monitor session {session_number | all | local | remote}3.monitor session session_number source remote vlan vlan-

Page 6

PurposeCommand or Action•(Optional) [, | -] Specifies a series or range of interfaces. Enter a spacebefore and after the comma; enter a space before a

Page 7 - OL-29044-01 vii

PurposeCommand or ActionRemoves any existing SPAN configuration for the session.no monitor session {session_number |all | local | remote}Step 2•For se

Page 8

PurposeCommand or Action◦(Optional) encapsulation replicate specifies that the destinationinterface replicates the source interface encapsulation meth

Page 9 - Document Conventions

DETAILED STEPSPurposeCommand or ActionEnters global configuration mode.configure terminalExample:Switch# configure terminalStep 1Removes any existing

Page 10 - Timesaver

PurposeCommand or ActionExample:Switch(config)# monitor session 2destination remote vlan 5•For vlan-id, specify the destination RSPAN VLAN to monitor.

Page 11 - Related Documentation

SPAN and RSPAN Configuration ExamplesExample: Configuring Local SPANThis example shows how to set up SPAN session 1 for monitoring source port traffic

Page 12

Switch(config)# monitor session 2 destination interface gigabitethernet1/0/1Switch(config)# endExamples: Creating an RSPAN VLANThis example shows how

Page 13 - Command Modes

Related DocumentationBefore installing or upgrading the switch, refer to the switch release notes.Note•Catalyst 2960-X Switch documentation, located a

Page 14 - Table 1: Command Mode Summary

ModificationReleaseFlow-Based Switch Port Analyzer(SPAN): Provides a method tocapture only required (interesting)data between end hosts, by usingspeci

Page 15 - Using the Help System

INDEXCCisco Discovery Protocol (CDP) 33Cisco Networking Services 16CNS 16Configuration Engine 14restrictions 14Ddefault configuration 77RSPAN 77SPAN 7

Page 16 - CLI Error Messages

Sservices 16networking 16Simple Network Management Protocol (SNMP) 33SPAN 66, 68, 71, 72, 73, 75, 76, 77, 78, 80, 82, 91and stack changes 76configurat

Page 17 - Configuration Logging

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EXxii OL-29044-01 PrefaceObtaining Documentation and Submi

Page 18 - Recalling Commands

CHAPTER 1Using the Command-Line InterfaceThis chapter contains the following topics:•Information About Using the Command-Line Interface, page 1•How to

Page 19

Table 1: Command Mode SummaryAbout This ModeExit MethodPromptAccess MethodModeUse this mode to•Changeterminalsettings.•Perform basictests.•Displaysyst

Page 20

About This ModeExit MethodPromptAccess MethodModeLine configuration Use this mode toconfigureparameters for theterminal line.To exit to globalconfigur

Page 21

PurposeCommand or ActionLists all commands available for a particular commandmode.?Example:Switch> ?Step 4Lists the associated keywords for a comma

Page 22

Table 2: Common CLI Error MessagesHow to Get HelpMeaningError MessageReenter the command followed bya question mark (?) with a spacebetween the comman

Page 23

Changing the Command History Buffer SizeBy default, the switch records ten command lines in its history buffer. You can alter this number for a curren

Page 24 - 12 OL-29044-01

PurposeCommand or ActionLists the last several commands that you just entered in privileged EXEC mode.The number of commands that appear is controlled

Page 25 - Finding Feature Information

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMME

Page 26 - 14 OL-29044-01

PurposeCommand or ActionDisables the enhanced editing mode for the current terminal sessionin the privileged EXEC mode.terminal no editingExample:Swit

Page 27 - Configuration Service

Deletes from the cursor to the end of the word.Esc DCapitalizes at the cursor.Esc CChanges the word at the cursor to lowercase.Esc LCapitalizes letter

Page 28 - NameSpace Mapper

DETAILED STEPSPurposeCommand or ActionDisplays the global configuration command entry that extends beyondone line.access-listExample:Switch(config)# a

Page 29 - Hostname and DeviceID

PurposeCommand or ActionExpressions are case sensitive. For example, if you enter| exclude output, the lines that contain output are notdisplayed, but

Page 30 - Cisco IOS CNS Agents

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX12 OL-29044-01 Using the Command-Line InterfaceAccessing

Page 31 - Automated CNS Configuration

CHAPTER 2Configuring Cisco IOS Configuration EngineThis chapter describes how to configure the Cisco IOS Configuration Engine.•Finding Feature Informa

Page 32 - Enabling the CNS Event Agent

Related TopicsCisco Networking Services IDs and Device Hostnames, on page 16DeviceID, on page 17Restrictions for Configuring the Configuration Engine•

Page 33 - What to Do Next

In standalone mode, the Cisco Configuration Engine supports an embedded directory service. In this mode,no external directory or other data store is r

Page 34 - Before You Begin

Event ServiceThe Cisco Configuration Engine uses the Event Service for receipt and generation of configuration events.The Event Service consists of an

Page 35

The ConfigID is fixed at startup time and cannot be changed until the device restarts, even if the switchhostname is reconfigured.DeviceIDEach configu

Page 36

CONTENTSPreface Preface ixDocument Conventions ixRelated Documentation xiObtaining Documentation and Submitting a Service Request xiCHAPTER 1 Usin

Page 37

In server mode, the hostname is not used. In this mode, the unique DeviceID attribute is always used forsending an event on the bus. If this attribute

Page 38

Incremental (Partial) ConfigurationAfter the network is running, new services can be added by using the Cisco IOS CNS agent. Incremental(partial) conf

Page 39

Required ConfigurationDevice•A bootstrap configuration file that includes theCNS configuration commands that enable theswitch to communicate with the

Page 40 - Refreshing DeviceIDs

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Enables the event

Page 41

Related TopicsEvent Service, on page 16Enabling the Cisco IOS CNS AgentBeginning in privileged EXEC mode, follow these steps to enable the Cisco IOS C

Page 42

PurposeCommand or ActionEnables the Cisco IOS CNS agent and initiates a partial configurationon the switch.Returns to privileged EXEC mode.endExample:

Page 43 - Monitoring CNS Configurations

SUMMARY STEPS1.configure terminal2.cns template connect name3.cli config-text4.Repeat Steps 2 to 3 to configure another CNS connect template.5.exit6.c

Page 44 - Additional References

PurposeCommand or ActionReturns to global configuration mode.exitExample:Switch(config)# exitStep 5Enters CNS connect configuration mode, specifies th

Page 45 - Information About CDP

PurposeCommand or ActionReturns to global configuration mode.exitExample:Switch(config-cns-conn)# exitStep 10Enters the hostname for the switch.hostna

Page 46 - How to Configure CDP

PurposeCommand or ActionEnables the Cisco IOS agent, and initiates an initial configuration.cns config initial {hostname | ip-address}[port-number] [e

Page 47

Restrictions for Configuring the Configuration Engine 14Information About Configuring the Configuration Engine 14Cisco Configuration Engine Software 1

Page 48 - Disabling CDP

This example shows how to configure an initial configuration on a remote switch when the switch IP addressis known. The Configuration Engine IP addres

Page 49 - Enabling CDP

DETAILED STEPSPurposeCommand or ActionDisplays whether the CNS event agent is connecting to thegateway, connected, or active, and the gateway used by

Page 50 - Disabling CDP on an Interface

PurposeCommand or ActionMake sure that you have reestablished the connectionbetween the switch and the event connection byexamining the output from sh

Page 51 - Enabling CDP on an Interface

PurposeCommand or ActionReturns to privileged EXEC mode.endExample:Switch(config)# endStep 3What to Do NextTo verify information about the configurati

Page 52

Additional ReferencesRelated DocumentsDocument TitleRelated TopicCisco Configuration Engine Installation and SetupGuide, 1.5 for Linux http://www.cisc

Page 53

CHAPTER 3Configuring the Cisco Discovery ProtocolThis chapter describes the configuration of the Cisco Discovery Protocol (CDP).•Finding Feature Infor

Page 54 - 42 OL-29044-01

CDP runs on all media that support Subnetwork Access Protocol (SNAP). Because CDP runs over the data-linklayer only, two systems that support differen

Page 55 - Protocol

Beginning in privileged EXEC mode, follow these steps to configure these characteristics.SUMMARY STEPS1.configure terminal2.cdp timer seconds3.cdp hol

Page 56 - Prerequisites for SNMP

Switch(config)# cdp advertise-v2Switch(config)# endWhat to Do NextUse the no form of the CDP commands to return to the default settings.Related Topics

Page 57 - OL-29044-01 45

What to Do NextYou must reenable CDP to use it.Related TopicsEnabling CDP, on page 37Enabling CDPCDP is enabled by default.Switch clusters and other C

Page 58 - Information About SNMP

Enabling CDP 37Disabling CDP on an Interface 38Enabling CDP on an Interface 39Monitoring and Maintaining CDP 40Additional References 41Feature History

Page 59 - SNMP MIB Variables Access

ExampleThe following example shows how to enable CDP if it has been disabled:Switch# configure terminalSwitch(config)# cdp runSwitch(config)# endWhat

Page 60 - SNMP Notifications

PurposeCommand or ActionDisables CDP on the interface specified in Step 2.no cdp enableExample:Switch(config-if)# no cdp enableStep 3Returns to privil

Page 61 - SNMP Configuration Guidelines

PurposeCommand or ActionSpecifies the interface on which you are enabling CDP,and enters interface configuration mode.interface interface-idExample:Sw

Page 62 - How to Configure SNMP

DescriptionCommandDisplays information about a specific neighbor.You can enter an asterisk (*) to display all CDP neighbors, oryou can enter the name

Page 63 - Configuring Community Strings

Technical AssistanceLinkDescriptionhttp://www.cisco.com/supportThe Cisco Support website provides extensive onlineresources, including documentation a

Page 64

CHAPTER 4Configuring Simple Network ManagementProtocolThis chapter describes the Simple Network Management Protocol (SNMP) configuration.•Finding Feat

Page 65

•SNMPv2C replaces the Party-based Administrative and Security Framework of SNMPv2Classic withthe community-string-based Administrative Framework of SN

Page 66

ResultEncryptionAuthenticationLevelModelUses a usernamematch forauthentication.NoUsernamenoAuthNoPrivSNMPv3Providesauthentication basedon the HMAC-MD5

Page 67

Restrictions for SNMPVersion Restrictions•SNMPv1 does not support informs.Information About SNMPSNMP OverviewSNMP is an application-layer protocol tha

Page 68 - 56 OL-29044-01

DescriptionOperationStores a value in a specific variable.set-requestAn unsolicited message sent by an SNMP agent to an SNMP manager when some eventha

Page 69 - OL-29044-01 57

Restrictions for SPAN and RSPAN 66Information About SPAN and RSPAN 68SPAN and RSPAN 68Local SPAN 68Remote SPAN 69SPAN and RSPAN Concepts and Terminolo

Page 70

internetworking problems, increase network performance, verify the configuration of devices, monitor trafficloads, and more.As shown in the figure, th

Page 71

Table 9: ifIndex ValuesifIndex RangeInterface Type1–4999SVI45001–5048EtherChannel5078–5142Tunnel10000–14500Physical (such as Gigabit Ethernet or SFP5-

Page 72

•To configure a remote user, specify the IP address or port number for the remote SNMP agent of thedevice where the user resides.•Before you configure

Page 73

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Disables the SNMP

Page 74 - Monitoring SNMP Status

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Configures the co

Page 75 - SNMP Examples

This example shows how to assign the comaccess string to SNMP, to allow read-only access, and to specifythat IP access list 4 can use the community st

Page 76 - Management Protocol

PurposeCommand or Action•The engineid-string is a 24-character ID string with the name of the copy ofSNMP. You need not specify the entire 24-characte

Page 77

PurposeCommand or ActionExample:Switch(config)# snmp-server userPat public v2cEnter the SNMP version number (v1, v2c, or v3). If you enter v3, you hav

Page 78 - 66 OL-29044-01

Table 10: Device Notification TypesDescriptionNotification Type KeywordGenerates Border Gateway Protocol (BGP) state change traps. Thisoption is only

Page 79

DescriptionNotification Type KeywordGenerates SNMP port security traps. You can also set a maximumtrap rate per second. The range is from 0 to 1000; t

Page 80 - SPAN and RSPAN

Examples: Creating an RSPAN VLAN 97Feature History and Information for SPAN and RSPAN 97Catalyst 2960-X Switch Network Management Configuration Guide,

Page 81 - Remote SPAN

SUMMARY STEPS1.configure terminal2.snmp-server engineID remote ip-address engineid-string3.snmp-server user username group-name {remote host [ udp-por

Page 82 - 70 OL-29044-01

PurposeCommand or ActionSpecifies the recipient of an SNMP trap operation.snmp-server host host-addr [informs | traps][version {1 | 2c | 3 {auth | noa

Page 83 - Monitored Traffic

PurposeCommand or Action(Optional) Define how often to resend trap messages. The range is 1to 1000; the default is 30 seconds.snmp-server trap-timeout

Page 84 - Source Ports

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Sets the system c

Page 85 - Destination Port

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Limits the TFTP s

Page 86 - RSPAN VLAN

Table 11: Commands for Displaying SNMP InformationDefault SettingFeatureDisplays SNMP statistics.show snmpDisplays information on the local SNMP engin

Page 87 - OL-29044-01 75

second line specifies the destination of these traps and overwrites any previous snmp-server host commandsfor the host cisco.com.Switch(config)# snmp-

Page 88 - Flow-Based SPAN

CHAPTER 5Configuring SPAN and RSPANThis chapter describes how to configure Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN).Unless otherwise note

Page 89 - Configuration Guidelines

RSPAN•We recommend that you configure an RSPAN VLAN before you configure an RSPAN source or adestination session.Restrictions for SPAN and RSPANSPANTh

Page 90 - Creating a Local SPAN Session

•SPAN sessions do not interfere with the normal operation of the switch. However, an oversubscribedSPAN destination, for example, a 10-Mb/s port monit

Page 91

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EXviii OL-29044-01 Contents

Page 92

name}Both the filter vlan and filter ip access-group commands cannot be configured at thesame time. Configuring one results in rejection of the other.

Page 93

All traffic on port 5 (the source port) is mirrored to port 10 (the destination port). A network analyzer on port10 receives all network traffic from

Page 94 - Specifying VLANs to Filter

The figure below shows source ports on Switch A and Switch B. The traffic for each RSPAN session is carriedover a user-specified RSPAN VLAN that is de

Page 95

SPAN SessionsSPAN sessions (local or remote) allow you to monitor traffic on one or more ports, or one or more VLANs,and send the monitored traffic to

Page 96

• Both—In a SPAN session, you can also monitor a port or VLAN for both received and sent packets.This is the default.The default configuration for loc

Page 97

•Source ports can be in the same or different VLANs.•You can monitor multiple source ports in a single session.Source VLANsVLAN-based SPAN (VSPAN) is

Page 98

configuration. If a configuration change is made to the port while it is acting as a SPAN destination port,the change does not take effect until the S

Page 99

•STP can run on RSPAN VLAN trunks but not on SPAN destination ports.•An RSPAN VLAN cannot be a private-VLAN primary or secondary VLAN.For VLANs 1 to 1

Page 100 - DETAILED STEPS

•A private-VLAN port cannot be a SPAN destination port.•A secure port cannot be a SPAN destination port.For SPAN sessions, do not enable port security

Page 101 - Example:

added to the hardware memory on the switch. A system message notifies you of this action, which is calledreloading. The IPv4, IPv6 and MAC FSPAN ACLs

Page 102

PrefaceThis preface contains the following topics:•Document Conventions, page ix•Related Documentation, page xi•Obtaining Documentation and Submitting

Page 103 - Configuring an FSPAN Session

RSPAN Configuration Guidelines•All the SPAN configuration guidelines apply to RSPAN.•As RSPAN VLANs have special properties, you should reserve a few

Page 104

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Removes any exist

Page 105 - Configuring an FRSPAN Session

PurposeCommand or Action•For session_number, specify the session number entered in step 3.Example:Switch(config)# monitor session 1•For interface-id,

Page 106

PurposeCommand or ActionRemoves any existing SPAN configuration for the session.no monitor session {session_number | all |local | remote}Step 2•For se

Page 107

PurposeCommand or Action•untagged vlan vlan-id or vlan vlan-id—Accept incoming packets withuntagged encapsulation type with the specified VLAN as the

Page 108

PurposeCommand or ActionSpecifies the characteristics of the source port (monitored port) and SPANsession.monitor session session_number sourceinterfa

Page 109

SUMMARY STEPS1.configure terminal2.vlan vlan-id3.remote-span4.endDETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure

Page 110 - 98 OL-29044-01

To remove a source port or VLAN from the SPAN session, use the no monitor session session_numbersource {interface interface-id | vlan vlan-id} global

Page 111 - OL-29044-01 IN-1

PurposeCommand or ActionA single session can include multiple sources (ports or VLANs),defined in a series of commands, but you cannot combine sourcep

Page 112 - IN-2 OL-29044-01

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Removes any exist

Commentaires sur ces manuels

Pas de commentaire