cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
19329
Views
0
Helpful
2
Replies

Show switch ports inactive and or last active.

techbjs08
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

bgusek
Level 1
Level 1

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.

View solution in original post

2 Replies 2

bgusek
Level 1
Level 1

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.

Brad,

That works great.

Thanks for your help.

BJ

Review Cisco Networking products for a $25 gift card