Chapter 1
Administering the Switch
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
Step 1
configure terminal
Step 2
snmp-server host host-addr {traps |
informs} {version {1 | 2c | 3}}
community-string notification-type
Step 3
snmp-server enable traps mac-notification
threshold
Step 4
mac address-table notification threshold
Step 5
mac address-table notification threshold
[limit percentage] | [interval time]
Step 6
end
Step 7
show mac address-table notification
threshold
show running-config
Step 8
copy running-config startup-config
To disable MAC address-threshold notification traps, use the no snmp-server enable traps
mac-notification threshold global configuration command. To disable the MAC address-threshold
notification feature, use the no mac address-table notification threshold global configuration
command.
This example shows how to specify 172.20.10.10 as the NMS, enable the MAC address threshold
notification feature, set the interval time to 123 seconds, and set the limit to 78 per cent.
Switch(config)# snmp-server host 172.20.10.10 traps private mac-notification
Switch(config)# snmp-server enable traps mac-notification threshold
Switch(config)# mac address-table notification threshold
Switch(config)# mac address-table notification threshold interval 123
Switch(config)# mac address-table notification threshold limit 78
OL-25303-03
Purpose
Enter global configuration mode.
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.
•
Enable the switch to send MAC threshold notification traps to the
NMS.
Enable the MAC address threshold notification feature.
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.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Managing the MAC Address Table
1-19