Saturday, August 04, 2012

Check Cisco md5 checksum on Ubuntu

Here's a quick tip.  You may have noticed when downloading files from certain locations such as, MD5 checksums are listed.

Something like this:
MD5 Checksum:04f9d3f5a91a8b80397773a265a88848

MD5 checksums verify integrity of files you have downloaded.

In Ubuntu (and most other distros), md5sum is a program automatically included that allows you to check MD5 Checksums.

Simply run md5sum from terminal.

md5sum waas-universal-
04f9d3f5a91a8b80397773a265a88848  waas-universal-

One more tip.  Depending on the device and IOS image, you can verify MD5 on Cisco routers as well.  
Simply run
verify /md5 flash:iosimage.bin

Router#verify /md5 flash:c2800nm-spservicesk9-mz.124-25f.bin
verify /md5 (flash:c2800nm-spservicesk9-mz.124-25f.bin) = 09322ffb9111bce00a8eef38165f30e4

No comments: