CLI Reference Guide

Table Of Contents
SNMP Commands 437
snmp-server trap authentication
Use the
snmp-server trap authentication
command in Global Configuration mode to enable the
switch to send Simple Network Management Protocol traps when authentication fails. To disable
SNMP failed authentication traps, use the
no
form of this command.
Syntax
snmp-server trap authentication
no snmp-server trap authentication
Default Configuration
Traps are enabled by default.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays the command to enable authentication failed SNMP traps.
console(config)# snmp-server trap authentication
snmp-server user
Use the
snmp-server user
command in Global Configuration mode to configure a new SNMP
Version 3 user. To delete a user, use the
no
form of this command.
Syntax
snmp-server user
username groupname
[
remote
engineid-string
] [ {
auth-md5
password
|
auth-sha
password
|
auth-md5-key
md5-key
|
auth-sha-key
sha-key
} [
priv-des
password
|
priv-des-key
des-key
] ]
no snmp-server user
username
username
—Specifies the name of the user on the host that connects to the agent. (Range:
1-30 characters.)
groupname
—Specifies the name of the group to which the user belongs. (Range: 1-30
characters.)