cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
460
Views
0
Helpful
1
Replies

Port Security Issue

kapsner13
Level 1
Level 1

I have port security enabled on most of the ports in my organization, but I am running in to an issue on one of my switches. I have the below configuration for each port on the switch.

interface GigabitEthernet1/0/11
 switchport mode trunk
 switchport port-security maximum 5
 switchport port-security
 switchport port-security mac-address sticky
 mls qos trust cos
 spanning-tree guard root


The problem I have is that each port has two devices that are immediately associated. When I go to add a third device, or change the PC connected the port goes in to violation shutdown. The port should allow 5 devices to be connected, and yes I really do need five devices at this location, but if more than two devices are plugged in the port shuts down. Has anyone seen this before? How do I fix this?

 

 

1 Reply 1

Charles Hill
VIP Alumni
VIP Alumni

Hello Kapsner13,

A violation can occur if the maximum number of macs is exceeded, which is not the case here

or

if a mac address is learned on a secured port and is moved to another secured port in the same vlan.

Is the third pc being moved from one switchport to another switchport in the same vlan?

 

Another question, how are you connecting these multiple devices to one port?

Does the port need to be a trunk port? Can you try an access port?

 

I would also do a show log | i 1/0/11

and look for any errors related to that interface.

 

Hope this helps,

if so, please rate.