Administering the Device
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
snmp-server host host-addr community-string
notification-type { informs | traps } {version {1 | 2c | 3}}
{vrf vrf instance name}
Example:
Device(config)# snmp-server host
172.20.10.10 traps private mac-notification
enable
configure terminal
snmp-server host host-addr community-string notification-type { informs | traps } {version {1 | 2c |
3}} {vrf vrf instance name}
snmp-server enable traps mac-notification change
mac address-table notification change
mac address-table notification change [interval value] [history-size value]
interface interface-id
snmp trap mac-notification change {added | removed}
end
show running-config
copy running-config startup-config
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
Configuring MAC Address Change Notification Traps
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Enters global configuration mode.
Specifies the recipient of the trap message.
• 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. 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.
29