Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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

    show system uptime

    Syntax (EX Series Switches)

    show system uptime<all-members><local><member member-id>

    Syntax (QFX Series)

    show system uptime<director-group name><infrastructure name><interconnect-device name><node-group name>

    Syntax (TX Matrix Router)

    show system uptime<all-chassis | all-lcc | lcc number | scc>

    Syntax (TX Matrix Plus Router)

    show system uptime<detail><all-chassis | all-lcc | lcc number | sfc number>

    Syntax (MX Series Router)

    show system uptime<all-members><invoke-on><local><member member-id>

    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.

    Description

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

    Options

    none

    Show time since the system rebooted and processes started.

    all-chassis

    (TX Matrix 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 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 T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.

    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 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 T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.

    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 (or switch-fabric chassis). Replace number with 0.

    Additional Information

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

    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 (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.

    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
    Current time:      1998-10-13 19:45:47 UTC 
    System 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 abc
    12:45PM  up 22:54, 2 users, load averages: 0.07, 0.02, 0.01
    

    show system uptime all-lcc (TX Matrix Router)

    user@host> show system uptime all-lcc
    lcc0-re0:
    --------------------------------------------------------------------------
    Current time: 2004-09-13 09:55:35 PDT
    System booted: 2004-09-13 03:13:55 PDT (06:41:40 ago)
    Last configured: 2004-09-13 03:17:48 PDT (06:37:47 ago) by root
    9:55AM PDT up 6:42, 1 user, load averages: 0.02, 0.03, 0.00
    lcc2-re0:
    --------------------------------------------------------------------------
    Current time: 2004-09-13 09:55:35 PDT
    System booted: 2004-09-12 03:23:43 PDT (1d 06:31 ago)
    Last configured: 2004-09-13 03:05:36 PDT (06:49:59 ago) by root
    9:55AM PDT up 1 day,  6:32, 1 user, load averages: 0.02, 0.01, 0.00
    

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

    user@host> show system uptime all-lcc
    sfc0-re0:
    --------------------------------------------------------------------------
    Current time: 2009-05-25 00:24:30 PDT
    System booted: 2009-05-24 06:39:33 PDT (17:44:57 ago)
    Protocols started: 2009-05-24 06:40:30 PDT (17:44:00 ago)
    Last configured: 2009-05-24 06:33:27 PDT (17:51:03 ago) by gregdo
    12:24AM  up 17:45, 2 users, load averages: 0.07, 0.05, 0.01
    
    lcc0-re0:
    --------------------------------------------------------------------------
    Current time: 2009-05-25 00:24:30 PDT
    System booted: 2009-05-24 06:39:46 PDT (17:44:44 ago)
    error: the routing subsystem is not running
    Last configured: 2009-05-24 06:40:47 PDT (17:43:43 ago) by root
    12:24AM  up 17:45, 0 users, load averages: 0.00, 0.00, 0.00
    
    lcc1-re0:
    --------------------------------------------------------------------------
    Current time: 2009-05-25 00:24:30 PDT
    System booted: 2009-05-24 06:39:38 PDT (17:44:52 ago)
    error: the routing subsystem is not running
    Last configured: 2009-05-24 06:40:18 PDT (17:44:12 ago) by root
    12:24AM  up 17:45, 0 users, load averages: 0.00, 0.00, 0.00
    
    lcc2-re0:
    --------------------------------------------------------------------------
    Current time: 2009-05-25 00:24:30 PDT
    System booted: 2009-05-24 06:39:48 PDT (17:44:42 ago)
    error: the routing subsystem is not running
    Last configured: 2009-05-24 06:40:44 PDT (17:43:46 ago) by root
    12:24AM  up 17:45, 0 users, load averages: 0.00, 0.00, 0.00
    
    lcc3-re0:
    --------------------------------------------------------------------------
    Current time: 2009-05-25 00:24:30 PDT
    System booted: 2009-05-24 06:39:44 PDT (17:44:46 ago)
    error: the routing subsystem is not running
    Last configured: 2009-05-24 06:40:08 PDT (17:44:22 ago) by root
    12:24AM  up 17:45, 0 users, load averages: 0.00, 0.00, 0.00

    show system uptime (QFX Series)

    user@switch> show system uptime
    Current time: 2010-08-27 03:12:30 PDT
    System booted: 2010-08-13 17:11:54 PDT (1w6d 10:00 ago)
    Protocols started: 2010-08-13 17:13:56 PDT (1w6d 09:58 ago)
    Last configured: 2010-08-26 05:54:00 PDT (21:18:30 ago) by user
     3:12AM  up 13 days, 10:01, 3 users, load averages: 0.00, 0.00, 0.00

    Modified: 2016-06-10