cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
591
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

marce1000
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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

View solution in original post

Jens Albrecht
Level 4
Level 4

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

marce1000
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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Jens Albrecht
Level 4
Level 4

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!