• Advertisement

Troubleshooting port-security on older IOS

This is for more general topics about networking and vendors.

Troubleshooting port-security on older IOS

Postby Guest » Wed Oct 06, 2010 7:43 pm

Hello all,

I posted yesterday about port-security with olders IOS's. 

My question now is the most efficient way of re-enabling a port that had a violation under an older IOS.

My experience has been just doing a "clear port-security sticky" (or something like that).  It would clear the learned MACs, then I'd re-enable the specific port.  Done.

With the older IOS, the "clear port-security" command is available.  Now, is the quickest way just logging into the disabled interface, doing "no switchport port-security" followed by re-enabling the the port, then "switchport port-security"   ?

Basically.  What is the quickest way of re-enabling a port on a switch that doesn't have the "clear port-security" option?




Re:Troubleshooting port-security on older IOS

Postby Guest » Wed Oct 06, 2010 7:46 pm


Clearing the port-security from the interface and re-configuring is a very tediuos work and a lenthy process too.

Please look at the error recovery feature on the IOS you are running. When a secure port is in the error-disabled state, you can bring it out of this state by entering the " errdisable recovery cause psecure_violation " global configuration command or you can manually reenable it by entering the shutdown and no shut down interface configuration commands.

The recovery time is 300 seconds by default and you can change it using with the command itself.



-amit singh


  • Advertisement

Similar topics

Return to Anything Networking

Who is online

Users browsing this forum: Google [Bot] and 4 guests