how to find unused switchports

Unanswered Question
Mar 12th, 2008
User Badges:

to find out which switchports re unused I had a look with "show int" to the counters where nearly all interfaces shows " Last input never..." which should indicate that there never bidirectional traffic had been seen on this port?

I found this on different plattforms and versions where are active clients connected...

So should this output better be ignored?

What shows me definitely that a port is unused?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ilnaiduccna Wed, 03/12/2008 - 03:38
User Badges:


You can find by giving the command 'sh ip int brief' it will give you full information about all switch ports.



mahmoodmkl Wed, 03/12/2008 - 04:21
User Badges:
  • Gold, 750 points or more


i think u can use the below command

sh interfaces status |include notconnected/connected



glen.grant Wed, 03/12/2008 - 04:35
User Badges:
  • Purple, 4500 points or more

Show interface status will only show you if someone is not powered to the port at that particular time , doesn't tell you if someone was powered up yesterday on it or not . The only piece of gear that I have seen that will give you this info is the 4500 series switches where the command "show interface link" will show you when the port was last powered up . This command should be available on all cisco gear because it seems to be a requirement that a lot of people would like to see.

FRANK SCHADE Wed, 03/12/2008 - 05:43
User Badges:

this is exactly what you need as admin to prevent adding switches any time you're running out of ports in wiring closet.

So we have to go for 4500 serie......


This Discussion