scripts
Syntax
scripts { commit { allow-transients; dampen { dampen-options { cpu-factor cpu-factor; line-interval line-interval; time-interval time-interval; } } direct-access; file filename { allow-transients; cert-file path; checksum hash-algorithm hash-value; optional; refresh; refresh-from url; routing-instance routing-instance-name; source url; } max-datasize size; refresh; refresh-from url; traceoptions { file <filename> <files number> <size size> <world-readable | no-world-readable>; flag flag; no-remote-trace; } } language (python | python3); load-scripts-from-flash; op { allow-url-for-python; dampen { dampen-options { cpu-factor cpu-factor; line-interval line-interval; time-interval time-interval; } } file filename { allow-commands "regular-expression"; arguments { argument-name { description descriptive-text; } } cert-file path; checksum hash-algorithm hash-value; command filename-alias; dampen { dampen-options { cpu-factor cpu-factor; line-interval line-interval; time-interval time-interval; } } description descriptive-text; refresh; refresh-from url; routing-instance routing-instance-name; source url; start { start-options { mem-factor percentage; } } } max-datasize size; no-allow-url; refresh; refresh-from url; start { start-options { mem-factor percentage; } } traceoptions { file <filename> <files number> <size size> <world-readable | no-world-readable>; flag flag; no-remote-trace; } } snmp { file filename { cert-file path; checksum hash-algorithm hash-value; oid id { priority; } python-script-user username; refresh; refresh-from; routing-instance routing-instance-name; source; start { start-options { mem-factor percentage; } } } max-datasize size; refresh; refresh-from; start { start-options { mem-factor percentage; } } traceoptions { file <filename> <files number> <size size> <world-readable | no-world-readable>; flag flag; no-remote-trace; } } synchronize; }
Hierarchy Level
[edit system]
Description
Configure scripting mechanisms for Junos OS commit, op, or SNMP scripts.
Note:
The traceoptions
statement is not supported
on QFabric systems.
Options
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 7.4.