Knowledge Center Search


 

How to check MD5 checksum on a JUNOS install package

  [KB17665] Show KB Properties

  [KB17665] Hide KB Properties

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

Summary:
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 www.juniper.net website is not modified in any way.

Problem or Goal:

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

www.juniper.net/support/csc/swdist-domestic/10.1/#sw

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*
/var/home/lab/jinstall-10.0R3.10-domestic-signed.tgz
/var/home/lab/jinstall-10.1R1.8-domestic-signed.tgz
/var/home/lab/jinstall-9.6R2-domestic-signed.tgz



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) =
a0cf8686e6fc3d58215d8b46c02a527c


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

www.juniper.net/support/csc/swdist-domestic/10.1/#sw


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

Purpose:
Implementation
Installation

Related Links:

 

 

ASK THE KB

Question or KB ID:


 


 

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