Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

direct-access (Commit Scripts)

Syntax

Hierarchy Level

Description

Enable SLAX and XSLT commit scripts to read the input configuration directly from the database.

During a commit operation, the management process exports the post-inheritance candidate configuration in XML format and passes it as input to the commit script. If the configuration is large, the script driver might have trouble reading it into memory for commit script processing. When this occurs, you can configure the direct-access statement to enable the script driver to retrieve the candidate configuration directly from the configuration database. We recommend configuring the direct-access statement only if the configuration is large, because directly accessing the configuration data is processor-intensive and can affect system performance

Note:

Junos OS supports configuring the direct-access statement only when SLAX and XSLT commit scripts are configured. It does not support configuring the direct-access statement when Python commit scripts are also configured.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 9.1.