file (SNMP Scripts)
Syntax
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; } } }
Description
For Junos OS SNMP scripts, enable an SNMP script that is located in the
/var/db/scripts/snmp directory. If the
load-scripts-from-flash
option is configured, the system reads SNMP scripts from the
/config/scripts/snmp directory instead.
Options
filename | Name of an Python, Extensible Stylesheet Language Transformations (XSLT), or Stylesheet Language Alternative syntaX (SLAX) file containing an SNMP script. |
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 15.1.