02-08-2013 06:31 AM - last edited on 03-25-2019 04:23 PM by ciscomoderator
As you can see from the following command I get the information for one port.
C2960s-48fps-01#show int gi1/0/6 | include Last | proto
GigabitEthernet1/0/6 is down, line protocol is down (notconnect)
Last input never, output 1w6d, output hang never
Last clearing of "show interface" counters never
0 unknown protocol drops
I would like to get the information from a range of ports with one command.
Is this possible?
Thanks
BJ
Solved! Go to Solution.
02-08-2013 07:40 AM
You can remove the "int gi1/0/6". show int will show all interfaces. So "show int | include Last | proto" should give you the info for all ports.
02-08-2013 07:40 AM
You can remove the "int gi1/0/6". show int will show all interfaces. So "show int | include Last | proto" should give you the info for all ports.
02-08-2013 07:59 AM
Brad,
That works great.
Thanks for your help.
BJ
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