10-16-2008 05:39 AM - edited 03-06-2019 01:57 AM
Hi all,
I am using the command:
switchport port-security mac-address sticky to set port security.
On one of my IOS switch I am unable to clear the sticky MAC address using the command:
clear port-security sticky int fa 0/1.
Is there another way to achieve without having to upgrade IOS?
Thanks.
Solved! Go to Solution.
10-16-2008 07:35 AM
Yopu can do a show run for the port. The mac address show show up on the port. It should look like this: switchport port-security mac-address 0000.0000.0003. Just run a no switchport port-security mac-address 0000.0000.0003. That should do the trick.
10-17-2008 09:47 AM
The command given by Earnest basically removes the previously set/seen mac-add in that switch port.
Your port security is still enabled though provided that you've this command "switchport port-security" in place.
The port security sticky option is still enabled if you have this command "switchport port-security mac-address sticky" in the switch port.
10-17-2008 10:22 AM
simply put 'no' in front of that command
no switchport port-security mac-address sticky [mac-address]
it will clear the captured mac
10-16-2008 07:35 AM
Yopu can do a show run for the port. The mac address show show up on the port. It should look like this: switchport port-security mac-address 0000.0000.0003. Just run a no switchport port-security mac-address 0000.0000.0003. That should do the trick.
10-17-2008 08:56 AM
Thanks Ernest.
What exactly will that command do? I dont want to shut off port security, just wanted to clear the MAC address so the port does not shutdown when the next machine is plugged in.
10-17-2008 09:47 AM
The command given by Earnest basically removes the previously set/seen mac-add in that switch port.
Your port security is still enabled though provided that you've this command "switchport port-security" in place.
The port security sticky option is still enabled if you have this command "switchport port-security mac-address sticky" in the switch port.
10-17-2008 10:22 AM
simply put 'no' in front of that command
no switchport port-security mac-address sticky [mac-address]
it will clear the captured mac
10-20-2008 12:35 PM
Thank you everyone for all the help.
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