PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
Specifies the recipient of the trap message.snmp-server host host-addr {traps | informs}
{version {1 | 2c | 3}} community-string
notification-type
Step 3
• host-addr—Specifies the name or address
of the NMS.
Example:
• traps (the default)—Sends SNMP traps to
the host.
Device(config)# snmp-server host
172.20.10.10 traps private
• informs—Sends SNMP informs to the
host.
mac-notification
• 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.
Enables MAC threshold notification traps to
the NMS.
snmp-server enable traps mac-notification
threshold
Example:
Step 4
Device(config)# snmp-server enable traps
mac-notification threshold
Enables the MAC address threshold notification
feature.
mac address-table notification threshold
Example:
Step 5
Device(config)# mac address-table
notification threshold
Enters the threshold value for the MAC address
threshold usage monitoring.
mac address-table notification threshold
[limit percentage] | [interval time]
Step 6
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
32
Administering the Device
Configuring MAC Threshold Notification Traps