Check the Time on a Router
Purpose
Display the current time on a router and display information about how long the router, router software, and routing protocols have been running.
Action
To check time on a router, use the following JUNOS command-line interface (CLI) operational mode command:
user@host>show system uptimeSample Output
user@host>show system uptimeCurrent time: 1998-10-13 19:45:47 UTCSystem booted: 1998-10-12 20:51:41 UTC (22:54:06 ago)Protocols started: 1998-10-13 19:33:45 UTC (00:12:02 ago)Last configured: 1998-10-13 19:33:45 UTC (00:12:02 ago) by abc12:45PM up 22:54, 2 users, load averages: 0.07, 0.02, 0.01What It Means
The sample output shows the current system time in UTC, the date and time when the router was last booted and how long it has been running, when the routing protocols were last started and how long they have been running, when a configuration was last committed, and the name of the user who issued the last
commitcommand. If a different time zone is configured, the output shows that time zone. For information on configuring the time zone, see the JUNOS System Basics Configuration Guide.The sample output shows that the current time is 12:45 PM, the router has been operational for 22:54 hours, and two users are logged in to the router. The output also shows that the load average is 0.07 seconds for the last minute, 0.02 seconds for the last 5 minutes, and 0.01 seconds for the last 15 minutes.