I'm wondering if there is any way to find out usage statistics for individual client ports on the 2960 switches?
We have some switches in remote offices in which almost all client ports are connected, but we doubt that they are all in regular use. Is there any way to see if port x has been disconnected for 10 days or if port y has been connected since 2 hours?
I checked Cisco Network Assistant (v5.2) but couldn't find any history per client port there. Does anybody know?
This may be difficult to find out in practice, especially because most PC's, when they are shut down, still give a standby "connected" signal to the network. You would have to disable the "WakeOnLAN" feature.
One way you could do it is to enable link-status traps, and run a syslog server to trap all the link state changes. That would work, but it would be an awful lot to work to process the information. In addition, it is surprisingly difficult to distinguish between a PC being logged out as for a PC being logged in.
If you have a network management station, you could get it to ping all the clients at regular intervals and log the results. But that is a useful technique only if you are running static IP addresses, i.e. not DHCP.
Also with a network management station (or MTRG), you could get it to log traffic statistics for each port at regular intervals using SNMP.
If you have Windows server, you could get some information from the Windows event logs. That would be per client, and not per switchport though.
I'm not sure there's anything that does exactly what you want - but one option would be to clear the interface counters on all of the ports and by seeing which stay at 0 and which stay at 0 and which don't you'll see which are being used.
Other than that you can keep the logs (to a syslog server or whatever) and keep a record of what ports go up and down over a set period of time.
Apart from that there's no 1 command that does exactly what you're after as far as I know.
I don't know about the 2960's but i know on the 4500 series switches there is a command that will show you I just don't remember off the top of my head what it is . Once i get into one of our switches I'll post that command and you can see if it works on the 2960's , don't believe it worked on the older 2950 series so i don't know if it will work on the 2960's or not .
This works on the 4500's don't know if it will on the 2960's , did not see it in the command lookup tool for 2960 code. For 4500 series switches , it is "show interfaces link" . this tells you how long the port has been down in weeks , hours, minutes,seconds....
Get the last change, which is the value of sysuptime when the port went into the current operstaus. Any interfaces that are down and have a lastchange of about 0 have been down since the switch powered on (cold start). Otherwise they have been down for the period sysuptime-iflastchange.
You could plot the value of ifOperStatus using MRTG to get a visual indication. I use GetIf for these little jobs, it's a very handy lttle SNMP utility.
If you are not familiar with SNMP be warned that the interface index may or may not be what you expect .... verify the indexes by walking the ifDescr values.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...