Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to clear SecurityViolation Counters?

Status
Not open for further replies.

matt95gsr

MIS
Jul 1, 2002
60
US
Hi all,

How can I clear port-security violation counters on a C3560 with IOS 12.2(25)? I just want to reset the SecurityViolation count in the output of 'show port-security' (below). I can't quite seem to get it to clear. Thanks!


Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
---------------------------------------------------------------------------
Fa0/1 1 0 0 Restrict
Fa0/2 1 0 0 Restrict
Fa0/25 1 1 0 Restrict
Fa0/28 1 1 151 Restrict
 
Hi Matt

reload

should do it ;)

On a serious note, Ive never been able to find out how to do this either, and the only time my violation stats get reset is after a reload!

Lee.

LEEroy
MCNE6,CCNP,CWNA,CCSA,Project+
 
As a note I did come across this

The clear counters and clear counters fastethernet <port> interface commands now clear the port security counters. These commands also clear the other counters for the interface.

from document

however I just tried this on my 3560 running version Version 12.2(25)SEB4 but it does not work.


LEEroy
MCNE6,CCNP,CWNA,CCSA,Project+
 
Thanks for the info...at least now I don't feel quite so dumb. I've tried clear <everything I could think of>. Oh well, maybe someone else can shed some light on this, or maybe Cisco will actually make it work as stated in that document sometime soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top