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 *.tgz

  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:

183eacd80a1571fc8d15676a3c9366bb  FabricIPSecGW_VM_5.2.0.0.ova
eb86e5991d8ce2a69b21510b993e0727  restconf_yang.tgz
adc1468688e8484d0b40443c39f14e51  TPVM_Ubuntu20.04_04_14Apr2022.qcow2
aeeeff32dd58708237bbc6fb905c66e6  VOSS4900.8.10.0.0_edoc.tar
6fa2e4a2a701b4481446828191d55749  VOSS4900.8.10.0.0_mib_sup.txt
45d5ab27b6bf685c086c5a4ce1b47576  VOSS4900.8.10.0.0_mib.txt
4d71d0b020cb75a6ebb54d91cd62c445  VOSS4900.8.10.0.0_mib.zip
0ebd29b5fca139c0afb1585b1933b3a8  VOSS4900.8.10.0.0_oss-notice.html
a71ebe5a0c1c2d2a5056ddaca0124aef  VOSS4900.8.10.0.0.tgz
bb4d40f59ed40f56a47f657821b9b35d  VOSSv8.10.0_HELP_EDM_gzip.zip

Calculate the MD5 checksum for the file on the switch:

Switch:1>ls *.tgz
Listing Directory /intflash:
-rw-r--r--  1 0       0      322724024 Jun  5 16:25  VOSS4900.8.10.0.0.tgz
Switch:1>file-checksum md5 VOSS4900.8.10.0.0.tgz
MD5 (VOSS4900.8.10.0.0.tgz) = a71ebe5a0c1c2d2a5056ddaca0124aef

Variable Definitions

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

Variable

Value

WORD<1-99>

Specifies the file name.