Navigation
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operations Automation Guide
- Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide
- EX, J, M, MX, PTX, QFX, SRX, T Series
- file checksum md5
- file checksum sha-256
- EX, J, M, MX, PTX, T Series
- op
file checksum sha1
Syntax
file checksum sha1 <pathname> filename
Release Information
Command introduced in Junos OS Release 9.5.
Command introduced in Junos OS Release 9.5 for EX Series switches.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Description
Calculate the Secure Hash Algorithm (SHA-1) checksum of a file.
Options
pathname | — | (Optional) Path to a filename. |
filename | — | Name of a local file for which to calculate the SHA-1 checksum. |
Required Privilege Level
maintenance
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operations Automation Guide
- Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide
- EX, J, M, MX, PTX, QFX, SRX, T Series
- file checksum md5
- file checksum sha-256
- EX, J, M, MX, PTX, T Series
- op
List of Sample Output
file checksum sha1Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
file checksum sha1
user@host> file checksum sha1 /var/db/scripts/opscript.slax
SHA1 (/var/db/scripts/commitscript.slax) = ba9e47120c7ce55cff29afd73eacd370e162c676
Published: 2013-08-15
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide
- Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operations Automation Guide
- Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide
- EX, J, M, MX, PTX, QFX, SRX, T Series
- file checksum md5
- file checksum sha-256
- EX, J, M, MX, PTX, T Series
- op