Determining Switch Port Availability

Answered Question
Feb 19th, 2010
User Badges:

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 4 months 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
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Use the following commands:


sh interface status | i notconnect
sh interface counters

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

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
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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
User Badges:
  • Purple, 4500 points or more

   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 ...

Leo Laohoo Sun, 02/21/2010 - 13:16
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Yeah.   I've love that command. 

Actions

This Discussion