SNMP trap receivers
Use the snmp-server host
command to configure a trap
receiver that can receive SNMPv1 and SNMPv2c traps, and (optionally)
Event Log messages. When
you configure a trap receiver, you specify its community membership,
management station IP address, and (optionally) the type of Event
Log messages to be sent.
If you specify a community name that does not exist—that is, has not yet been configured on the switch—the switch still accepts the trap receiver assignment. However, no traps are sent to that trap receiver until the community to which it belongs has been configured on the switch.
no snmp-server host <community-name> {< ipv4-address | ipv6-address >}
command to
delete the unwanted community name. Otherwise, if you add a new community
name with an IP address that is already used with a different community
name, two valid community name entries are created for the same management
station.
If you do not specify the event level ([none|all|not-info|critical|debug]
), the switch does not
send Event Log messages as traps. However, "well-known" traps and
threshold traps (if configured) are still sent.