file checksum sha-256
Syntax
file checksum sha-256 <pathname> filename
Release Information
Command introduced in Junos OS Release 9.5.
Command introduced in Junos OS Release 9.5 for EX Series switches.
Description
Calculate the Secure Hash Algorithm 2 family (SHA-256) checksum of a file.
Options
pathname
—(Optional) Path to a filename.
filename
—Name of a local file for which to calculate the SHA-256 checksum.
Required Privilege
Level
maintenance
Related
Documentation
Configuring Checksum Hashes for a Commit Script in the
Junos Configuration and
Operations Automation Guide
•
•
Configuring Checksum Hashes for an Event Script in the
Junos Configuration and
Operations Automation Guide
•
Configuring Checksum Hashes for an Op Script in the
Junos Configuration and Operations
Automation Guide
•
Executing an Op Script from a Remote Site in the
Configuration and Operations
Automation Guide
•
file checksum md5 on page 452
•
file checksum sha1 on page 453
•
op on page 236
List of Sample Output
file checksum sha-256 on page 727
Output Fields
When you enter this command, you are provided feedback on the status of your request.
file checksum sha-256
user@host>
file checksum sha-256 /var/db/scripts/commitscript.slax
SHA256 (/var/db/scripts/commitscript.slax) =
94c2b061fb55399e15babd2529453815601a602b5c98e5c12ed929c9d343dd71
file checksum sha-256
727
Copyright © 2010, Juniper Networks, Inc.
Chapter 42: Operational Mode Commands for System Monitoring
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...