Display Commit Script Output
You can use Junos OS CLI commands to monitor and troubleshoot commit scripts. Table 1 summarizes some common commands. For information about commit script trace files, see Trace Commit Script Processing on Devices Running Junos OS and Trace Script Processing on Devices Running Junos OS Evolved.
Task |
Command |
|---|---|
| Configuration Mode Commands | |
Display errors and warnings generated by commit scripts. |
|
Display detailed information about the commit operation and commit script execution. |
|
Display the underlying Extensible Markup Language (XML) data. |
|
Display the postinheritance contents of the configuration database. This view includes transient changes, but does not include changes made in configuration groups. |
|
Display the postinheritance contents of the configuration database. This view excludes transient changes. |
|
Display the postinheritance configuration in XML format. Each commit script receives this configuration format as input. Viewing the configuration in XML format can be helpful when you are writing XML Path Language (XPath) expressions and configuration element tags. |
|
Display the postinheritance configuration in XML format, but exclude transient changes. |
|
Display all configuration groups data, including script-generated changes to the groups. |
|
Display a particular configuration group, including script-generated changes to the group. |
|
| Operational Mode Commands (Junos OS) | |
Display logging data associated with all commit script processing. |
|
Display processing for only the most recent commit operation. |
|
Display processing for script errors. |
|
|
Display processing for a particular script. |
|
| Operational Mode Commands (Junos OS Evolved) | |
|
Display trace data for all script processing, including commit scripts. |
|
|
Display trace data for all script processing but only display the timestamp and message. |
|