5-26
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 5 Administering the Switch
Managing the MAC Address Table
Configuring MAC Threshold Notification Traps
When you configure MAC threshold notification, an SNMP notification is generated and sen t to the
network management system when a MAC address table threshold limit is rea ched or exceeded.
Beginning in privileged EXEC mode, follow these steps to configure the switch to send MAC address
table threshold notification traps to an NMS host:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 snmp-server host host-addr {traps | informs} {version {1
| 2c | 3}} community-string notification-type
Specify the recipient of the trap message.
For host-addr, specify the name or address of the
NMS.
Specify traps (the default) to send SNMP traps
to the host. Specify informs to send SNMP
informs to the host.
Specify the SNMP version to support. Version 1,
the default, is not available with informs.
For community-string, specify the string to send
with the notification operation. Though you can
set this string by using the snmp-server host
command, we recommend that you define this
string by using the snmp-server community
command before using the snmp-server host
command.
For notification-type, use the mac-notification
keyword.
Step 3 snmp-server enable traps mac-notification threshold Enable the switch to send MAC threshold
notification traps to the NMS.
Step 4 mac address-table notification threshold Enable the MAC address threshold notification
feature.
Step 5 mac address-table notification threshold [limit
percentage] | [interval time]
Enter the threshold value for the MAC address
threshold usage monitoring.
(Optional) For limit percentage, specify the
percentage of the MAC address table use; valid
values are from 1 to 100 percent. The default is
50 percent.
(Optional) For interval time, specify the time
between notifications; valid values are greater
than or equal to 120 seconds. The default is 120
seconds.
Step 6 end Return to privileged EXEC mode.
Step 7 show mac address-table notification threshold
show running-config
Verify your entries.
Step 8 copy running-config startup-config (Optional) Save your entries in the configuration file.