Cisco Systems WSC2960X24PDL Manual De Usuario

Descargar
Página de 112
Purpose
Command or Action
Example:
Switch(config)#
snmp-server user
Pat public v2c
Enter the SNMP version number (v1v2c, 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 auth-password (not to exceed 64 characters).
If you enter v3 you can also configure a private (priv) encryption algorithm and
password string priv-password using the following keywords (not to exceed 64
characters):
• priv specifies the User-based Security Model (USM).
• des specifies the use of the 56-bit DES algorithm.
• 3des specifies the use of the 168-bit DES algorithm.
• aes specifies the use of the DES algorithm. You must select either 128-bit,
192-bit, or 256-bit encryption.
(Optional) Enter access access-list with a string (not to exceed 64 characters) that
is the name of the access list.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 5
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
to select either traps or informs, the keyword traps refers to traps, informs, or both. Use the snmp-server
host 
global configuration command to specify whether to send SNMP notifications as traps or informs.
Note
You can use the snmp-server host global configuration command for a specific host to receive the notification
types listed in the following table. You can enable any or all of these traps and configure a trap manager to
receive them.
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
   OL-29044-01
55
Configuring Simple Network Management Protocol
Configuring SNMP Notifications