Cisco Systems WSC2960X24TDL, WSC2960X48TSL, C2960XSTACK Snmp-server user username group-nameremote

Page 70

Configuring Simple Network Management Protocol

Configuring SNMP Notifications

SUMMARY STEPS

1.configure terminal

2.snmp-server engineID remote ip-addressengineid-string

3.snmp-server user username group-name{remote host [ udp-port port]} {v1 [access access-list] v2c [access access-list] v3 [encrypted] [access access-list] [auth {md5 sha} auth-password] }

4.snmp-server group group-name{v1 v2c v3 {auth noauth priv}} [read readview] [write writeview] [notify notifyview] [access access-list]

5.snmp-server host host-addr[informs traps] [version {1 2c 3 {auth noauth priv}}] community-string[notification-type]

6.snmp-server enable traps notification-types

7.snmp-server trap-source interface-id

8.snmp-server queue-length length

9.snmp-server trap-timeout seconds

10.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

snmp-server engineID remote ip-address

Specifies the engine ID for the remote host.

 

engineid-string

 

Example:

Switch(config)# snmp-server engineID remote 192.180.1.27 00000063000100a1c0b4011b

Step 3 snmp-server user username group-name{remote

host [ udp-portport]} {v1 [access access-list]

v2c [access access-list] v3 [encrypted] [access

access-list] [auth {md5 sha} auth-password] }

Example:

Switch(config)# snmp-server user Pat public v2c

Configures an SNMP user to be associated with the remote host created in Step 2.

Note You cannot configure a remote user for an address without first configuring the engine ID for the remote host. Otherwise, you receive an error message, and the command is not executed.

Step 4

snmp-server group group-name{v1 v2c v3

Configures an SNMP group.

 

{auth noauth priv}} [read readview] [write

 

 

writeview] [notify notifyview] [access access-list]

 

Example:

Switch(config)# snmp-server group public v2c access lmnop

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

58

OL-29044-01

Image 70
Contents Americas Headquarters First Published July 10Page N T E N T S Configuring the Cisco Discovery Protocol Configuring Simple Network Management Protocol Rspan Vlan Vii Viii Convention Description Document ConventionsBold font Reader Alert Conventions Obtaining Documentation and Submitting a Service Request Related DocumentationXii Information About Using the Command-Line Interface Command ModesQuit Mode Access Method Prompt Exit Method About This ModeConfigure Ctrl-ZMode Using the Help SystemCommand or Action Purpose Step HelpNo and default Forms of Commands Understanding Abbreviated CommandsCLI Error Messages Configuring the Command History How to Use the CLI to Configure FeaturesConfiguration Logging Error Message MeaningRecalling Commands Changing the Command History Buffer SizeCommand or Action Privileged Exec mode Enabling and Disabling Editing FeaturesDisabling the Command History Feature Terminal no historyEditing Commands through Keystrokes Editing Command Lines That Wrap Show more command begin include exclude regular-expression Searching and Filtering Output of show and more CommandsAccess-list Show more command begin include excludeCommand or Action Example OL-29044-01 Finding Feature Information Prerequisites for Configuring the Configuration EngineCisco Configuration Engine Software Restrictions for Configuring the Configuration EngineInformation About Configuring the Configuration Engine Related TopicsConfiguration Service Cisco Configuration Engine Architectural OverviewConfigID Event ServiceCisco Networking Services IDs and Device Hostnames NameSpace MapperDeviceID Hostname, DeviceID, and ConfigIDHostname and DeviceID Initial Configuration Cisco IOS CNS AgentsSynchronized Configuration Automated CNS ConfigurationIncremental Partial Configuration Device Required ConfigurationEnabling the CNS Event Agent How to Configure the Configuration EngineConfigure terminal EndConfigure terminal Enters the global configuration mode Reconnect-time time backupCns config partial hostname ip-address Cns config initial hostname ip-addressEnabling the Cisco IOS CNS Agent On the switch Enabling an Initial Configuration for Cisco IOS CNS AgentCommand or Action Purpose End Returns to privileged Exec modeConfigure terminal Cns template connect name Exit Hostname nameExit Returns to global configuration mode Discover controller controller-typedlciHostname string string udi event image command ExitPort-number event no-persist Source ip-address syntax-checkRefreshing DeviceIDs Show cns config connectionsShow cns event connections No cns event ip-address port-number Enabling a Partial Configuration for Cisco IOS CNS Agent Cns config partial ip-addresshostnameMonitoring CNS Configurations Command PurposeRelease Modification Additional ReferencesTechnical Assistance Description Link Cisco IOS 15.02EXInformation About CDP CDP OverviewConfiguring CDP Characteristics How to Configure CDPDefault CDP Configuration FeatureOptional Configures CDP to send Version-2 advertisements No cdp run Disables CDP Configure terminal No cdp run EndDisabling CDP Cdp run Enables CDP if it has been disabled Configure terminal Cdp run EndEnabling CDP Disabling CDP on an Interface No cdp enable EndEnters interface configuration mode Specifies the interface on which you are disabling CDPCdp enable End Enabling CDP on an InterfaceMonitoring and Maintaining CDP Cdp enable Enables CDP on a disabled interfaceCommand Description Specifies the interface on which you are enabling CDPShow cdp traffic CommandShow cdp neighbors interface-id Related Documents Related Topic Document TitleFeature History and Information for Cisco Discovery Protocol Prerequisites for Snmp Supported Snmp VersionsModel Level Authentication Encryption Result SHA Snmp Overview Restrictions for SnmpInformation About Snmp Snmp Manager FunctionsSnmp Agent Functions Snmp MIB Variables AccessSnmp Community Strings Snmp Notifications Snmp ifIndex MIB Object ValuesFeature Default Setting Default Snmp ConfigurationSnmp Configuration Guidelines Interface TypeConfigure terminal No snmp-server End How to Configure SnmpDisabling the Snmp Agent Configuring Community Strings No snmp-server Disables the Snmp agent operationSwitchconfig# access-list 4 deny any Configuring Snmp Groups and Users Snmp-server engineID localIntegers twice the normal width V1 is the least secure of the possible security modelsSnmp-server user username Configuring Snmp Notifications End ExampleNotification Type Keyword Description Port-security Snmp-server enable traps port-securitySnmp-server enable traps port-security trap-rate rate RtrV2c access access-list v3 encrypted access Snmp-server user username group-nameremoteRange is 1 to 1000 the default is Setting the Agent Contact and Location Information Snmp-server contact text Sets the system contact string Limiting Tftp Servers Used Through SnmpSnmp-server location text Sets the system location string Monitoring Snmp Status Snmp-server tftp-server-listSnmp Examples Switchconfig# snmp-server enable traps entity Configuring Span and Rspan Prerequisites for Span and RspanRestrictions for Span and Rspan RspanFlow-Based Span Fspan and Flow-Based Rspan Frspan Span and Rspan Information About Span and RspanLocal Span Example of Local Span Configuration on a Single Device Remote SpanExample of Rspan Configuration Span and Rspan Concepts and TerminologySpan Sessions Source Ports Source VLANs Rspan Vlan Span and Rspan Interaction with Other Features Flow-Based Span Span and Rspan and Device StacksConfiguration Guidelines Default Span and Rspan ConfigurationSpan Configuration Guidelines Fspan and Frspan Configuration Guidelines How to Configure Span and RspanRspan Configuration Guidelines Creating a Local Span SessionMonitor session sessionnumber source Both rx txEnd No monitor session sessionnumber all Local remoteCommand or Action Purpose Specifying VLANs to FilterConfiguring a Vlan as an Rspan Vlan Monitor session sessionnumber filter vlanRemote-span End Remote-spanCreating an Rspan Source Session Monitor session sessionnumber Destination remote vlan vlan-idSwitchconfig# no monitor session Creating an Rspan Destination Session Remote vlan vlan-id Switchconfig# monitor session 2 source remote vlan Configuring an Fspan Session Configure terminal Enters global configuration modeMonitor session sessionnumber source Configuring an Frspan Session Detailed Steps Monitoring Span and Rspan Operations Or Frspan configurationShow monitor Span and Rspan Configuration Examples Example Configuring Local SpanFeature History and Information for Span and Rspan Examples Creating an Rspan VlanLimit IPv4, IPv6 or IPv4 + IPv6, or D E Span sessions
Related manuals
Manual 18 pages 20.28 Kb

WSC2960X24TSL, C2960XSTACK, WSC2960X24PDL, WSC2960X24TSLL, WSC2960X24PSL specifications

Cisco Systems has long been a leader in networking technology, and its range of switching products exemplifies its commitment to high performance and reliability. Among its popular offerings are the Catalyst 2960-X and 2960-XR series switches, including models like WSC2960X48TSL, WSC2960XR48FPDI, WSC2960XR24TDI, and WSC2960XR48LPDI. These switches are designed to deliver efficient Layer 2 and Layer 3 capabilities, making them ideal for enterprise and small to medium-sized business networks.

The WSC2960X48TSL model boasts 48 Ethernet ports, providing ample connectivity for various devices. It supports Power over Ethernet (PoE), making it suitable for powering IP cameras, wireless access points, and VoIP phones. The switch also features Cisco’s Smart Operations technology, which simplifies network management and enhances user experience through automated features such as Cisco Auto Smartports and Auto QoS.

Turning to the WSC2960XR48FPDI, this version also features 48 ports but with enhanced redundancy and power capabilities, making it suitable for critical applications where uptime is paramount. This switch offers dual power supply options, ensuring that even in the event of a power failure, network operations continue seamlessly. Its Flexible NetFlow feature enables enhanced visibility and monitoring of traffic, allowing businesses to optimize their bandwidth usage and troubleshoot issues more efficiently.

The WSC2960XR24TDI model, with its 24 ports, is perfectly designed for networks with fewer devices yet still demands robust performance. It also includes advanced security features, such as IEEE 802.1X port-based authentication, enhancing the protection of sensitive data and communications within the network.

Lastly, the WSC2960XR48LPDI model is tailored for environments that require high availability and robust performance, featuring 48 ports along with Layer 3 static routing capabilities. With its support for IPv6 and advanced QoS features, this switch is prepared for the future of networking, accommodating the increasing demand for bandwidth and reliable connectivity.

All these switches utilize Cisco IOS software, providing a familiar interface for network administrators. They also incorporate advanced troubleshooting tools, like Cisco Prime, which facilitate effective network management. Collectively, the WSC2960 series switches represent a comprehensive solution for businesses seeking dependable, scalable, and manageable networking options. With their combination of performance, features, and reliability, these Cisco switches are essential for meeting the demands of modern networking.