Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file checksum sha-256

 

Syntax

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.

Command introduced in Junos OS Release 14.1X53-D20 for OCX Series switches.

Description

Calculate the Secure Hash Algorithm 2 family (SHA-256) checksum of a file.

Options

pathname(Optional) Path to a filename.
filenameName of a local file for which to calculate the SHA-256 checksum.

Required Privilege Level

maintenance

List of Sample Output

file checksum sha-256

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

file checksum sha-256

user@host> file checksum sha-256 /var/db/scripts/commitscript.slax