Question: Clearing QoS Statistics on CAT 3750G

Unanswered Question
Jun 29th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Edison Ortiz Fri, 06/29/2007 - 11:07

clear counter works just fine here.

Are you talking about the stats you get while typing

show policy-map interface ?

wmacleod2 Fri, 06/29/2007 - 11:44

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?

Edison Ortiz Fri, 06/29/2007 - 11:50

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) :)

wmacleod2 Fri, 06/29/2007 - 12:03

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.

MUHAMMAD SHAHEEN Mon, 07/02/2007 - 05:11

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

Pavel Bykov Mon, 07/02/2007 - 02:49

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.

David Stanford Tue, 07/03/2007 - 19:26

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.

Actions

This Discussion