07-10-2008 12:08 AM - edited 03-06-2019 12:07 AM
Hi all,
Is there any way to clear counter of "show interfaces switching" besides reloading the device?
I could not find the description about it in Cisco.com.
Thank you
07-10-2008 12:10 AM
hi!!
You can use "clear counters" command.. You
can use the interface option to clear for perticular interface...
6509-Andes-P#clear counters ?
ATM ATM interface
Async Async interface
Auto-Template Auto-Template interface
Regards,
Niranjan
( pls rate helpful posts )
07-10-2008 06:31 PM
Thanks for the response.
But the "clear counter" command did not clear the counter of "show interfaces switching". I understand it clears "show interfaces" counter.
07-10-2008 12:33 AM
You cannot clear this couters.
07-10-2008 06:31 PM
Thanks for the response.
So the only way to clear is to reload the device, right?
07-10-2008 07:17 PM
Taichi
Yes, as far as I know the only way to clear these particular counters is to reload the router. I suspect that Niranjan did not read the original post quite clearly enough and missed the fact that you were asking about the interface switching counters and gave the generic answer for clearing the general interface counters. I wish it were that simple to clear the switching counters, but I have not found a way to do it short of a reload and assumed that they were maintained in a way similar to SNMP counters.
HTH
Rick
07-10-2008 08:01 PM
Hi Taichi, Rick,
Yes, I am sorry but I missed the interface "switching" part and put in a very generic answer. I re-read that part later and wanted to edit the post but couldn't. I am not very familiar with 2800 platform but I thought that the clear interface counters might do that too as it does in 6500 (where sh interface stats shows the mls switched packets and are cleared by the same command).
Really sorry for the confusion.
Regards,
Niranjan
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