A trap manager is a
management station that receives and processes traps. Traps are system alerts
that the
device
generates when certain events occur. By default, no trap manager is defined,
and no traps are sent.
Devices
running this Cisco IOS release can have an unlimited number of trap managers.
Note |
Many commands use the word traps in the command syntax. Unless there is an option in the command to select either traps or informs, the keyword traps refers to traps, informs, or both. Use the snmp-server host global configuration command to specify whether to send SNMP notifications as traps or informs.
|
You can use the
snmp-server enable traps
global configuration command combined with
the snmp-server host
global configuration command for a specific host to
receive the notification types listed in the following table. You can enable
any or all of these traps and configure a trap manager to receive them.
Note |
The snmp-server enable traps command does not support traps for local-authentication on your device.
|
Follow these steps
to configure the
device
to send traps or informs to a host.
The
snmp-server
host command specifies which hosts receive the notifications. The
snmp-server enable
traps command globally enables the method for the specified
notification (for traps and informs). To enable a host to receive an inform,
you must configure an
snmp-server host
informs command for the host and globally enable informs by using
the
snmp-server enable
traps command.
To remove the
specified host from receiving traps, use the
no snmp-server host
host global configuration command. The
no snmp-server
host command with no keywords disables traps, but not informs, to
the host. To disable informs, use the
no snmp-server host
informs global configuration command. To disable a specific trap
type, use the
no snmp-server enable
traps
notification-types global configuration command.