checksum (Scripts)
Syntax
checksum (md5 | sha-256 | sha1) hash-value;
Hierarchy Level
[edit event-options event-script file filename], [edit system scripts commit file filename], [edit system scripts op file filename], [edit system scripts snmp file filename], [edit system extensions extension-service application file filename]
Description
For Junos OS commit scripts, event scripts, op scripts, SNMP scripts, and scripts developed using the Juniper Extension Toolkit (JET) specify the MD5, SHA-1, or SHA-256 checksum hash. When Junos OS executes a local commit, event, op, SNMP, or JET script, the system verifies the integrity of the script by using the configured checksum hash.
Options
md5 hash | MD5 checksum of this script. This option is deprecated starting in Junos OS Releases 18.2R2 and 18.3R1. |
sha-256 hash | SHA-256 checksum of this script. |
sha1 hash | SHA-1 checksum of this script. This option is deprecated starting in Junos OS Releases 18.2R2 and 18.3R1. |
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 9.5.
Statement introduced for the [edit system extensions extension-service
application file filename]
hierarchy level
in Junos OS Release 16.1 for MX80, MX104, MX240, MX480, MX960, MX2010,
MX2020, vMX Series.
md5
and sha1
options deprecated in Junos
OS Releases 18.2R2 and 18.3R1.