Software Distribution - File Checksum Procedure 

How to create an MD5 checksum for your software image

As part of our updated software distribution system we ask you for an MD5 checksum of the Junos or VNF image file. This enables us to perform a check on the file once it has been copied to the device, ensuring the integrity of the file.

MD5 Checksum is a program that acts as a digital fingerprint for files. It ensures that the file has not changed due to file transfer faults, disk errors or non-malicious meddling. OneConfig uses MD5 Checksum to ensure file integrity for the Software Distribution feature.

Get MD5 checksum from Juniper or your VNF provider

Depending on where your software image is coming from you may have the option to get an MD5 checksum from the provider.

 

Here is an example of Juniper's software download site, with links to MD5 checksums for each image.

Download the MD5 file, open using a text editor and copy the string. 


CreatE aN MD5 checksum

If you don't have a supplied MD5 checksum file, you can create one by using a checksum tool. Depending on your operating system, there are different ways to get a checksum from a file.

1. Windows

There is a Microsoft supplied utility called FCIV (File Checksum Integrity Verifier) that is available, see instructions here on how to download and use it. https://support.microsoft.com/en-us/help/841290

2. Mac / Linux

Unix based systems, like MacOS or Linux (or even Junos), usually include tools to get checksums. The command is either md5 or md5sum, depending on the distribution. For example:

user@host$ md5 junos-srxsme-15.1X49-D70.3-domestic.tgz
MD5 (junos-srxsme-15.1X49-D70.3-domestic.tgz) = 07453173a9db4b2f034f2ab9f0ad2711