cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5933
Views
0
Helpful
2
Replies

Interface UPTIME in router

ramdas_2k
Level 1
Level 1

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

2 Replies 2

umedryk
Level 5
Level 5

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.

dave.keith
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card