Determining Switch Port Availability

Answered Question
Feb 19th, 2010

Hello All,


We will soon be adding a number of new IP devices to our network and I would like to know if there is a way to get a count of ports that are being used. I've done a few Internet searches, but have come up blank. I found MRTG, but I'm not sure if that will be much help because it seems more suited to traffic analysis. Any ideas?


Thanks a ton!

Mark

Correct Answer by Leo Laohoo about 7 years 1 week ago

Use the following commands:


sh interface status | i notconnect
sh interface counters

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Leo Laohoo Fri, 02/19/2010 - 15:57

Use the following commands:


sh interface status | i notconnect
sh interface counters

Mark Wagnon Fri, 02/19/2010 - 16:18

Thanks! I'm thinking that I can clear counters and let the switch sit a few days and come back and see which ports are really being used. This will help a lot. Thanks again.


Mark

Leo Laohoo Fri, 02/19/2010 - 17:02

Thanks for the rating.  One flaw to this is that sometimes you don't know that the client on the other side is on leave and after 30 days, you see the counters as zero.

glen.grant Sun, 02/21/2010 - 04:06

   The only platform that can accurately give you this is the 4500 series, with those you can use the "show int link"  command and it will tell you exactly when the port was last used.  Why they don't port that command to the rest of switches is beyond me ...

Actions

This Discussion