05-16-2012 05:41 AM - edited 03-07-2019 06:44 AM
Hi
is there a counter that can tell me how much time an interface on a switch has been up ?
if not , is there an alternative way of getting this information (without searching the log)
tahnks
05-16-2012 06:09 AM
I don't think there is a way to find out the interface uptime through a command.
05-16-2012 06:11 AM
Using any free mib walker, walk the switch with SNMP mib ifLastChange (OID 1.3.6.1.2.1.2.2.1.9)
Then walk for sysUptime (OID 1.3.6.1.2.1.1.3)
Both times will be in milliseconds. (example 8640000 = 1 day)
Subtract the ifLastChange from sysUptime and you'll have the time each switch port has been up or down.
You can do this with excel, but it takes about 20 minutes to do one switch. I'd recommend finding someone who can program this and make a script or app that will allow you to do multiple switches in just a couple minutes.
Ven
05-16-2012 06:15 AM
Thts a nice solution, thanks Ven
06-11-2012 07:25 AM
thanks for the creative solution
I will try it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide