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:
switch(config)# [no] mac-notify traps [
port-list
] aged
Example:
For port 1 the command is:
Syntax:
switch(config)# mac-notify traps 1 aged
show command
Use the following show command to display the different mac-notify traps configured on an interface:
Syntax:
Switch # show mac-notify traps
Displays the following information:
Mac Notify Trap Information
Mac-notify Enabled : No
Mac-move Enabled : No
Trap-interval : 30
Port MAC Addresses trap learned/removed/aged
------ ---------------------------------------
1 Learned, Removed & Aged
2 Removed & Aged
3 Learned & Aged
4 Learned & Removed
5 Aged
6 Learned
7 Removed
Example:
For port 1 the command would be as follows
Switch # show mac-notify traps 1
Displays the following information:
1 Aged
SNMPv2c informs
On a switch enabled for SNMPv2c, you can use the
snmp-server host inform
on page 199) to send inform requests when certain events occur. When an SNMP
Manager receives an inform request, it can send an SNMP response back to the sending agent on the switch to
let the agent know that the inform request reached its destination.
If the sending agent on the switch does not receive an SNMP response back from the SNMP Manager within the
timeout period, the inform request may be resent, based on the retry count value.
When you enable SNMPv2c inform requests to be sent, you must specify the IP address and community name of
the management station that will receive the inform notification.
198
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08