Cisco WS-C2950T-24 Software Guide - Page 145
MAC Address Notification
View all Cisco WS-C2950T-24 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 145 highlights
Chapter 6 Configuring the System Managing the MAC Address Tables MAC Address Notification MAC address notification enables you to track users coming to and going from your network. Whenever a new MAC address is learned or an old MAC address is removed from the switch, an SNMP notification (trap) is generated. If you have many users coming and going from the network, you can set a trap interval time so that traps can be bundled together and sent at regular intervals. The MAC notification history table stores the MAC address activity for each hardware port for which the trap is enabled. MAC address notifications are generated for dynamic and secure MAC addresses. Events are not generated for self addresses, multicast addresses, or other static addresses. Beginning in privileged EXEC mode, follow these steps to enable the MAC address notification feature: Command Purpose Step 1 configure terminal Enter global configuration mode. Step 2 SNMP-server enable traps mac-notification Enable SNMP notification of MAC address additions and deletions. Step 3 mac-address-table notification Enable the MAC address notification feature Step 4 mac-address-table notification interval seconds (Optional) For interval value, specify the notification trap interval in seconds between each set of traps that are generated to the network management station (NMS). The range is 0 to 2147483647 seconds. The default is 1 second. The switch sends the notification trap to the NMS after the interval setting has expired. Step 5 mac-address-table notification history-size value (Optional) For history-size value, specify the maximum number of entries in the MAC notification history table. The range is 0 to 500. The default is 1 entry. Note The interval seconds and history-size value keywords must be entered as separate commands. Step 6 interface interface-id Enter interface configuration mode for the port you want to configure. Step 7 SNMP trap mac-notification [added Enable or disable MAC address traps on the port. | removed] Step 8 end Return to PRIV EXEC mode. Step 9 show mac-address-table notification (Optional) Verify your settings. or show running-config Step 10 copy running-config startup-config (Optional) Save your entries in the configuration file. To disable the switch from sending MAC address notification traps, use the no snmp-server enable traps mac-notification global configuration command. To disable the MAC address notification traps on a specific interface, use the no snmp trap mac-notification interface configuration command. To disable the MAC address notification feature, use the no mac-address-table notification global configuration command. 78-6511-08 Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide 6-17