C
ONFIGURING
P
ORT
S
ECURITY
7-3
To use port security, specify a maximum number of addresses to allow on
the port and then let the switch dynamically learn the <source MAC
address, VLAN> pair for frames received on the port. Note that you can
also manually add secure addresses to the port using the Static Address
Table (page 11-1). When the port has reached the maximum number of
MAC addresses the selected port will stop learning. The MAC addresses
already in the address table will be retained and will not age out. Any other
device that attempts to use the port will be prevented from accessing the
switch.
Command Usage
A secure port has the following restrictions:
- It cannot be used as a member of a static or dynamic trunk .
- It should not be connected to a network interconnection device.
The default maximum number of MAC addresses allowed on a secure
port is zero. You must configure a maximum address count from 1 -
1024 for the port to allow access.
If a port is disabled (shut down) due to a security violation, it must be
manually re-enabled from the Port/Port Configuration page (page9-4).
Command Attributes
Port – Port number.
Name – Descriptive text (page25-3).
Action – Indicates the action to be taken when a port s ecurity violation
is detected:
-None: No action should be taken. (This is the default.)
-Trap: Send an SNMP trap message.
-Shutdown: Disable the port.
-Trap and Shutdown: Send an SNMP trap message and disable the
port.
Security Status – Enables or disables port security on the port.
(Default: Disabled)