Modify environment for port security

70 pts.
Tags:
Group Policy
Network security
Port Security
Hi All, We have enabled port security in our environment using the below command
switchport port-security mac-address sticky
the above command reserves the mac address of the connected PC to that particular port and in order to remove this we have to give
no  switchport port-security mac-address sticky <mac address>
My question is, is  there any command in global config mode to remove the sticky for the ports at one go, as we have to modify our environment. Presently we are removing the port security in each and every port.
ASKED: September 24, 2009  9:50 AM
UPDATED: December 12, 2013  5:03 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

See there are 2 way to do this :-

1. Give the following command on exec mode

Switch# clear port-security sticky int "int no."

AND

switch(config)#int range fa0/1-24
switch(config-if-range)#no switchport port-security mac-address sticky

this will remove the port security from all the port in one short.

Regards

wraith

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following