01-18-2011 10:29 AM
Hi everyone. I've tried clearing my resource usage counters several time by using both commands:
clear stats resource-usage
clear stats all
Neither work. The resource usage counters remain the same. Is there a workaround to this issue? I would really like to see the counters over a specific period as opposed to since last reboot.
01-19-2011 02:31 AM
Hi there,
which code are you running?
There used to be bugs and enhancements with old version of ACE 4710 which are solved in the latest releases.
Btw, if you are running in FT, have you tried to execute the same command on the standby device? Does it work?
Cheers,
Domenico.
01-20-2011 03:20 PM
Thanks for the reply.
My version number is:
system: Version A3(2.5) [build 3.0(0)A3(2.5) adbuild_13:35:38-2010/02/05_/auto/adbu-rel2/rel_a3_2_5_throttle/REL_3_0_0_A3_2_5]
I know it's not the latest, but I can find no reference to any bug in this version affecting these counters. Am I missing something?
01-20-2011 03:21 PM
Sorry for the double post, but in answer to your second question: Yes I have tried it on both machines to no avail.
-Tim
01-20-2011 11:06 PM
Hi Tim
The clear stats resource-usage cmd only clear the stat for Peak and Denied counter.
I tested with A3(2.2) as below and it worked ok.
ACE-4710-c/Admin# sh resource usage all
Allocation
Resource Current Peak Min Max Denied
-------------------------------------------------------------------------------
Context: Admin
conc-connections 19 53 0 400000 0
mgmt-connections 2 8 0 20000 0
proxy-connections 0 4 0 52429 0
xlates 0 0 0 13107 0
acc-connections 0 0 0 10 0
bandwidth 864416 30966244 0 339748365 0
throughput 12448 33252 0 214748365 0
mgmt-traffic rate 851968 30932992 0 125000000 0
connection rate 0 10 0 200000 0
ssl-connections rate 0 0 0 200 0
mac-miss rate 0 1 0 400 0
inspect-conn rate 0 0 0 8000 0
http-comp rate 0 0 0 2621440 0
acl-memory 33824 33824 0 7510426 0
sticky 0 0 0 0 0
regexp 1214 1214 0 209715 0
syslog buffer 0 0 0 210944 0
syslog rate 0 0 0 20000 0
ACE-4710-c/Admin# clear sta
startup-config stats
ACE-4710-c/Admin# clear stats resource-usage
ACE-4710-c/Admin# sh resource usage all
Allocation
Resource Current Peak Min Max Denied
-------------------------------------------------------------------------------
Context: Admin
conc-connections 19 19 0 400000 0
mgmt-connections 2 2 0 20000 0
proxy-connections 0 0 0 52429 0
xlates 0 0 0 13107 0
acc-connections 0 0 0 10 0
bandwidth 1115184 30966244 0 339748365 0
throughput 1072 1072 0 214748365 0
mgmt-traffic rate 1114112 1114112 0 125000000 0
connection rate 0 0 0 200000 0
ssl-connections rate 0 0 0 200 0
mac-miss rate 0 0 0 400 0
inspect-conn rate 0 0 0 8000 0
http-comp rate 0 0 0 2621440 0
acl-memory 33824 33824 0 7510426 0
sticky 0 0 0 0 0
regexp 1214 1214 0 209715 0
syslog buffer 0 0 0 210944 0
syslog rate 0 0 0 20000 0
ACE-4710-c/Admin#
ACE-4710-c/Admin#
-Andrew
01-23-2011 01:22 AM
Tim,
As Andrew pointed out, peak and denied counters should be cleared.
I understand in both active and standby ACE a325 you have, this does not happen.
Could you share the "show res usa all" before and after a "clear stats all"/"clear stats resource-usage"?
Cheers,
Dom.
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