8.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Step 1
Device>
enable
Enters the 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.
172.20.10.10 traps private 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
Device(config)#
mac address-table
notification mac-move
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
34
Administering the Device
Configuring MAC Address Move Notification Traps