Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

how to clear Cat 3850 QoS Counter

Hi All,

does anybody know how to clear the Counters for

 show platform qos dscp-cos counters <int>

 

All other QoS related counters ("show policy-map" etc.) are cleared with "clear counters...", but not this one...

 

Thanks for your ideas!

 

Holger



 

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Super Bronze

DisclaimerThe Author of this

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

It might be like some 3560/3750 counters, which only clear with a reload.

9 REPLIES
Super Bronze

DisclaimerThe Author of this

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

It might be like some 3560/3750 counters, which only clear with a reload.

New Member

Is there a clear qos command

Is there a clear qos command available on the 3850?  It's in the 4500.

New Member

no, this command isn't

no, this command isn't available

only a "clear counter <int>" or "clear platform qos stats <client | ssid" but nothing to clear the port DSCP-COS Counter. On older plattforms use the "clear / show mls qos ... statistics"  to troubleshoot incoming DSCP/CoS issues. Now we are back to the good old "comparing counter-screenshot" way...

But thanks for your feedback anyway!

 

Holger

 

Cisco Employee

Hi,These counters are cleared

Hi,

These counters are cleared upon reload, however, you can clear the queue stats for "sh plat qos queue stats gi1/1/1" command.

clear platform qos queue stats gi 1/1/1

Please rate this post if it was helpful.

Thanks

Sunny

 

New Member

Hi Sunny,no the "clear

Hi Sunny,

no the "clear platform qos queue stats " clears only the queue stat but not the counters for in/egress COS/DSCP Values (show platform qos dscp-cos counters <int>)

I've checked your advise with IOS XE3.3.1

 

But thank you anyway !

Holger

Cisco Employee

Hello Holger,Counters for

Hello Holger,

Counters for (show platform qos dscp-cos counters <int>) commands are cleared upon reload of the switch. I just tested it on my C3850 lab switch.

Hope info was helpful.

Regards,

Sunny

 

 

New Member

Yes, reload clear the counter

Yes, reload clear the counter...

But it's not an option for a real network 

 

 

Cisco Employee

Since this output is not

Since this output is not software based (software polled) thus the only way to clear hardware based counters is to reload.

AFAIK....There is no CLI based command which can clear hardware based counters.

New Member

AFAIK 'clear mls qos

AFAIK 'clear mls qos interface statistics' used to do exactly the same - clear hardware registers with qos statistics. I don't believe that it is impossible to reset whatever HW registers or counters may exist. After all, it's microprogramming... you can do whatever you want as long as design and engineering was done properly.

Really, I miss 3750s, Cisco had to develop this platform rather than 3850s, which will not even support their CA anymore in the near future... marketing and engineering fail for the converged access.

Can't clear QoS counters, can't export netflow via Mgmt-vrf, can't send SNMP traps via Mgmt-vrf, can't this can't that :)

1307
Views
15
Helpful
9
Replies
CreatePlease to create content