SNMP Commands
snmp-server trap
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
446
32
snmp-server trap
To send SNMP traps when the authentication fails, use the snmp-server trap
Global Configuration mode command.
To disable SNMP traps, use the no form of this command.
Syntax
snmp-server trap [auth | cold-start | linkUpDown | port-security | warm-start]
no snmp-server trap [auth | cold-start | linkUpDown | port-security | warm-start]
Parameters
•
auth—(Optional) Enables the SNMP authentication failure trap.
•
cold-start—(Optional) Enables the SNMP bootup cold startup trap.
•
linkUpDown—(Optional) Enables the SNMP link up and down trap.
•
port-security—(Optional) Enables the port security trap.
•
warm-start—(Optional) Enables the SNMP bootup warm startup trap.
Default Configuration
SNMP auth, cold-start, warm-start, port-security, and linkUpDown traps are
enabled.
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
snmp-server trap auth
snmp-server user
To define an SNMP user, use the snmp-server user Global Configuration mode
command.
To delete an SNMP user, use the
no
form of the command.