Verifying the Flash Image

You can use various vefify commands for the verification of boot images based on hash codes and the generation of hash codes where needed.
Use one of the following commands to verify the boot image. The commands do not need to be entered in the specified order. Using these commands is optional and they can be entered in any order. For more information on these commands, refer to the RUCKUS FastIron Command Reference.
  1. Enter the verify command with the md5 and secondary keywords to generate an MD5 hash value for the secondary imaged.
    device# verify md5 secondary
    device#.........................Done
    Size = 2044830, MD5 01c410d6d153189a4a5d36c955653862
    
  2. Enter the verify command with the sha and secondary keywords to generate a SHA-1 hash value for the secondary image.
    device# verify sha secondary
    device#.........................Done
    Size = 2044830, SHA1 49d12d26552072337f7f5fcaef4cf4b742a9f525
    
  3. Enter the verify command with the crc32 and secondary keywords to generate a CRC32 hash value for the secondary image.
    device# verify crc32 secondary
    device#.........................Done
    Size = 2044830, CRC32 b31fcbc0
    
  4. Enter the verify command with the md5 and secondary keywords, and specify a value, to verify the hash value of a secondary image with a known value.
    device# verify md5 secondary 01c410d6d153189a4a5d36c955653861
    device#.........................Done
    Size = 2044830, MD5 01c410d6d153189a4a5d36c955653862
    Verification FAILED.
    
    In the example above, the codes did not match and verification failed
  5. Enter the verify command with the md5 and secondary keywords, and specify a value, to verify the hash value of a secondary image with a known value.
    device# verify md5 secondary 01c410d6d153189a4a5d36c955653861
    device#.........................Done
    Size = 2044830, MD5 01c410d6d153189a4a5d36c955653861
    Verification SUCEEDED.
    
    In the example above, the codes matchedand verification succeeded.
  6. Enter the verify command with the sha and secondary keywords, specifying a value, to generate a SHA-1 hash value for the secondary image with a known.
    device# verify sha secondary 49d12d26552072337f7f5fcaef4cf4b742a9f525
    device#.........................Done
    Size = 2044830, sha 49d12d26552072337f7f5fcaef4cf4b742a9f525
    Verification SUCCEEDED.
    
  7. Enter the verify command with the crc32 and secondary keywords, specifying a value, to generate a CRC32 hash value for the secondary image with a known value.
    device# verify crc32 secondary b31fcbc0
    device#.........................Done
    Size = 2044830, CRC32 b31fcbc0
    Verification SUCCEEDED.