Configuring Mac Move Notification Traps - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 4
Administering the Switch
This example shows how to specify 172.69.59.93 as the network management system, enable the switch
to send MAC change notification traps to the network management system, enable the MAC change
notification feature, set the interval time to 60 seconds, set the history-size to 100 entries, and enable
traps whenever a MAC address is added on the specified port:
Switch# configure terminal
Switch(config)# snmp-server host 172.69.59.93 private mac-notification
Switch(config)# snmp-server enable traps mac-notification change
Switch(config)# mac address-table notification change
Switch(config)# mac address-table notification change interval 60
Switch(config)# mac address-table notification change history-size 100
Switch(config)# interface fastethernet0/2
Switch(config-if)# snmp trap mac-notification change added
Switch(config-if)# end
Switch# show mac address-table notification change interface
MAC Notification Feature is Enabled on the switch
MAC Notification Flags For All Ethernet Interfaces :
----------------------------------------------------
Interface
---------
GigabitEthernet1/1
GigabitEthernet1/2
GigabitEthernet1/3
GigabitEthernet1/4
GigabitEthernet1/5
GigabitEthernet1/6
GigabitEthernet1/7
GigabitEthernet1/8
GigabitEthernet1/9
GigabitEthernet1/10
GigabitEthernet1/11
GigabitEthernet1/12
Switch#

Configuring MAC Move Notification Traps

When you configure MAC move notification, an SNMP notification is generated and sent to the network
management system whenever a MAC address moves from one port to another within the same VLAN.
OL-30933-01
MAC Added Trap MAC Removed Trap
-------------- ----------------
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Managing the MAC Address Table
4-33

Advertisement

Table of Contents
loading

Table of Contents