Cisco Systems C2960XSTACK Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Redes Cisco Systems C2960XSTACK. Cisco Systems C2960XSTACK User's Manual [en] Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 112
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 0
1 2 3 4 5 6 ... 111 112

Resumo do Conteúdo

Página 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

Página 2

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

Página 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

Página 4 - Contents

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

Página 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-

Página 6

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

Página 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

Página 8

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

Página 9 - Document Conventions

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

Página 10 - Timesaver

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

Página 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

Página 12

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

Página 13 - Command Modes

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

Página 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

Página 15 - Using the Help System

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

Página 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

Página 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

Página 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

Página 19

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

Página 20

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

Página 21

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

Página 22

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 28 - NameSpace Mapper

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

Página 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

Página 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

Página 31 - Automated CNS Configuration

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

Página 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•

Página 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

Página 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

Página 35

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

Página 36

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

Página 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

Página 38

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

Página 39

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

Página 40 - Refreshing DeviceIDs

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

Página 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

Página 42

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

Página 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

Página 44 - Additional References

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

Página 45 - Information About CDP

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

Página 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

Página 47

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

Página 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

Página 49 - Enabling CDP

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

Página 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

Página 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

Página 52

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

Página 53

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

Página 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

Página 55 - Protocol

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

Página 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

Página 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

Página 58 - Information About SNMP

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

Página 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

Página 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

Página 61 - SNMP Configuration Guidelines

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

Página 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

Página 63 - Configuring Community Strings

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

Página 64

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

Página 65

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

Página 66

ResultEncryptionAuthenticationLevelModelUses a usernamematch forauthentication.NoUsernamenoAuthNoPrivSNMPv3Providesauthentication basedon the HMAC-MD5

Página 67

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

Página 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

Página 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

Página 70

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

Página 71

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

Página 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

Página 73

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

Página 74 - Monitoring SNMP Status

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

Página 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

Página 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

Página 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

Página 78 - 66 OL-29044-01

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

Página 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

Página 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,

Página 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

Página 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

Página 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

Página 84 - Source Ports

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

Página 85 - Destination Port

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

Página 86 - RSPAN VLAN

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

Página 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-

Página 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

Página 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

Página 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

Página 91

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 102

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

Página 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

Página 104

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

Página 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,

Página 106

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

Página 107

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

Página 108

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

Página 109

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

Página 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

Página 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

Página 112 - IN-2 OL-29044-01

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

Comentários a estes Manuais

Sem comentários