Interface range command for clear counter

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2016 08:30 AM - edited 03-10-2019 01:06 PM
Hi
Is there any range command do to a "clear counter" on switch interfaces.
Switch#clear counters gigabitEthernet 1/1
Clear "show interface" counters on this interface [confirm]
Switch#
Thanks in advance
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2016 08:36 AM
Sorry, not having a good day on the forums -
can you just try "clear counters" without specifying any interface.
That should clear all interface counters, is that what you want ?
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2016 09:24 AM
Thanks Jon,
This command will be applicable for all ports on switch. Is there any command to clear interface range or the particular module (6500/4500 switches)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2016 11:20 AM
Yes, sorry, made a bit of a mess of this thread.
Unfortunately I don't know of a way unless there are any additional options on the command line but I am sure you have looked for them
Jon
