We have come across something really bizar. When we enabled port security on a port, it slows down mac learning on that port to up to 3 seconds !
Switch is a C3750, v12.2(35)SE2
Port security disabled, macs cleared:
--> HTTP SYN in (flooded because mac unknown)
<-- HTTP SYN-ACK out : 10 msec delay
Port security enabled, macs cleared (!):
--> HTTP SYN in (flooded, because mac unknown)
<-- HTTP SYN-ACK out: 3 seconds delay !
It is especially visible on 'silent' devices where the mac address times out after the port security timeout (in our config 2 mins):
switchport port-security maximum 2
switchport port-security maximum 1 vlan access
switchport port-security maximum 1 vlan voice
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
I have searched the bug toolkit but found nothing.