Configuring Snmp Notifications - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 27
Configuring SNMP
Command
Step 4
snmp-server user username groupname
{remote host [udp-port port]} {v1 [access
access-list] | v2c [access access-list] | v3
[encrypted] [access access-list] [auth {md5 |
sha} auth-password]}
Step 5
end
Step 6
show running-config
Step 7
copy running-config startup-config

Configuring SNMP Notifications

A trap manager is a management station that receives and processes traps. Traps are system alerts that
the switch generates when certain events occur. By default, no trap manager is defined, and no traps are
sent. Switches running this Cisco IOS release can have an unlimited number of trap managers.
Many commands use the word traps in the command syntax. Unless there is an option in the command
Note
to select either traps or informs, the keyword traps refers to either traps, informs, or both. Use the
snmp-server host global configuration command to specify whether to send SNMP notifications as
traps or informs.
Table 27-4
traps and configure a trap manager to receive them.
Table 27-4
Notification Type
Keyword
alarms
bridge
c2900
78-11380-12
Purpose
Add a new user for an SNMP group.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
describes the supported switch traps (notification types). You can enable any or all of these
Switch Notification Types
Description
Generates SNMP alarm traps (Catalyst 2955 switch only).
Generates STP bridge MIB traps.
Generates a trap for Catalyst 2950- and Catalyst 2955-specific notifications.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
The username is the name of the user on the host that connects
to the agent.
The groupname is the name of the group to which the user is
associated.
Enter remote to specify a remote SNMP entity to which the
user belongs and the hostname or IP address of that entity with
the optional UDP port number. The default is 162.
Enter the SNMP version number (v1, v2c, or v3). If you enter
v3, you have these additional options:
encrypted specifies that the password appears in
encrypted format. This keyword is available only when
the v3 keyword is specified.
auth is an authentication level setting session that can be
either the HMAC-MD5-96 (md5) or the HMAC-SHA-96
(sha) authentication level, and requires a password string
(not to exceed 64 characters).
(Optional) Enter access access-list with a string (not to exceed
64 characters) that is the name of the access list.
Configuring SNMP
27-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents