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


Deleting or Deactivating a Commit Script

If you do not want a commit script to run, you can delete or deactivate it.

Deleting the filename from the [edit system scripts commit] hierarchy level effectively "unconfigures" the functionality associated with the specified script. Deactivating the statement adds the inactive: tag to the statement, effectively commenting out the statement from the configuration. Statements marked inactive do not take effect when you issue the commit command.

To delete or deactivate a script, issue the delete or deactivate configuration mode command followed by the file statement at the [edit system scripts commit] hierarchy level, specifying the name of the XSLT file containing the commit script you want to delete or deactivate:

[edit system scripts commit]
user@host# delete file filename.xsl

[edit system scripts commit]
user@host# deactivate file filename.xsl

For more information about the delete and deactivate configuration mode commands, see the JUNOS System Basics Configuration Guide.


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