[Contents] [Prev] [Next] [Index] [Report an Error]

Displaying Commit Script Output

Table 13 summarizes the command-line interface (CLI) commands you can use to monitor and troubleshoot commit scripts. For more information about the cscript.log file, see Tracing Commit Script Processing.

Table 13: Commit Script Configuration and Operational Mode Commands

Task

Command

Configuration Mode Commands

Display errors and warnings generated by commit scripts.

commit or commit check

Display detailed information.

commit | display detail

Display the underlying Extensible Markup Language (XML) data.

commit | display xml

Display the postinheritance contents of the configuration database. This view includes transient changes, but does not include changes made in configuration groups.

show | display commit-scripts

Display the postinheritance contents of the configuration database. This view excludes transient changes.

show | display commit-scripts no-transients

Display the postinheritance configuration in XML format.

Viewing the configuration in XML format can be helpful when you are writing XML Path Language (XPath) expressions and configuration element tags.

show | display commit-scripts view

Display the postinheritance configuration in XML format, but exclude transient changes.

show |
display commit-scripts view |
display commit-scripts no-transients

Display all configuration groups data, including script-generated changes to the groups.

show groups | display commit-scripts

Display a particular configuration group, including script-generated changes to the group.

show groups group-name | display commit-scripts

Operational Mode Commands

Display logging data associated with all script processing.

show log cscript.log

Display script processing for only the most recent commit operation.

show log cscript.log | last

Display processing for script errors.

show log cscript.log | match error

Display script processing for a particular script.

show log cscript.log | match script-name


[Contents] [Prev] [Next] [Index] [Report an Error]