Validate File Integrity

Validate MD5 Hash in Windows CLI

Syntax:
certutil -hashfile <filename.ext> <MD5>
certutil -hashfile <filename.ext> <SHA512>

c:\> certutil -hashfile HelloWorld1234.bin MD5
MD5 hash of HelloWorld1234.bin MD5
bba768f47f3fa57cc42b77d31b2e1c5a
CertUtil: -hashfile command completed successfully.

Validate MD5 Hash in Cisco Router/Switch

Device> enable
Device# verify </md5> <path:filename.ext> <expected-signature>   <== Syntax
Device# verify /md5 flash:iosxe-17.13.01a.bin asedf8973j40afds90mjlokjhldsf
..................................
..................................
..................................
..................................
..................................
...............................Done!
Verified (flash:iosxe-17.13.01a.bin) = asedf8973j40afds90mjlokjhldsf