10-21-2011 04:13 PM - edited 03-07-2019 02:58 AM
Hi
when we tried verify the ios image, we recivied the folowing mesagges:
SW#verify flash:flash:c2960-lanbasek9-mz.122-50.SE4
%ERROR: Unable to process embedded hash in flash:flash:c2960-lanbasek9-mz.122-50.SE4.
File system hash verification failed for file flash:flash:c2960-lanbasek9-mz.122-50.SE4(No such file or directory).
SW#
Directory of flash:/
2 -rwx 1036 Mar 1 1993 00:19:04 +00:00 vlan.dat
4 -rwx 6373 Mar 1 1993 00:09:26 +00:00 config.text
5 -rwx 1919 Mar 1 1993 00:09:26 +00:00 private-config.text
6 drwx 192 Mar 1 1993 00:11:43 +00:00 c2960-lanbasek9-mz.122-50.SE4
561 drwx 0 Mar 1 1993 01:33:44 +00:00 update
562 -rwx 2072 Mar 1 1993 00:12:15 +00:00 multiple-fs
tranks for the support,,
Solved! Go to Solution.
10-21-2011 05:06 PM
Jon/Raul,
I found the correct path:
here it is:
Switch#verify /md5 flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122$
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin) = ea178f59b55d03f93c4cdcf23201d71e
Switch#
Switch#verify /md5 flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122$
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin) = ea178f59b55d03f93c4cdcf23201d71e
Switch#
who new that you need md5 in the path???
Thanks,
Reza
10-21-2011 04:17 PM
Raul
You have put the keyword flash in twice ie.
verify flash:flash:c2960-lanbasek9-mz.122-50.SE4
try
verify flash:c2960-lanbasek9-mz.122-50.SE4
Jon
10-21-2011 04:44 PM
Jon,
It apears to me that this command does not work, no matter which way I try it.
3750 switch:
Switch#verify ?
/md5 Compute an md5 signature for a file
flash1: File to be verified
flash: File to be verified
nvram: File to be verified
Switch#verify fla
Switch#verify flash:?
flash:c3750e-universal-mz.122-52.SE flash:config.text flash:multiple-fs
flash:private-config.text flash:vlan.dat
Switch#verify flash: ?
Switch#verify flash:c3750e-universal-mz.122-52.SE
%ERROR: Unable to process embedded hash in flash:c3750e-universal-mz.122-52.SE.
File system hash verification failed for file flash:c3750e-universal-mz.122-52.SE(No such file or directory).
Switch#verify flas
Switch#verify ?
/md5 Compute an md5 signature for a file
flash1: File to be verified
flash: File to be verified
nvram: File to be verified
Switch#verify fla
Switch#verify flash1:?
flash1:c3750e-universal-mz.122-52.SE flash1:config.text flash1:multiple-fs
flash1:private-config.text flash1:vlan.dat
Switch#verify flash1:flash1:c3750e-universal-mz.122-52.SE
%ERROR: Unable to process embedded hash in flash:flash1:c3750e-universal-mz.122-52.SE.
File system hash verification failed for file flash1:flash1:c3750e-universal-mz.122-52.SE(No such file or directory).
Switch#verify ?
/md5 Compute an md5 signature for a file
flash1: File to be verified
flash: File to be verified
nvram: File to be verified
Switch#verify md
Switch#verify /m
Switch#verify /md5 ?
bs: File to be verified
cns: File to be verified
flash1: File to be verified
flash: File to be verified
ftp: File to be verified
http: File to be verified
null: File to be verified
nvram: File to be verified
rcp: File to be verified
system: File to be verified
tar: File to be verified
tftp: File to be verified
tmpsys: File to be verified
xmodem: File to be verified
ymodem: File to be verified
Switch#verify /md5 fla
Switch#verify /md5 flash:?
flash:c3750e-universal-mz.122-52.SE flash:config.text flash:multiple-fs
flash:private-config.text flash:vlan.dat
Switch#verify /md5 flash:c3750e-universal-mz.122-52.SE
%Error computing MD5 hash flash:c3750e-universal-mz.122-52.SE (Is a directory)
Switch#verify /md5 flash:?
flash:c3750e-universal-mz.122-52.SE flash:config.text flash:multiple-fs
flash:private-config.text flash:vlan.dat
Switch#verify /md5 flash:flash:c3750e-universal-mz.122-52.SE
%Error computing MD5 hash flash:flash:c3750e-universal-mz.122-52.SE (No such file or directory)
Switch#
Reza
10-21-2011 04:51 PM
Reza / Raul
My mistake, thanks for pointing it out.
You can't verify the directory, you have to verify the file. So from Raul's original post it should be -
verify flash:c2960-lanbasek9-mz.122-50.SE4/c2960-lanbasek9-mz.122-50.SE4.bin
ie. you must verify the actual IOS image.
Jon
10-21-2011 05:00 PM
Jon,
Here is output with the actual image
Switch#sh ver | inc bin
System image file is "flash:/c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin"
Switch#$h:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin
File system hash verification failed for file flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin(No such file or directory).
Switch#
10-21-2011 05:04 PM
Reza
Can you try 2 things for me -
1) verify flash:/c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin ie. put the "/" after flash:
2) if 1) doesn't work can you cd to the c3750e-universal-mz.122-52.SE directory and then just try to verify the actual image ie.
verify c3750e-universal-mz.122-52.SE.bin
Jon
10-21-2011 05:06 PM
Jon/Raul,
I found the correct path:
here it is:
Switch#verify /md5 flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122$
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin) = ea178f59b55d03f93c4cdcf23201d71e
Switch#
Switch#verify /md5 flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122$
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (flash:c3750e-universal-mz.122-52.SE/c3750e-universal-mz.122-52.SE.bin) = ea178f59b55d03f93c4cdcf23201d71e
Switch#
who new that you need md5 in the path???
Thanks,
Reza
10-21-2011 05:09 PM
Thanks for sorting that out Reza, not one of my better posts
Jon
10-21-2011 05:13 PM
Jon,
No problem my friend. We are all learning some thing new every day
BTW. I do not see this command in the reference guide:
Thanks,
Reza
10-23-2011 11:52 AM
Tranks for all my friend..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide