Command or Action
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
snmp-server host host-addr {traps | informs}
{version {1 | 2c | 3}} community-string
notification-type
Example:
Switch(config)# snmp-server host
172.20.10.10 traps private
mac-notification
Step 4
snmp-server enable traps mac-notification
threshold
Example:
Switch(config)# snmp-server enable traps
mac-notification threshold
Step 5
mac address-table notification threshold
Example:
Switch(config)# mac address-table
notification threshold
Step 6
mac address-table notification threshold [limit
percentage] | [interval time]
Example:
Switch(config)# mac address-table
notification threshold interval 123
Enters the global configuration mode.
Specifies the recipient of the trap message.
Enables MAC threshold notification traps to the NMS.
Enables the MAC address threshold notification feature.
Enters the threshold value for the MAC address threshold usage
monitoring.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Purpose
• host-addr—Specifies the name or address of the NMS.
• traps (the default)—Sends SNMP traps to the host.
• informs—Sends SNMP informs to the host.
• version—Specifies the SNMP version to support. Version
1, the default, is not available with informs.
• community-string—Specifies the string to send with the
notification operation. You can set this string by using the
snmp-server host command, but we recommend that you
define this string by using the snmp-server community
command before using the snmp-server host command.
• notification-type—Uses the mac-notification keyword.
• (Optional) limit percentage—Specifies the percentage of
the MAC address table use; valid values are from 1 to 100
percent. The default is 50 percent.
How to Administer the Switch
1549