Knowledge Search


How to check MD5 checksum on a JUNOS install package

  [KB17665] Show KB Properties

  [KB17665] Hide KB Properties

Knowledge Base ID: KB17665
Last Updated: 29 Jun 2010
Version: 1.0

Juniper provides an MD5 hash of JUNOS install packages on it's web site. This KB explains how we can confirm that a JUNOS install package downloaded from website is not modified in any way.

Problem or Goal:

Solution: provides a link to JUNOS installation packages for different products. One such example is for JUNOS 10.1 as follows:

1. As an example, download M-series, MX-series and T-series Install Package for 10.1R1.8 onto the Juniper router.

lab@A> file list jinstall*

2. Run below CLI command to calculate file checksum

lab@A> file checksum md5 /var/home/lab/jinstall-10.1R1.8-domestic-signed.tgz
MD5 (/var/home/lab/jinstall-10.1R1.8-domestic-signed.tgz) =

3. Compare above MD5 hash output with MD5 hash provided on the below page:

4. Similarly you can also calculate sha1 and sha-256 checksum of a file
lab@A> file checksum ?
Possible completions:
  md5                  Calculate MD5 checksum of a file
  sha-256              Calculate SHA-256 checksum of a file
  sha1                 Calculate SHA1 checksum of a file


Related Links:

Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.