Purpose
Command or Action
Device#
show running-config
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Step 11
Device#
copy running-config startup-config
Configuring MAC Address Move Notification Traps
When you configure MAC-move notification, an SNMP notification is generated and sent to the network
management system whenever a MAC address moves from one port to another within the same VLAN.
Follow these steps to configure the device to send MAC address-move notification traps to an NMS host:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
snmp-server host host-addr
{
traps
|
informs
} {
version
{
1
|
2c
|
3
}}
community-string notification-type
4.
snmp-server enable traps mac-notification move
5.
mac address-table notification mac-move
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
Purpose
Command 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
•
informs—
Sends SNMP informs to the host.
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
31
Administering the Device
Configuring MAC Address Move Notification Traps