Page 1 of 1

Port Security not working

Posted: 02 Apr 2018 03:53
by shijad007
I am trying to configure port security on my OS6450 switch. I have executed the following commands:

-> port-security 1/2 admin-status enable
-> port-security 1/2 maximum 1
-> port-security 1/2 mac <MAC-ADDRESSS> vlan 10
-> port-security 1/2 violation shutdown

Port-security is show as configured on port 1/2 when i execute command show port-security 1/2 but when I plug in another device with different MAC address the port doesn't shutdown and is still up. Please help me.

Re: Port Security not working

Posted: 03 Apr 2018 02:05
by silvio
you have forgott to configure max-filter to 0. With your config the port didn't change the mode (because there where no violation). But all new mac-addresses should be filtered (you can check with show port-security).
regards
Silvio

Re: Port Security not working

Posted: 03 Apr 2018 03:00
by shijad007
silvio wrote: 03 Apr 2018 02:05 you have forgott to configure max-filter to 0. With your config the port didn't change the mode (because there where no violation). But all new mac-addresses should be filtered (you can check with show port-security).
regards
Silvio
Thank you Silvio for the help. It's working now.