C
OMMAND
L
INE
I
NTERFACE
4-142
enable traps command and the snmp-server host command for that
host must be enabled.
Some notification types cannot be controlled with the snmp-server
enable traps command. For example, some notification types are
always enabled.
The switch can send SNMP version 1 or version 2c notifications to a
host IP address, depending on the SNMP version that the
management station supports. If the snmp-server host command does
not specify the SNMP version, the default is to send SNMP version 1
notifications.
Example
Related Commands
snmp-server enable traps (4-142)
snmp-server enable traps
This command enables this device to send Simple Network Management
Protocol traps (SNMP notifications). Use the no form to disable SNMP
notifications.
Syntax
[no] snmp-server enable traps [authentication | link-up-down]
authentication - Keyword to issue authentication failure traps.
link-up-down - Keyword to issue link-up or link-down traps.
The link-up-down trap can only be enabled/disabled via the CLI.
Default Setting
Issue authentication and link-up-down traps.
Command Mode
Global Configuration
Console(config)#snmp-server host 10.1.19.23 batman
Console(config)#