Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system commit

Syntax

Description

Display the system commit history and pending commit operations.

Options

none

Display the last 50 commit operations on the static configuration database, starting with the most recent.

revision

(Optional) Display the revision number of the active configuration of the Routing Engine(s).

server

(Optional) Display the 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.

synchronize-server pending-jobs

(Optional) Display the pending commit synchronize operations for all instances of the ephemeral configuration database on an MX Series Virtual Chassis or a device with dual Routing Engines. This option can only be executed on the primary Routing Engine of the Virtual Chassis primary router or the dual Routing Engine system.

include-configuration-revision

(Optional) Display configuration revision information including the revision identifier string for each commit record.

Required Privilege Level

view

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

show system commit (At a Particular Time)

show system commit (At the Next Reboot)

show system commit (Rollback Pending)

show system commit (QFX Series)

show system commit synchronize-server pending-jobs

show system commit include-configuration-revision

Release Information

Command introduced before Junos OS Release 7.4.

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

Option revision introduced in Junos OS Release 14.1.

Option synchronize-server introduced in Junos OS Release 17.2R1.

Option include-configuration-revision introduced in Junos OS Release 20.4R1 and Junos OS Evolved Release 20.4R1.