10-25-2004 05:54 AM - edited 03-09-2019 09:12 AM
I want to monitor the violations every day, but cannot find a way to clear the counters.
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
---------------------------------------------------------------------------
Fa0/1 24 0 0 Restrict
Fa0/2 24 0 0 Restrict
Fa0/3 24 11 1191 Restrict
Fa0/4 24 12 2317 Restrict
Fa0/5 24 2 0 Restrict
Fa0/6 24 12 2317 Restrict
10-29-2004 12:21 PM
Currently other than to reset the switch there is no way to clear this security violation.
12-03-2020 09:31 PM
You can clear the counter by going into configure terminal, the interface, and flipping port security off then on.
configure terminal
interface range fa0/1 - 6
no switchport port-security
switchport port-security
this will clear the counters without having to do a restart.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide