cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18549
Views
20
Helpful
9
Replies

Ios verify

r.sagredo
Level 1
Level 1

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,,

1 Accepted Solution

Accepted Solutions

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

View solution in original post

9 Replies 9

Jon Marshall
Hall of Fame
Hall of Fame

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

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

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

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#

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

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

Thanks for sorting that out Reza, not one of my better posts

Jon

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:

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_50_se/command/reference/cli1.html

Thanks,

Reza

Tranks for all my friend..