Backing up the Cisco IOS image via TFTP

Times arrive when a network administrator needs to take a backup of the existing router’s OS, and keeping a backup of the IOS image will be helpful in critical times.

First download, install and start a TFTP server in your Windows PC. Ensure that the Firewall is not blocking the UDP port 69.

Now from the router console locate the IOS image. Use show version command.

router#show version | in System
System returned to ROM by reload
System image file is "bootflash:/asr1000rp1-adventerprise.03.07.04.S.152-4.S4.bin"

The IOS file is a compressed “.bin” file residing in the flash.

Next is to copy the IOS image file to the Windows PC using TFTP protocol. We are copying from the flash to the tftp server. We need to provide the TFTP server’s IP address and the destination file name. Leaving the destination file name blank saves the IOS image file with the same name as it was in the router.

router#copy bootflash: tftp:
Source filename []? asr1000rp1-adventerprise.03.07.04.S.152-4.S4.bin
Address or name of remote host []?
Destination filename [asr1000rp1-adventerprise.03.07.04.S.152-4.S4.bin]? 

The copied image is stored in the root directory of the TFTP server.

Sometimes you may face “Error opening TFTP…Timeout” problem. If so, resolve it by following this post.

About Deepak Devanand

Seeker of knowledge
This entry was posted in Networking and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s