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.- Enter the
verifycommand with the md5 and secondary keywords to generate an MD5 hash value for the secondary imaged. - Enter the
verifycommand with the sha and secondary keywords to generate a SHA-1 hash value for the secondary image. - Enter the
verifycommand with the crc32 and secondary keywords to generate a CRC32 hash value for the secondary image. - Enter the
verifycommand 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 - Enter the
verifycommand 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. - Enter the
verifycommand with the sha and secondary keywords, specifying a value, to generate a SHA-1 hash value for the secondary image with a known. - Enter the
verifycommand with the crc32 and secondary keywords, specifying a value, to generate a CRC32 hash value for the secondary image with a known value.