06-29-2007 10:50 AM - edited 03-05-2019 05:02 PM
Is anyone familiar with the command to clear QoS statistics on a 3750G. There is nothing in the command reference guide and I have tried the following to no avail:
Clear counters
Clear access-list counters
clear tcp statistics
Clear vmps statistics
06-29-2007 11:07 AM
clear counter works just fine here.
Are you talking about the stats you get while typing
show policy-map interface ?
06-29-2007 11:44 AM
I was using the CNA Tool which allows you to view a count of DSCP and COS specific packets on the ingress and egress side of a port.
The counters were not clearing when I issued the clear counter command. I just tried the CLI show policy-map command as you suggested and verified that the counters are cleared so I am not sure what to make of this discrepency?
Are they different counters in the MIB perhaps?
06-29-2007 11:50 AM
Sorry, I can't tell you where exactly the CNA tool is reading the information from. Always trust the good old CLI (Command Line Interface) :)
06-29-2007 12:03 PM
I am guessing the CNA is extacting the information from somewhere in the MIB but perhaps these counters are not controllable from the CLI and cannot be cleared manually.
Thank-you for your help.
07-02-2007 05:11 AM
Hi,
Yes, you can clear QOS counters/stats for all ports or for a specific port using the command line.
If you want to clear QOS stats/counters from all the interfaces then issue this command
C3750Switch#clear mls qos interface statistics
and for a specific interface issue this command. for example....
C3750Switch#clear mls qos interface fastEthernet 1/0/1 statistics
HTH
Shaheen
07-02-2007 02:49 AM
I don't think it's a MIB issue. My guess is that CNA tool is storing information somewhere locally. Try finding a way to clear counters there, or connect to different interface on a router, if it's storing it's statistics per IP.
If nothing, then try "clear counters" on router, and then using newly installed tool on a different machine - to see if the information will be with cleared counters or with the old ones. This would certainly pinpoint the location of the problem - MIB or Application.
07-03-2007 07:26 PM
Keep in mind that most CLI clear commands do not clear MIB counters. The only way to clear a MIB counter is reload of the device.
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