How to find out checksum on a ios image on a 3750 ?

Unanswered Question
Oct 24th, 2008
User Badges:
  • Gold, 750 points or more

Does anyone know how to find out the checksum on a downloaded ios image on a 3750 switch ?


ie I used tftp to download a new ios image and now I want to check the checksum on the file located on the flash.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Collin Clark Fri, 10/24/2008 - 05:22
User Badges:
  • Purple, 4500 points or more

7206VXR#verify disk2:/c7200p-advsecurityk9-mz.124-15.T5.bin

Verifying file integrity of disk2:/c7200p-advsecurityk9-mz.124-15.T5.bin

.............................................

.............................................

.............................................

.............................................

.............................................

........................................Done!

Embedded Hash MD5 : 8DF4B6E5EAC416467CFDB5E25699BBF5

Computed Hash MD5 : 8DF4B6E5EAC416467CFDB5E25699BBF5

CCO Hash MD5 : 00215BB6C762990B22533ED8652F6754


Embedded hash verification successful.


Hope that helps

hobbe Fri, 10/24/2008 - 05:47
User Badges:
  • Gold, 750 points or more

The command is possible to write this way in the 3750, however if i do that on the current version (12.2.46-se) it can not find the file specified, however if i add /md5 in the correct place then it works like a charm. seems to me there is a bug in the verify command on this version for the 3750.


Thank you very much for your input. it was most helpful.



Collin Clark Fri, 10/24/2008 - 05:49
User Badges:
  • Purple, 4500 points or more

IOS across routers/switches/firewall/ACEs/etc can differ slightly in their commands. Edison was spot on with the /md5.

hobbe Fri, 10/24/2008 - 05:55
User Badges:
  • Gold, 750 points or more

Yes he was but you where close enough :-)


Thank you all.


Edison Ortiz Fri, 10/24/2008 - 05:26
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

You can verify the file from the switch with the command:


verify /md5 flash:[filename]


From the workstation, the answer depends on the OS running on the system. In Windows, there are tools such as winMD5Sum and if you have *Nix, please see: http://www.cyberciti.biz/tips/howto-verify-integrity-of-the-tar-balls-with-md5sum-command.html


HTH,


__


Edison.

hobbe Fri, 10/24/2008 - 05:50
User Badges:
  • Gold, 750 points or more

Works like a charm.


it was in the switch, I needed to check it out after a series of 0 in the tftp transfer.


Thank you very much for your swift inpuut.



Actions

This Discussion