Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show system commit

 

Syntax

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.

Option server introduced in Junos OS Release 12.1 for the PTX Series router.

Option revision introduced in Junos OS Release 14.1.

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

Description

Display the system commit history and any pending commit operation.

Options

noneDisplay the last 50 commit operations listed, most recent to first.
revision(Optional) Display the revision number of the active configuration of the Routing Engine(s).
server (Optional) Display commit server status.
Note

By default, the status of the commit server is “Not running”. The commit server starts running only when a commit job is added to the batch.

Required Privilege Level

view

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

Level of Output

<number>

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

none

<time-stamp>

Date and time of the commit operation.

none

<root>/<username>

User who executed the commit operation.

none

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

none

Sample Output

show system commit

user@host> show system commit

show system commit (At a Particular Time)

user@host> show system commit

show system commit (At the Next Reboot)

user@host> show system commit

show system commit (Rollback Pending)

user@host> show system commit

show system commit (QFX Series)

user@switch> show system commit