38-15
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 38 Configuring Port Security
Configuring MAC-Address Monitoring
To enable or disable MAC-address monitoring globally, perform this task in privileged mode:
This example shows how to disable and enable the global MAC-address monitoring configuration:
Console> (enable)
set cam monitor disable
Cam monitor disabled
Console> (enable)
set cam monitor enable
Cam monitor enabled
Console> (enable)
Monitoring the MAC Addresses in the CAM Table
To monitor the MAC addresses that are learned and stored in the CAM table, perform this task in
privileged mode:
This example shows how to monitor the MAC addresses that are learned on a specific port and stored in
the CAM table:
Console> (enable)
set cam monitor enable 3/1
Successfully enabled cam monitor on 3/1
Console> (enable)
This example shows how to disable monitoring of the MAC addresses that are learned on a specific port:
Console> (enable)
set cam monitor disable 3/1
Successfully disabled cam monitor on 3/1
Console> (enable)
Task
Command
Enable or disable MAC-address monitoring
globally.
Note
Monitoring is enabled globally by default.
set cam monitor
{
disable
|
enable
}
Task
Command
Monitor the MAC addresses that are learned and
stored in the CAM table on a per-port basis,
per-VLAN basis, or on a per-port- per-VLAN
basis.
Note
MAC-address monitoring is disabled by
default on an interface (port, VLAN, or
port/VLAN basis).
set cam monitor
{
disable | enable
}
[
mod
/
port
|
{
mod
/
port vlan
} |
vlan
]