cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1467
Views
0
Helpful
3
Replies

Issue verifying md5 in c9300

kevin2001
Level 1
Level 1

Hi, we have upgraded ios in c9200 stack without issue when verifying md5 after copying image. but recently after copying image to c9300, all of them cannot show correct verifying number, Is this something wrong? Thanks

3 Accepted Solutions

Accepted Solutions

Mark Elsen
Hall of Fame
Hall of Fame

 

    - Yes , that is something wrong; for starters compare the md5 sum 'in and out' of the switches ;
       Meaning on the repository where you downloaded it versus when the image is on the switch itself,

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

View solution in original post

Jens Albrecht
Spotlight
Spotlight

Hi @kevin2001,

if multiple switches do not show the expected MD5 checksum, then it is very likely that the file on your (S)FTP server is corrupt.

So you need to verify the file on your server. In case of a Windows machine you can simply use a command terminal or powershell window to verify the hash with the command "certutil -hashfile <filename> <hashalgorith>":

Example:  certutil -hashfile cat9k_iosxe.17.12.04.SPA.bin MD5

This tool can generate the MD5 and SHA512 hashes used by Cisco for software downloads among other algorithms. Other operating systems also offer such tools.

If the checksum on your server is not the correct one, then you need to re-download the software from Cisco.
It is best practice to always verify the checksum after download and/or copying to your (S)FTP server to avoid such problems.

HTH!

View solution in original post

kevin2001
Level 1
Level 1

Very good explanation, Thanks Jens!  

View solution in original post

3 Replies 3

Mark Elsen
Hall of Fame
Hall of Fame

 

    - Yes , that is something wrong; for starters compare the md5 sum 'in and out' of the switches ;
       Meaning on the repository where you downloaded it versus when the image is on the switch itself,

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Jens Albrecht
Spotlight
Spotlight

Hi @kevin2001,

if multiple switches do not show the expected MD5 checksum, then it is very likely that the file on your (S)FTP server is corrupt.

So you need to verify the file on your server. In case of a Windows machine you can simply use a command terminal or powershell window to verify the hash with the command "certutil -hashfile <filename> <hashalgorith>":

Example:  certutil -hashfile cat9k_iosxe.17.12.04.SPA.bin MD5

This tool can generate the MD5 and SHA512 hashes used by Cisco for software downloads among other algorithms. Other operating systems also offer such tools.

If the checksum on your server is not the correct one, then you need to re-download the software from Cisco.
It is best practice to always verify the checksum after download and/or copying to your (S)FTP server to avoid such problems.

HTH!

kevin2001
Level 1
Level 1

Very good explanation, Thanks Jens!