show system uptime

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax (QFX Series)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax

Syntax (EX Series Switches)

Syntax (QFX Series)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

sfc option introduced for the TX Matrix Plus router in JUNOS Release 9.6.

Command introduced in Junos OS Release 11.1 for the QFX Series.

Command introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

Display the current time and information about how long the router or switch, router or switch software, and routing protocols have been running.

Note

Time values computed from differences in timestamps can vary due to the insertion or deletion of leap-seconds between them.

Options

noneShow time since the system rebooted and processes started.
all-chassis(TX Matrix routers and TX Matrix Plus routers only) (Optional) Show time since the system rebooted and processes started on all the routers in the chassis.
all-lcc(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show time since the system rebooted and processes started for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, show time since the system rebooted and processes started for all connected T1600 or T4000 LCCs.
all-members(EX4200 switches and MX Series routers only) (Optional) Show time since the system rebooted and processes started on all members of the Virtual Chassis configuration.
director-group name(QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Director group.
infrastructure name(QFabric systems only) (Optional) Show time since the system rebooted and processes started on the fabric control Routing Engine and fabric manager Routing Engine.
interconnect-device name(QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Interconnect device.
invoke-on(MX Series routers only) (Optional) Display the time since the system rebooted and processes started on the master Routing Engine, backup Routing Engine, or both, on a router with two Routing Engines.
lcc number(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, show time since the system rebooted and processes started for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, show time since the system rebooted and processes started for a specific router that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

local(EX4200 switches and MX Series routers only) (Optional) Show time since the system rebooted and processes started on the local Virtual Chassis member.
member member-id(EX4200 switches and MX Series routers only) (Optional) Show time since the system rebooted and processes started on the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.
node-group name(QFabric systems only) (Optional) Show time since the system rebooted and processes started on the Node group.
scc(TX Matrix routers only) (Optional) Show time since the system rebooted and processes started for the TX Matrix router (or switch-card chassis).
sfc number(TX Matrix Plus routers only) (Optional) Show time since the system rebooted and processes started for the TX Matrix Plus router. Replace number with 0.

Additional Information

By default, when you issue the show system uptime command on the master Routing Engine of a TX Matrix router or a TX Matrix Plus router, the command is broadcast to all the master Routing Engines of the LCCs connected to it in the routing matrix. Likewise, if you issue the same command on the backup Routing Engine of a TX Matrix or a TX Matrix Plus router, the command is broadcast to all backup Routing Engines of the LCCs that are connected to it in the routing matrix.

Required Privilege Level

view

List of Sample Output

show system uptime

show system uptime all-lcc (TX Matrix Router)

show system uptime all-lcc (TX Matrix Plus Router)

show system uptime (EX Series)

show system uptime (QFX Series)

Output Fields

Table 1 describes the output fields for the show system uptime command. Output fields are listed in the approximate order in which they appear.

Table 1: show system uptime Output Fields

Field Name

Field Description

Current time

Current system time in UTC.

Time Source

Reference time source that the system is locked to.

System booted

Date and time when the Routing Engine on the router or switch was last booted and how long it has been running.

Protocols started

Date and time when the routing protocols were last started and how long they have been running.

Last configured

Date and time when a configuration was last committed. Also shows the name of the user who issued the last commit command.

time and up

Current time, in the local time zone, and how long the router or switch has been operational.

users

Number of users logged in to the router or switch.

load averages

Load averages for the last 1 minute, 5 minutes, and 15 minutes.

Sample Output

show system uptime

user@host> show system uptime

show system uptime all-lcc (TX Matrix Router)

user@host> show system uptime all-lcc

show system uptime all-lcc (TX Matrix Plus Router)

user@host> show system uptime all-lcc

show system uptime (EX Series)

user@switch> show system uptime

show system uptime (QFX Series)

user@switch> show system uptime