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

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
show mac address-table notification
snmp-server enable traps
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-438
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 introduced.
notification
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
Description
Clears the MAC address notification global counters.
Enables the MAC notification feature on a switch.
Displays MAC notification parameters.
Enables SNMP notification for various trap types.
0L-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents