command to show how long cisco router or switch was on

Show version command is commonly used to show the switch or router software configuration and other details such us switch/router up time.

You can pipe this command to show only the up time details. See the example bellow:

RT1#show version | i uptime
RT1 uptime is 7 weeks, 5 days, 21 hours, 15 minutes

Publisher: abdirahman isse

Share this post