Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

uptime for a cisco router

Is there a command like "sh uptime" in the IOS that would show how long the router has been up?

Thanks,

7 REPLIES

Re: uptime for a cisco router

Hi,

The command to check the uptime is show version. The uptime can be found in the middle part of the output and it will look something like the below output. Moreover, if the router has an authoritative clock set, either via NTP or manual 'clock set' command, it will display the date/time when it was rebooted.

R2 uptime is 1 week, 2 hours, 12 minutes

System returned to ROM by reload

System restarted at 15:44:41 UTC Mon Oct 2 2006

System image file is "flash:c3640-js-mz.124-7.bin"

HTH

Sundar

Blue

Re: uptime for a cisco router

use the 'show version' command and view the output for the "uptime".

uptime for a cisco router

a quick one more:

sh ver | s uptime ! if you have a relatively recent ios "s" will work otherwise use "inc" after pipe

Alessio

Silver

uptime for a cisco router

if u only want to see uptime then use

sh ver | inc upt

Please do rate if the given information helps

thanks

Cisco Employee

uptime for a cisco router

The easiest way is,

show ver | i uptime

Regards,

Anand G

Cisco Employee

uptime for a cisco router

sh ver | uptime

is the command to show the uptime for router.

Cisco Employee

uptime for a cisco router

sh ver | uptime

is the command to show the uptime for router.

128241
Views
41
Helpful
7
Replies