How to configure Port Security (mac sticky) on Cisco Switches


Originally published at:

Port Security is enabled per port and the switch port will only allow traffic from the learned MAC address to be forwarded.In our example below we will set a maximum of one MAC address to be dynamically learned and in the event of a violation the port will shutdown. SW1(config-if)#switchport port-security ? aging Port-security aging…