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.

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.

About this task

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

Procedure

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

    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 displays 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:

9e8e4356ec44661514cd142e933dca59  5420.8.4.0.0_edoc.tar
4602bf5adbc0c31c0e5f5d38209d7b87  5420.8.4.0.0_mib_sup.txt
25be1902e954e3140d1072562c926d4b  5420.8.4.0.0_mib.txt
09d06a9dbbfdaa07cabd2000556d5d2b  5420.8.4.0.0_mib.zip
8e23c6632b5b7a9ec134418348baebea  5420.8.4.0.0_oss-notice.html
d83cd61e0b115c83aca0c52c9dd5eb0e  5420.8.4.0.0.voss
eb86e5991d8ce2a69b21510b993e0727  restconf_yang.tgz
561a5b566c42b68cc4b1fc3b1e71cf70  VOSSv840_HELP_EDM_gzip.zip

Calculate the MD5 checksum for the file on the switch:

Switch:1>ls *.voss
Listing Directory /intflash:
-rw-r--r--  1 0       0       94195267 Dec 13 14:42  5420.8.4.0.0.voss
Switch:1>file-checksum md5 5420.8.4.0.0.voss
MD5 (5420.8.4.0.0.voss) = d83cd61e0b115c83aca0c52c9dd5eb0e

Variable Definitions

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

Variable

Value

WORD<1-99>

Specifies the file name.