Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show system commit server queue

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system commit server queue
<id commit-id>
<job-status (all| error| pending| success)>
<patch (none | id commit-id) | (job-status (all | error | pending | success)>

Description

Display the status of commit server queue transactions.

Note:

Only 50 successful commit jobs are stored in the database and displayed in the output. When the fifty-first job is committed, the first job is deleted from the database and is no longer displayed in the output.

Options

id commit-id

(Optional) Display the batch commit operation status messages for a specific commit ID.

job-status

(Optional) Display batch commit operation status messages for the following batch commit statuses:

  • all—Status messages for all batch commit operations.

  • error—Status messages for batch commit operations that have errors.

  • pending—Status messages for batch commit operations that are pending.

  • success—Status messages for batch commit operations that are successful.

patch (none | id commit-id) | job-status (all |error | pending | success)

(Optional) Display the patch file containing the configuration changes for all batch commit operations, a specific batch commit ID, or a specific job status.

Required Privilege Level

view

Sample Output

show system commit server queue

content_copy zoom_out_map
user@host> show system commit server queue

Pending commits:
  none

Completed commits:
  Id: 1000
  Last Modified: Tue Nov  1 22:46:43 2011
  Status: Successfully committed 1000

  Id: 1002
  Last Modified: Tue Nov  1 22:50:35 2011
  Status: Successfully committed 1002

  Id: 1004
  Last Modified: Tue Nov  1 22:51:48 2011
  Status: Successfully committed 1004

  Id: 1007
  Last Modified: Wed Nov  2 01:08:04 2011
  Status: Successfully committed 1007

  Id: 1009
  Last Modified: Wed Nov  2 01:16:45 2011
  Status: Successfully committed 1009

  Id: 1010
  Last Modified: Wed Nov  2 01:19:25 2011
  Status: Successfully committed 1010

  Id: 1011
  Last Modified: Wed Nov  2 01:28:16 2011
  Status: Successfully committed 1011


Error commits:
  Id: 1008
  Last Modified: Wed Nov  2 01:08:18 2011
  Status: Error while commiting 1008

show system commit server queue job-status success

content_copy zoom_out_map
user@host> show system commit server queue job-status success
Completed commits:
  Id: 1000
  Last Modified: Tue Nov  1 22:46:43 2011
  Status: Successfully committed 1000

  Id: 1001
  Last Modified: Tue Nov  1 22:47:02 2011
  Status: Successfully committed 1001

show system commit server queue patch

content_copy zoom_out_map
user@host> show system commit server queue patch
Pending commits:
  none


Completed commits:
  Id: 1000
  Last Modified: Tue Nov  1 22:46:43 2011
  Status: Successfully committed 1000

Patch:
[edit system commit]
+ server {
+     days-to-keep-error-logs 4294967295;
+     traceoptions {
+         file commitd_nov;
+         flag all;
+     }
+ }
  Id: 1002
  Last Modified: Tue Nov  1 22:50:35 2011
  Status: Successfully committed 1002

Patch:
[edit system commit server]
- days-to-keep-error-logs 4294967295;
  Id: 1004
  Last Modified: Tue Nov  1 22:51:48 2011
  Status: Successfully committed 1004

Patch:
[edit system commit server]
+ days-to-keep-error-logs 4294967295;
  Id: 1007
  Last Modified: Wed Nov  2 01:08:04 2011
  Status: Successfully committed 1007

Patch:
[edit system commit server]
-  days-to-keep-error-logs 4294967295;
+  days-to-keep-error-logs 2;
  Id: 1009
  Last Modified: Wed Nov  2 01:16:45 2011
  Status: Successfully committed 1009

Patch:
[edit]
+ snmp {
+     community abc;
+ }
  Id: 1010
  Last Modified: Wed Nov  2 01:19:25 2011
  Status: Successfully committed 1010

Patch:
[edit system syslog]
  file test { ... }
+ file j {
+     any any;
+ }
  Id: 1011
  Last Modified: Wed Nov  2 01:28:16 2011
  Status: Successfully committed 1011


Error commits:
  Id: 1008
  Last Modified: Wed Nov  2 01:08:18 2011
  Status: Error while commiting 1008

Patch:
[edit system]
+ radius-server {
+     10.1.1.1 port 222;
+ }

Release Information

Command introduced in Junos OS Release 12.1.

footer-navigation