Cisco ME 3400 Software Configuration Manual page 481

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Chapter 22
Configuring Port-Based Traffic Control
Command
Step 6
switchport port-security
[maximum value [vlan vlan-list |
access]
Step 7
switchport port-security violation
{protect | restrict | shutdown}
OL-9639-07
Purpose
(Optional) Set the maximum number of secure MAC addresses for the
interface. The maximum number of secure MAC addresses that you can
configure on a switch is set by the maximum number of available MAC
addresses allowed in the system. This number is set by the active Switch
Database Management (SDM) template. See
Templates."
This number is the total of available MAC addresses, including
those used for other Layer 2 functions and any other secure MAC addresses
configured on interfaces.
(Optional) vlan—set a per-VLAN maximum value.
Enter one of these options after you enter the vlan keyword:
vlan-list—On a trunk port, you can set a per-VLAN maximum value on
a range of VLANs separated by a hyphen or a series of VLANs separated
by commas. For nonspecified VLANs, the per-VLAN maximum value is
used.
access—On an access port, specify the VLAN as an access VLAN.
(Optional) Set the violation mode, the action to be taken when a security
violation is detected, as one of these:
protect—When the number of port secure MAC addresses reaches the
maximum limit allowed on the port, packets with unknown source
addresses are dropped until you remove a sufficient number of secure
MAC addresses to drop below the maximum value or increase the number
of maximum allowable addresses. You are not notified that a security
violation has occurred.
We do not recommend configuring the protect mode on a trunk port.
Note
The protect mode disables learning when any VLAN reaches its
maximum limit, even if the port has not reached its maximum limit.
restrict—When the number of secure MAC addresses reaches the limit
allowed on the port, packets with unknown source addresses are dropped
until you remove a sufficient number of secure MAC addresses or
increase the number of maximum allowable addresses. An SNMP trap is
sent, a syslog message is logged, and the violation counter increments.
shutdown—The interface is error-disabled when a violation occurs, and
the port LED turns off. An SNMP trap is sent, a syslog message is logged,
and the violation counter increments.
When a secure port is in the error-disabled state, you can bring it out
Note
of this state by entering the errdisable recovery cause
psecure-violation global configuration command, or you can
manually re-enable it by entering the shutdown and no shutdown
interface configuration commands.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring Port Security
Chapter 6, "Configuring SDM
22-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents