09-13-2018 07:56 AM - edited 03-08-2019 04:09 PM
Hello Guys,
@Daniele Giordano @Georg Pauwen @Joseph W. Doherty @Reza Sharifi @paul driver
My goal is to achieve is that port learn mac-address but then commit to that Mac address, so if i change end device it gets err-disabled.
Thanks
Solved! Go to Solution.
09-13-2018 09:12 AM
Hi there,
The switchport port-security max 1 will limit the number of MAC addresses permitted concurrently on a switchport.
Using sticky mac will allow the switch to learn the MAC addresses permitted. Obviously it will only learn a MAC address whilst the maximum number has not been exceed.
static secure allows an administrator to manually define the permitted MAC addresses on a switchport.
cheers,
Seb.
09-13-2018 08:02 AM
Hi, you can try to use port-security feature.
Regards.
09-13-2018 08:29 AM
Hello @Daniele Giordano
I tried with port-security and it works but my answer is still not complete.
Then whats the difference of using other commands ?
Thanks
09-13-2018 09:12 AM
Hi there,
The switchport port-security max 1 will limit the number of MAC addresses permitted concurrently on a switchport.
Using sticky mac will allow the switch to learn the MAC addresses permitted. Obviously it will only learn a MAC address whilst the maximum number has not been exceed.
static secure allows an administrator to manually define the permitted MAC addresses on a switchport.
cheers,
Seb.
09-13-2018 12:46 PM
The main difference is at the time of port security you give the MAC address manually or assigning directly by using command sticky, this command allowed the MAC address to which the port is connected right now directly. This mainly helps for the semi big networks which have more than 25 switchs because for every port to copy the MAC address and assign at the time of port security is a big task because of each switch have 24 ports.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide