10-06-2008 06:39 AM - edited 03-06-2019 01:46 AM
I am looking for a command that will show me a summary of port usage. What we are running into is we are trying to identify ports that have had usage on them over the last month. We have issued a clear counters to clear input/output traffic and now we want to go back and see if any of those ports have had any traffic on them over the last month. Instead of issuing a show int x/y and viewing the counters is there another command that could give me a summary of all ports and if there has been any traffic?
Solved! Go to Solution.
10-06-2008 06:49 AM
Hey. Good question. I can't think of any command that does this. But why not try something like this:
sh int | include (FastEthernet|packets input)
10-06-2008 06:47 AM
Just a show interface with no x/y will show you all ports and their traffic stats.
hostname#show interface
10-06-2008 06:47 AM
What is your switch platform?
10-06-2008 06:49 AM
Hey. Good question. I can't think of any command that does this. But why not try something like this:
sh int | include (FastEthernet|packets input)
10-06-2008 07:07 AM
Perfect!! We have a couple of different platforms ranging from 29xx to 37xx...
I ended up using
sh int | inc Fa|packets input
Thanks!
10-06-2008 06:59 AM
If its a 4500 series switch you use "show interfaces link" and this will show you what you are looking for . Why they haven't ported this command to the other platforms I don't know, it does come in handy once in awhile.
10-06-2008 07:22 AM
show interface counters
10-06-2008 07:26 AM
Even Better!
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