How to backup and restore router configuration via TFTP
Networking August 23rd, 2007Introduction
Backup hardware’s configuration is the one important routine for network engineers so that when the hardware break down you can recover the failed system within an acceptable time. To backup the configuration, one effective way is to use TFTP to backup and restore configuration between remote hosts.
In the example below, I’ll show how to backup and restore configurations between TFTP Server and Cisco’s router. The TFTP Server will use Cisco TFTP Server software.
Configure TFTP Server
- Download Cisco TFTP Server from cisco.com or old version at here. Run setup file to install the software on the computer that will be a TFTP Server (the computer that connected to Cisco router on Ethernet port).

- After installed, you’ll see Cisco TFTP Server shortcut on desktop.

- Open Cisco TFTP Server. You’ll see the window as below that means you have finished setup TFTP Server. You must leave this window open to send/receive configuration with Router.

- You can customize TFTP Server root directory (the directory to keep configuration files) by click View -> Options on menu bar.

Backup running configuration from a router to the TFTP Server
- Connect cable from the router to the TFTP Server. Assign IP on both and ensure that you can ping each other. In this example, the TFTP Server has IP address 192.168.11.10 and the router is 192.168.11.1
- Connect to the router.

- Type ‘copy running-config tftp:’ (without quote).
- Enter the IP address of the remote host (the TFTP Server). In this example, it is 192.168.11.10
- Enter the destination filename to save the configuration to. Or you can enter to accept the value in the bracket[].

- You’ll see the file that has been created and the status on TFTP Server is updated.


- The file contain the running configuration of the router.

Restore startup configuration from a file on TFTP Server
- Connect cable from the router to the TFTP Server. Assign IP on both and ensure that you can ping each other. In this example, the TFTP Server has IP address 192.168.11.10 and the router is 192.168.11.1
- Connect to the router.
- Enter the IP address of the remote host (the TFTP Server)
- Enter the source filename for restore to startup configuration.
- The destination is startup-config.
- Now the configuration file has been restored to startup-configuration.

Summary
The example above shows only one common way to backup and restore the configurations but there are other ways like FTP, HTTP, etc so that you can try which way will suit you best.
Related post
- How to backup and restore database on Microsoft SQL Server 2005 Introduction This post shows a step-by-step guide to backup and restore a database between two Microsoft SQL Server 2005 instances....
Related posts:




April 8th, 2008 at 9:01 pm
dear sir its good knowlege given website
i want know about router configuration
can you provide me notes how we can recover if IOS of router is correpted
April 11th, 2008 at 11:15 pm
What do you mean corrupted? Did you mean that you want to reset a Router to factory default settings?
If that the case and your router is Cisco, try to visit this Reset a Cisco Router to Factory Default Settings. You should ask support at Cisco.com if you don’t have any experience about this or you can try by yourself but I’ll not responsible in any damage on your data or device.
April 25th, 2008 at 6:48 pm
its great knowledge , am really thankfull to this team work
November 3rd, 2008 at 9:50 pm
really It is very useful website
November 15th, 2008 at 10:49 am
Thank you for all the help. This is an easy way of getting acquainted with things
January 15th, 2009 at 1:32 pm
i liked too much this website
January 24th, 2009 at 12:41 am
sir correpted router ka ios backup & restore
July 13th, 2010 at 4:05 pm
Use console and wen botting use ctrl+break to skip boting ios .. the upload again ios .