How to Unzip / Uncompress Cisco IOS

by Nish Vamadevan on 30/11/2010 · 3 comments

This procedure is quite simple and the following is done on Linux. When you have an uncompressed IOS, you don’t need to wait for it when it comes to loading it on Dynamips.

unzip -p c3725-adventerprisek9-mz.124-25.bin > c3725-adventerprisek9-mz.124-25.image

You can see both compressed and uncompressed versions below.

Workstation IOS # ls -ltrh |grep 3725
-rw-r--r-- 1 root root 38M 2010-11-29 16:47 c3725-adventerprisek9-mz.124-25.bin
-rw-r--r-- 1 root root 79M 2010-11-29 20:23 c3725-adventerprisek9-mz.124-25.image
Workstation IOS #

  • Add

    Hi Nish, Could you show how to go back from image to bin?

    Thanks

    • http://www.nish.com Nish Vamadevan

      Add, I have tried the following method, but It doesn’t seem to work when I load the image on Dynamips… It does ZIP, but the MD5 checksum is different from the original BIN Image…

      I am not sure how to go back to the original BIN image… If I find out, I will let you know.

      zip -r c3725-adventerprisek9.bin c3725-adventerprisek9.bin.image
  • Add

    Thanks a lot. I’ll post a solution if I find it.

Previous post:

Next post: