02-21-2005 02:05 AM
Dear All,
Hi, I got a small query.
Do we have any command that will show us the total uptime of a particular interface in routers.
If anyone know let me know....
Rgds
Ramdas
02-25-2005 07:56 AM
You can find out the total up time of a router, but I think you cannot find out the up time of one particular interface on a router.
02-28-2005 02:12 PM
There are some SNMP MIB II variables that can be used to calculate the uptime.
ifOperStatus will tell you if an interface is up.
ifLastChange will tell you the value of SysUpTime when the interface went into it's current OperStatus.
SysUpTime - ifLastChange = time since an interface went up (or down, which is how I find switch ports that have not been used for some time).
Dave
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