38-17
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 38 Configuring Port Security
Configuring MAC-Address Monitoring
Specifying the Upper Threshold for MAC-Address Monitoring
To specify the upper threshold for MAC-address monitoring, perform this task in privileged mode:
This example shows how to specify the high threshold for a port and the action to be taken when this
threshold is exceeded:
Console> (enable)
set cam monitor high-threshold 28000 action shutdown 3/1
Successfully configured cam monitor on 3/1
Console> (enable)
Clearing the Configuration for MAC-Address Monitoring
To clear the configuration for the MAC-address monitoring and actions, perform this task in privileged
mode:
This example shows how to clear the high threshold on port 3/1:
Console> (enable)
clear cam monitor high-threshold 3/1
Successfully cleared high-threshold on 3/1
Task
Command
Specify the upper threshold or MAC-address
monitoring and the action to be taken when the
system exceeds this threshold. The valid range for
the high threshold is 5–32000.
Note
If you specify the
no-learn
keyword, and
the configuration is a port/VLAN
combination, the violation action stops
learning the MAC addresses on the port
from all the VLANs. If you specify the
shutdown
keyword, and the configuration
is a port/VLAN combination, the violation
action error disables the port. If you specify
the
warning
keyword, the system displays a
system message when the high threshold is
exceeded.
set cam monitor high-threshold
value
[
action
{
no-learn
|
shutdown
|
warning
}] {
mod
/
port
|
{
mod
/
port vlan
} |
vlan
}
Task
Command
Clear the configuration for MAC-address
monitoring.
clear cam monitor
mod/port | mod/port vlan | vlan
clear cam monitor all
clear cam monitor high-threshold
mod/port |
mod/port vlan | vlan
clear cam monitorlow-threshold
mod/port |
mod/port vlan | vlan