Snmp Trap Mac-Notification - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Switch Cisco IOS Commands

snmp trap mac-notification

Use the snmp trap mac-notification interface configuration command on the switch stack or on a
standalone switch to enable the Simple Network Management Protocol (SNMP) MAC address
notification trap on a specific Layer 2 interface. Use the no form of this command to return to the default
setting.
Syntax Description
added
removed
Defaults
By default, the traps for both address addition and address removal are disabled.
Command Modes
Interface configuration
Command History
Release
12.1(11)AX
Usage Guidelines
Even though you enable the notification trap for a specific interface by using the snmp trap
mac-notification command, the trap is generated only when you enable the snmp-server enable traps
mac-notification and the mac address-table notification 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/0/2
Switch(config-if)# snmp trap mac-notification added
You can verify your settings by entering the show mac address-table notification interface privileged
EXEC command.
78-16181-03
snmp trap mac-notification {added | removed}
no snmp trap mac-notification {added | removed}
Enable the MAC notification trap whenever a MAC address is added on this
interface.
Enable the MAC notification trap whenever a MAC address is removed from this
interface.
Modification
This command was introduced.
snmp trap mac-notification
Catalyst 3750 Switch Command Reference
2-499

Advertisement

Table of Contents
loading

Table of Contents