Snmp Trap Mac-Notification Change - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

snmp trap mac-notification change

To enable SNMP MAC address notifications, use the snmp trap mac-notification command. To return
to the default setting, use the no form of this command.
Syntax Description
added
removed
Defaults
MAC address addition and removal are disabled.
Command Modes
Interface configuration mode
Command History
Release
12.2(31)SG
Usage Guidelines
Even though you enable the change notification trap for a specific interface by using the snmp trap
mac-notification change command, the trap is generated only when you enable the snmp-server enable
traps mac-notification change and the mac address-table notification change global configuration
commands.
Examples
This example shows how to enable the MAC notification trap when a MAC address is added to a port:
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# snmp trap mac-notification change added
You can verify your settings by entering the show mac address-table notification change interface
privileged EXEC command.
Related Commands
Command
clear mac-address-table
mac-address-table notification
show mac-address-table notification
snmp-server enable traps
OL-27596 -01
snmp trap mac-notification change {added | removed}
no snmp trap mac-notification change {added | removed}
Specifies enabling the MAC address notification trap whenever a MAC
address is added to an interface.
Specifies enabling the MAC address notification trap whenever a MAC
address is removed from an interface.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
Description
Clears the address entries from the Layer 2 MAC address
table.
Enables MAC address notification on a switch.
Displays the MAC address table notification status and
history.
Enables SNMP notifications.
snmp trap mac-notification change
2-979

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents