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 #

{ 3 comments… read them below or add one }

Add March 12, 2011 at 13:11

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

Thanks

Reply

Nish Vamadevan March 13, 2011 at 02:25

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

Reply

Add March 15, 2011 at 06:43

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

Reply

Leave a Comment

 

Previous post:

Next post: