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
     

    Related Documentation

     

    show system commit

    Syntax

    show system commit

    Release Information

    Command introduced before Junos OS Release 7.4.

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

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

    Description

    Display the system commit history and any pending commit operation.

    Options

    This command has no options.

    Required Privilege Level

    view

     

    Related Documentation

     

    List of Sample Output

    show system commit
    show system commit (At a Particular Time)
    show system commit (At the Next Reboot)
    show system commit (Rollback Pending)
    show system commit (QFX Series)

    Output Fields

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

    Table 1: show system commit Output Fields

    Field Name

    Field Description

    Commit history

    Displays the last 50 commit operations listed, most recent to first. The identifier rescue designates a configuration created for recovery using the request system configuration rescue save command.

    Timestamp

    Date and time of the commit operation.

    Username

    User who executed the commit operation.

    Commit method

    Method used to execute the commit operation:

    • cli—CLI interactive user performed the commit operation.
    • Junos XML protocol—Junos XML protocol client performed the commit operation.
    • synchronize—The commit synchronize command was performed on the other Routing Engine.
    • snmp—An SNMP set request caused the commit operation.
    • button—A button on the router or switch was pressed to commit a rescue configuration for recovery.
    • autoinstall—A configuration obtained through autoinstallation was committed.
    • other—When there is no login name associated with the session, the values for user and client default to root and other. For example, during a reboot after package installation, mgd commits the configuration as a system commit, and there is no login associated with the commit.

    Sample Output

    show system commit

    user@host> show system commit
    0   2003-07-28 19:14:04 PDT by root via other
    1   2003-07-25 22:01:36 PDT by user via cli
    2   2003-07-25 22:01:32 PDT by user via cli
    3   2003-07-25 21:30:13 PDT by root via button
    4   2003-07-25 13:46:48 PDT by user via cli
    5   2003-07-25 05:33:21 PDT by root via autoinstall
    ...
    rescue  2002-05-10 15:32:03 PDT by root via other
    

    show system commit (At a Particular Time)

    user@host> show system commit
    commit requested by root via cli at Tue May  7 15:59:00 2002 
    

    show system commit (At the Next Reboot)

    user@host> show system commit
    commit requested by root via cli at reboot
    

    show system commit (Rollback Pending)

    user@host> show system commit
    0 2005-01-05 15:00:37 PST by root via cli commit confirmed, rollback in 3mins 
    

    show system commit (QFX Series)

    user@switch> show system commit
    0   2011-11-25 19:17:49 PST by root via cli

    Modified: 2016-06-09