Management and Configuration Guide K/KA/KB.15.15

These traps cannot be redirected to other communities. If you change or delete the default
public community name, these traps are not sent.
Thresholds: A switch automatically sends all messages created when a system threshold is
reached to the network management station that configured the threshold, regardless of the
trap receiver configuration.
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.
NOTE: To replace one community name with another for the same IP address, you must first enter
the
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.
SNMP trap when MAC address table changes
An SNMP trap is generated when a laptop/PC is removed from the back of an IP phone and the
laptop/PC MAC address ages out of the MAC table for the HP Switch 2920 and HP 5400 series
switch.
The mac-notify trap feature globally enables the generation of SNMP trap notifications on MAC
address table changes (learns/moves/removes/ages.)
The following command enables trap for aged MAC addresses:
Syntax
no] mac-notify traps <port-list>aged
Example
For port 1 the command is:
Syntax
mac-notify traps 1 aged
Show command
Use the following show command to display the different mac-notify traps configured on an interface:
Syntax
show mac-notify traps
Displays the following information:
Mac Notify Trap Information
Mac-notify Enabled : No
Mac-move Enabled : No
246 Configuring for Network Management Applications