SNMP C
OMMANDS

4-95

notifications are enabled. If you enter the command with a keyword,
only the notification type related to that keyword is enabled.
•The snmp-server enable traps command is used in conjunction with
the snmp-server host command. Use the snmp-server host
command to specify which host or hosts receive SNMP notifications.
In order to send notifications, you must configure at least one
snmp-server host command.
Example
Related Commands
snmp-server host (4-93)

show snmp

Use this command to check the status of SNMP communications.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
This command provides information on the community access strings,
counter information for SNMP input and output protocol data units,
and whether or not SNMP logging has been enabled with the
snmp-server enable traps command.
Console(config)#snmp-server enable traps link-up-down
Console(config)#