Calculate and Verify the MD5 Checksum for a File on the Switch

Perform this procedure to verify that the software files are downloaded properly to the switch. The MD5 checksum for each release is available on the Extreme Networks Support website.

About this task

Calculate and verify the MD5 checksum after you download software files.

Before you begin

  • Download the MD5 checksum to an intermediate workstation or server where you can open and view the contents.

  • Download the image file to the switch.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View the list of files:

    ls *.tgz

    OR

    ls *.voss

  3. Calculate the MD5 checksum for the file:

    file-checksum md5 WORD<1-99>

  4. Compare the number generated for the file on the switch with the number that appears in the MD5 checksum on the workstation or server. Ensure that the MD5 checksum of the software suite matches the system output generated from calculating the MD5 checksum from the downloaded file.

Example

View the contents of the MD5 checksum on the workstation or server:

3242309ad6660ef09be1b945be15676d  VSP8200.4.0.0.0_edoc.tar
d000965876dee2387f1ca59cf081b9d6  VSP8200.4.0.0.0_mib.txt
897303242c30fd944d435a4517f1b3f5  VSP8200.4.0.0.0_mib.zip
2fbd5eab1c450d1f5feae865b9e02baf  VSP8200.4.0.0.0_modules.tgz
a9d6d18a979b233076d2d3de0e152fc5  VSP8200.4.0.0.0_OpenSource.zip
8ce39996a131de0b836db629b5362a8a  VSP8200.4.0.0.0_oss-notice.html
80bfe69d89c831543623aaad861f12aa  VSP8200.4.0.0.0.tgz
a63a1d911450ef2f034d3d55e576eca0  VSP8200.4.0.0.0.zip
62b457d69cedd44c21c395505dcf4a80  VSP8200v400_HELP_EDM_gzip.zip

Calculate the MD5 checksum for the file on the switch:

Switch:1>ls *.tgz
-rw-r--r--  1 0       0         44015148 Dec  8 08:18  VSP8200.4.0.0.0.tgz
-rw-r--r--  1 0       0         44208471 Dec  8 08:19  VSP8200.4.0.1.0.tgz
Switch:1>file-checksum md5 VSP8200.4.0.0.0.tgz
MD5 (VSP8200.4.0.0.0.tgz) = 80bfe69d89c831543623aaad861f12aa

Variable Definitions

The following table defines parameters for the file-checksum md5 command:

Variable

Value

WORD<1-99>

Specifies the file name.