ā11-29-2016 11:32 AM - edited ā03-08-2019 08:21 AM
there is problem as the Configuration under interfaces with this commands ,
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
switchport port-security
Here the question if user put its PCās port into switch port so this only pc will be learned on that port and if I changed the PC with another one it will block the port ,, what if I want to plug any pc on that port and to be work , is that possible ? if yes ,how ?
ā11-29-2016 01:17 PM
what if I want to plug any pc on that port and to be work , is that possible ? if yes ,how ?
Yes, it is possible. Just remove this command from your config
no switchport port-security mac-address sticky
After removing this command, any PC can plug in to this port for a maximum of 1.
HTH
ā11-29-2016 01:33 PM
is that the only solution ?
ā11-29-2016 03:48 PM
If you want any PC to be able to connect to that port, yes.
HTH
ā11-29-2016 05:26 PM
You can also add a limit to the switchport sticky command. Lets say you configure it to learn 3 mac addresses dynamically so after it hits that limit, the switch will not learn any more MACs on that switchport unless you manually delete one of the sticky mac addresses from that switchport.
Here is the command if it helps:
switchport port-security maximum 3
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