Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
4-23
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 4 Administering the Switch
Managing the MAC Address Table
Step 3
snmp-server enable traps mac-notification change
Enables the switch to send MAC change traps to the
NMS.
To disable the switch from sending MAC change
notification traps, use the
no snmp-server enable traps mac-notification
change global configuration command.
Step 4
mac address-table notification change
Enables the MAC address change notification
feature.
Step 5
mac address-table notification change
[interval value] | [history-size value]
Enters the trap interval time and the history table
size.
(Optional) For interval value, specify the
notification trap interval in seconds between
each set of traps that are generated to the NMS.
The range is 0 to 2147483647 seconds; the
default is 1 second.
(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.
To disable the MAC change notification feature, use
the no mac address-table notification change
global configuration command.
Step 6
interface interface-id
Enters interface configuration mode, and specifies
the interface on which to enable the SNMP MAC
change notification trap.
Step 7
snmp trap mac-notification change {added | removed}
Enables the MAC change notification trap.
Enable the MAC change notification trap
whenever a MAC address is added on this
interface.
Enable the MAC change notification trap
whenever a MAC address is removed from this
interface.
To disable the MAC change notification traps on a
specific interface, use the no snmp trap
mac-notification change {added | removed}
interface configuration command.
Step 8
end
Returns to privileged EXEC mode.
Step 9
show mac address-table notification change interface
show running-config
Verifies your entries.
Step 10
copy running-config startup-config
(Optional) Saves your entries in the configuration
file.
Command Purpose