show system commit
Syntax
show system commit <revision | server | synchronize-server pending-jobs | include-configuration-revision>
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Displays the last 50 commit operations listed, most recent to
first. The identifier
|
|
|
Date and time of the commit operation. |
|
|
User who executed the commit operation. |
|
|
Method used to execute the commit operation:
|
|
|
Identifies whether commit
confirmed is issued. It is removed once
commit or commit check is
issued or commit confirmed is rolled back after
rollback timeout. |
|
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
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 2022-05-06 06:33:42 PDT by root via cli commit confirmed, rollback in 10mins
show system commit (QFX Series)
user@switch> show system commit 0 2011-11-25 19:17:49 PST by root via cli
show system commit synchronize-server pending-jobs
user@host> show system commit synchronize-server pending-jobs Job Id Commit Synchronize Model Database Version 36 Asynchronous Commit ephemeral 130 37 Asynchronous Commit ephemeral 131 38 Asynchronous Commit ephemeral 132 39 Asynchronous Commit ephemeral 133 40 Asynchronous Commit ephemeral 134 41 Asynchronous Commit ephemeral 135 42 Asynchronous Commit ephemeral 2
show system commit include-configuration-revision
user@host> show system commit include-configuration-revision 0 2020-08-02 00:42:58 IST by user via cli re0-1596309177-4 1 2020-08-02 00:42:53 IST by user via cli re0-1596309173-3 2 2020-08-02 00:42:50 IST by user via cli re0-1596309170-2 3 2020-08-02 00:42:40 IST by user via other re0-1596309160-1
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 and
Junos OS Evolved Release 22.1R1.
Option include-configuration-revision
introduced in Junos OS Release
20.4R1 and Junos OS Evolved Release 20.4R1.