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

direct-access (Commit Scripts)

date_range 07-May-24

Syntax

content_copy zoom_out_map
direct-access;

Hierarchy Level

content_copy zoom_out_map
[edit system scripts commit]

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.

footer-navigation