Displaying information about the mac-count-notify option

Use the show mac-count-notify traps [<port-list>] command to display information about the configured value for sending a trap, the current count, and if a trap has been sent.

Information displayed for the show mac-count-notify traps command

switch(config)# show mac-count-notify traps

Mac-count-notify Enabled: Yes

Port    Count for        Count    Trap Sent
        sending Trap
------  ---------------  -------  ------------
1
2
3
4
5          50             0        No
6          50             2        No
7          50             0        No
8
9
...

The interface context can be used to configure the value for sending a trap.

Configuring mac-count-notify traps from the interface context

switch(config)# interface 5
Switch (eth-5)# mac-count-notify traps 35

The show snmp-server traps command displays whether the MAC Address Count feature is enabled or disabled.

Information about SNMP traps, including MAC address count being Enabled/Disabled

switch(config)# show snmp-server traps
 
 Trap Receivers

  Link-Change Traps Enabled on Ports [All] : All
 
  Traps Category                 Current Status
  ____________________________   __________________
  SNMP Authentication          : Extended
  Password change              : Enabled
  Login failures               : Enabled
  Port-Security                : Enabled
  Authorization Server Contact : Enabled
  DHCP-Snooping                : Enabled
  Dynamic ARP Protection       : Enabled
  Dynamic IP Lockdown          : Enabled
  

  MAC address table changes    : Disabled
  MAC Address Count            : Enabled 1

  Address          Community   Events  Type   Retry  Timeout
  ---------------- ----------- ------- ------ ------ -------
  15.146.194.77    public      None    trap   3      15
  15.255.134.252   public      None    trap   3      15
  16.181.49.167    public      None    trap   3      15
  16.181.51.14     public      None    trap   3      15
  
Excluded MIBs
      
  • 1The notify option is enabled.