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

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

snmp trap mac-notification

snmp trap mac-notification
Use the snmp trap mac-notification interface configuration command to enable the MAC notification
traps on a port. Use the no form of this command to disable the traps and to return the port to default
settings.
Syntax Description
added
removed
Defaults
The Simple Network Management Protocol (SNMP) address-addition and address-removal traps are
disabled.
Command Modes
Interface configuration
Command History
Release
12.1(6)EA2
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 enter the snmp-server enable traps
mac-notification and the mac address-table notification global configuration commands.
Examples
This example shows how to enable an address-addition trap on a port:
Switch(config-if)# snmp trap mac-notification added
This example shows how to enable an address-removal trap on a port:
Switch(config-if)# snmp trap mac-notification removed
You can verify your settings by entering the show mac address-table notification privileged EXEC
command.
Related Commands
Command
clear mac address-table
mac address-table notification
Catalyst 2950 Desktop Switch Command Reference
2-240
snmp trap mac-notification [added | removed]
no snmp trap mac-notification [added | removed]
(Optional) Enable MAC notification traps when a MAC address is added
to a port.
(Optional) Enable MAC notification traps when a MAC address is
removed from a port.
Modification
This command was first introduced.
notification
Description
Clears the MAC address notification global counters.
Enables the MAC notification feature on a switch.
Chapter 2 Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents