Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
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.
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.
• notification-type—Uses the
mac-notification keyword.
Enables the device to send MAC address move
notification traps to the NMS.
snmp-server enable traps mac-notification
move
Example:
Step 4
Device(config)# snmp-server enable traps
mac-notification move
Enables the MAC address move notification
feature.
mac address-table notification mac-move
Example:
Step 5
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
30
Administering the Device
Configuring MAC Address Move Notification Traps