This question already has an answer here:
On Catalyst 4500, there is the command show int link which outputs:
Fa1/1 UPS 00 secs Fa1/2 Data & Voice 00 secs Fa1/3 Data & Voice 00 secs Fa1/4 Data & Voice 00 secs <output continues>.... Fa3/18 Data & Voice 13 hours, 13 minutes 58 secs 13:47:23 Tue Mar 25 2014
But when I try this command on a 3560 i get:
Switch#show int link ^ % Invalid input detected at '^' marker.
Is there an equivalent on the 3560 or 3750 switch for finding such information as the last time the port was active? My goal is to find which switchports have not been active for a long time and can have their cable disconnected from the switchport to save room for other devices to use in the future.