Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Port Security disable


I was working on 6500 switch and came across this problem where port security in implemented on this port.

I have implemented a port secuirty on one of 6500 switch; This port is in shutdown mode and I tried clearing out the port security by typing

command > (enable) clear port security 0/0 all

> (enable) set port security 0/0 enable

> (enable) set port enable 0/0

it connects for about 5 seconds and then this comes up "2007 Jun 04 16:51:22 %SECURITY-1-PORTSHUTDOWN:Port 4/14 shutdown due to security

violation 00-45-78-48-d5-g8.

So what i did was >(enable) set port security 0/0 disable and this brought the interface up.

Does anyone know why this is happening and how i can fix port security?


New Member

Re: Port Security disable

Well, outside of the g8 on the violation ouput I'd say that looks like a Mac address. Did you mean f8?

Have you tried setting the port device's mac address to see if that works?

New Member

Re: Port Security disable

I have used all those commands used above. What else can i do are there any other commands which i should be trying?


Re: Port Security disable


As suggested by jasonrandolph

Try the following

If the mac address of the PC is A.B.C.D

The first clear port security on the interface

verify the port security couters by

show port security command

disable port security

Then enable the port security back on the Interface by the following

set port security (port # ) A.B.C.D

Then try plugging the machine.

After that try plugging another machine to check if the port security works

New Member

Re: Port Security disable


The problem you are having is that the machine you are trying to connect in that port was attached to another port and still has the mac address in memory. What you have to do is force the mac address 00-45-78-48-d5-f8 int the new port where you want to connect the computer with this command:

set port sec (port) 00-45-78-48-d5-f8

It will give you a message saying that mac address is already configured in another port. Go to that port and clear the port security configuracion. Then try again on the new port. This time it will work.

Hope it helps.