cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337873
Views
62
Helpful
7
Replies

uptime for a cisco router

axfalk
Level 1
Level 1

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

Thanks,

7 Replies 7

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

gpulos
Level 8
Level 8

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

a quick one more:

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

Alessio

singhaam007
Level 3
Level 3

if u only want to see uptime then use

sh ver | inc upt

Please do rate if the given information helps

thanks

The easiest way is,

show ver | i uptime

Regards,

Anand G

sh ver | uptime

is the command to show the uptime for router.

Ravi Singh
Level 7
Level 7

sh ver | uptime

is the command to show the uptime for router.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: