2-285
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam notification
Command Modes Privileged.
Usage Guidelines You can globally disable notifications using the set cam notification disable command, but the other
notification configuration settings will remain configured. The notif ication config uration setti ngs can be
reset using the clear config command. The clear cam notification command can be used to clear the
history log or reset notification counters.
If you set the interval time to 0, the switch will send notifications immediately. There is an impact on
the performance of the switch when you set the interval time to zero (0).
You can configure the switch to generate MAC notification SNMP traps using the set snmp enable
macnotification command. MAC notification SNMP traps are generated even when the history log size
is set to zero (0).
Examples This example shows how to enable notification when a MAC address change occ urs to the CA M tabl e:
Console> (enable) set cam notification enable
MAC address change detection globally enabled
Be sure to specify which ports are to detect MAC address changes
with the 'set cam notification [added|removed] enable <m/p> command.
SNMP traps will be sent if 'set snmp trap enable macnotification' has been set.
Console> (enable)
This example shows how to enable notification when a new MAC address is added to ports 1-4 on
module 3 in the CAM table:
Console> (enable) set cam notification added enable 3/1-4
MAC address change notifications for added addresses are
enabled on port(s) 3/1-4
Console> (enable)
This example shows how to enable notification when a new MAC address is added to the CAM table on
ports 1-4 on module 2:
Console> (enable) set cam notification added enable 2/1-4
MAC address change notifications for added addresses are
enabled on port(s) 2/1-4
Console> (enable)
This example shows how to enable notification when a MAC address is deleted from the CAM table of
ports 3-6 on module 3:
Console> (enable) set cam notification removed enable 3/3-6
MAC address change notifications for removed addresses are
enabled on port(s) 3/3-6
This example shows how to set the history log size to 300 entries:
Console> (enable) set cam notification historysize 300
MAC address change history log size set to 300 entries
Console> (enable)
This example shows how to set the interval time to 10 seconds between notifications:
Console> (enable) set cam notification interval 10
MAC address change notification interval set to 10 seconds
Console> (enable)