show mac-notify traps


show mac-notify traps <PORT-LIST>


Displays information about SNMP trap configuration for MAC Address Table changes.

Output of SNMP trap configuration

Displays SNMP trap information for all ports, or each port in the <PORT-LIST>.

switch# show mac-notify traps
Mac Notify Trap Information
Mac-notify Enabled : Yes
Mac-move Enabled : Yes
Trap-interval : 60
Port     MAC Addresses    trap learned/removed
------ ----------------------------------
1        None
2        None
3        Removed
4        Removed
5        Learned
6        Learned

Running config file with mac-notify parameters configured

The configured mac-notify commands are displayed in the show running-configuration output.

switch# show running-config
Running configuration:
; J9087A Configuration Editor; Created on release #R.11.XX
hostname "Switch"
snmp-server community "public" Unrestricted
snmp-server host "public"
snmp-server host "public"
snmp-server host "public"
snmp-server host "public"
vlan 1
  untagged 1-28
  ip address dhcp-bootp
snmp-server enable traps mac-notify mac-move
snmp-server enable traps mac-notify trap-interval 60
snmp-server enable traps mac-notify
mac-notify traps 5-6 learned
mac-notify traps 3-4 removed