15-7
Cisco Systems IntelligentGigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide
24R9746
Chapter15 Configuring Port-Based Tra ffic Control
Configuring Port Security
IP phone requires up to two MAC addresses. The address of the IP phone is learned on the voice
VLAN, and it might or might not be learned on the access VLAN. Connecti ng a PC to the IP phone
requires additional MAC addresses
If any type of port security is enabled on the access VLAN, dynamic port security is automatically
enabled on the voice VLAN.
When a voice VLAN is configured on a secure port that is also configured as a sticky secure port,
all addresses seen on the voice VLAN are learned as dynamic secure addresses, and all addresses
seen on the access VLAN (to which the port belongs) are learned as sticky secure addresses.
You cannot configure port security on a per-VLAN basis.
The switch does not support port security aging of sticky secure MAC addresses.
The protect and restrict options cannot be simultaneo usly enabled on an interface.
Table15-3 summarizes port security compatibility with other features configured on a port.
Enabling and Configuring Port Security
Beginning in privileged EXEC mode, follow these steps to restrict input to an interface by limiting and
identifying MAC addresses of the stations allowed to access the port:
Table15-3 Port Security Compatibility with Other Switch Features
Type of Port Compatible with Port Security
DTP1 port2
1. DTP = Dynamic Trunking Protocol
2. A port configured with the switchport mode dynamic interface configuration command.
No
Trunk port No
Dynamic-access port3
3. A VLAN Query Protocol (VQP) port configure d with the switchport access vlan dynamic interface
configuration command.
No
SPAN source port Yes
SPAN destination port No
EtherChannel No
Protected port Yes
IEEE 802.1x port Yes
Voice VLAN port4
4. You must set the maximum allowed secure addresses on the port to two plus the maximum
number of secure addresses allowed on the access VLAN.
Yes
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface to configure, and enter interface configuration
mode.
Step3 switchport mode access Set the interface mode as access; an interface in the default mode
(dynamic desirable) cannot be configured as a secure port.