Network Management Protocol (SNMP) Commands
OL-32830-01 Command Line Interface Reference Guide 882
45
45.19 snmp-server trap authentication
To enable the device to send SNMP traps when authentication fails, use the
snmp-server trap authentication Global Configuration mode command. To disable
SNMP failed authentication traps, use the no form of this command.
Syntax
snmp-server trap authentication
no snmp-server trap authentication
Parameters
This command has no arguments or keywords.
Default Configuration
SNMP failed authentication traps are enabled.
Command Mode
Global Configuration mode
User Guidelines
The command snmp-server enable traps enables all traps including failure traps.
Therefore, if that command is enabled (it is enabled by default), this command is
not necessary.
Example
The following example disables all SNMP traps and enables only failed
authentication traps.
switchxxxxxx(config)#
no snmp-server enable traps
switchxxxxxx(config)#
snmp-server trap authentication
45.20 snmp-server contact
To set the value of the system contact (sysContact) string, use the snmp-server
contact Global Configuration mode command. To remove the system contact
information, use the no form of the command.