interface packet count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 01:58 AM - edited 03-07-2019 07:41 AM
Sir,
We are managing a LAN with 10000 switch ports. We observe that some assigned ports are not being used for sometimes and come up with the idea to reassign those idle ports. For example, we want to release those ports have no traffice for 3 months.
Is there any way to check how long a port has been idle? Or is there any tool we can use to scan the switch interface for this?
Thank you.
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 02:27 AM
Hi Joseph,
You can check Last input in "show interface
Alternatively, if you have snmp tool ( like MRTG or Cacti, etc) already deployed, just check when was TX or RX was present on that port.
Regards,
Smitesh
PS: Please rate helpful posts....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 11:39 PM
Hi Genesh,
What I need is to identify how long has been a swith port been ideled so as to conclude if it is being used or not.
We have Solarwinds here, but only monitored port will provide statistics. However, monitoring all 10000 ports will generate too much traffic and our Solarwinds server cannot stand it.
Any other idea?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 03:11 AM
josephschung wrote:
Sir,
We are managing a LAN with 10000 switch ports. We observe that some assigned ports are not being used for sometimes and come up with the idea to reassign those idle ports. For example, we want to release those ports have no traffice for 3 months.
Is there any way to check how long a port has been idle? Or is there any tool we can use to scan the switch interface for this?
Thank you.
Hello ,
As stated by the above post normally
Last Input Never from the Output of Show interface Command
Switch#show interface TenGigabitEthernet1/15
Last input never means there was no successful interface packet transfer to other end point or terminal. Usually this means there was no packet transfer relative to that entity.
Hope to help !!
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 11:41 PM
Thank you Ganesh for the information.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 03:00 AM
josephschung wrote:
Thank you Ganesh for the information.
Hello Joseph,
If the above post was helpful or if you required any further information ...let us know
Hope to help !!
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 06:57 PM
Dear Ganesh,
The posts so far still cannot meet the need in our 10000 switch port environment. We need an operation solution to know which swich port has been idled for certain period of time.
I am thinking is there any tool will snapshot of all switch ports' interface packet value and out put the data into a good format so that we can compare sanpshots to know if there is increase in packet count.
Or do you have other idea?
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2012 02:07 AM
josephschung wrote:
Dear Ganesh,
The posts so far still cannot meet the need in our 10000 switch port environment. We need an operation solution to know which swich port has been idled for certain period of time.
I am thinking is there any tool will snapshot of all switch ports' interface packet value and out put the data into a good format so that we can compare sanpshots to know if there is increase in packet count.
Or do you have other idea?
Thank you!
Hello ,
Try switch port monitor tool which is free download and can give you a desired result
http://www.flukenetworks.com/content/switch-port-monitor-download-web
Hope to Help !!
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2012 08:33 PM
Hello Ganesh,
The switch port monitor seems using the same approch as Solarwinds, monitor the switch in real time, which is a good alert tool for incident but will generate traffic contineously. I think we need to tool to scan once and build a report instead of monitoring the switch all the time.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 03:39 AM
http://www.cisco.com/en/US/docs/ios/12_3/ipaddr/command/reference/ip1_i1g.html#wp1091971
With this you live happy.....
HTH
Alessio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 11:44 PM
Hello Alessio,
Once in a while, we may enable ip accouting on specific switch port for information collection. But, for 10000 ports and implement it as daily operation, that will cause performance issue and the logs volumn will be huge.
Is there other idea?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2012 01:30 AM
you can use perl script to interpret the result of each "show interface "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2012 01:49 AM
Hello Adnane,
I did not use perl script for this before. Do you have more tips on it? Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2012 10:04 AM
If the switches are 4500s, you can use the 'show int link' command. Here is an example from a 4500 of mine. I have not seen documentation on this and I don't understand why, nor why it is only available on 4500 series.
Port Name Down Time Down Since
Te1/1 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Te1/2 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi1/3 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi1/4 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi1/5 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi1/6 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi2/1 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi2/2 29 weeks, 5 days, 21 hours, 15 minutes 40 secs 20:24:52 Sat Apr 14 2012
Gi2/3 5 weeks, 10 hours, 57 minutes 32 secs 06:43:00 Fri Oct 5 2012
