Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to view date and time an interface was last up

I am running a stack of Catalyst 3750's in a large office. I often find that ethernet ports are patched to desks that end up not being used for long periods of time. We end up with hardly any free switchports and it becomes a very manual job to find out which can be reused for another user. Is there a command I can use to view the date/time that each port was last up? This way I can see that a port has not been up for months and easily disconnect it for reuse.

4 REPLIES
New Member

Re: How to view date and time an interface was last up

Hi, I would use the "show ip interface brief" command it shows you the status of all the interfaces on your unit, if they are up and up, assigned IP or down down. You can also use the "show int fa0/1 | inc up" command on specific interfaces, also the "show int fa0/1 | inc minute" command will show you if any traffic has passed in the last 5 minutes.

HTH

floor1-sw1#show int fa0/1 | inc up

FastEthernet0/1 is up, line protocol is up (connected)

Half-duplex, 10Mb/s, media type is 10/100BaseTX

input flow-control is off, output flow-control is unsupported

floor1-sw1#show int fa0/1 | inc minute

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 1000 bits/sec, 2 packets/sec

floor1-sw1#

Purple

Re: How to view date and time an interface was last up

I am not sure why they don't build this into all their switches there seems to be a call for it . In the 4500 series there is a command but only for that series , it is "show interface link" and this will tell you how long the port has been down . Why they don't put this into all their gear is a puzzler...

New Member

Re: How to view date and time an interface was last up

Last input 5w4d, output 2w0d ,why do these counts differ ? Which one do i work on then ,the input or the output ?

New Member

Re: How to view date and time an interface was last up

I assume you have the 4500 series then. I'm no expert but I would assume you would always look at the input (ie frames from host to switch) but why they should differ by that much time I don't know.

So it's looking like there is no command in the IOS that can help me with this problem. That is a shame - it would be a useful feature on all switches.

159
Views
0
Helpful
4
Replies