Modify configuration for port security

70 pts.
Tags:
MAC address
Network security
Port Security
Dear All, Presently we have configured port security as below switchport mode access switchport port-security switchport port-security violation restrict switchport port-security mac-address sticky switchport port-security mac-address sticky 000a Now we need to modify the above configuration to switchport mode access switchprot port-security switchport port-security violation restrict switchport port-security mac-address 000A. Previously we have set up sticky so that it will reserve a mac when connected  now we need to modify all the ports as above so a particular mac is assigned to a port permanently. How can we remove the sticky configuration and assign the MAC to the port.
ASKED: October 21, 2009  6:05 AM
UPDATED: June 24, 2013  7:21 PM

Answer Wiki

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

as far as i review your configuration, you are using a cisco switch right?

so for example, your switch has 24 ports all configured as you said was sticky, just issue the following commands:

int fa0/1

no switchport port-security mac-address sticky

no switchport port-security mac-address sticky 000a

* this commands will disable your sticky config on the port..

then, issue this commands.

int fa0/1

enter your desired mac address:

ex: switchport port-security mac-address 000a.000b.000c

hope this one works because in cisco, if you want to undo certain commands, you just need to issue “no” to erase that.

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