Setting up a Simple Lab Topology

Here, we will be using a single Router and a server with both TFTP and FTP protocols running. (The server can be found on the End Devices tab in CPT).

Step 1: Configuring the IP address on the Router and a loopback interface (to verify our configuration Backup).

Router(config)#int f0/0
Router(config-if)#ip address 10.0.0.1 255.255.255.0
Router(config-if)#no shut
Router(config)#int loopback 1
Router(config-if)#ip address 1.1.1.1 255.255.255.255
Router(config-if)#no shut

Step 2: Configuring IP address on Server.

Go to the Desktop tab and then to the IP 
Configuration and add the IP
address to be configured.

Step 3: Verifying Reachability from Router to Server.

Router#ping 10.0.0.2

Simulation: 

Using TFTP to back up Cisco Router Configuration:

Step 1: Checking the Server’s TFTP Service: 

Go to the Services Tab and then click 
on the TFTP tab available on the list.

“Here you will see all the previously stored files (by default) on the TFTP Server.”

Step 2: Copying the Router’s Configuration to our TFTP Server: 

Router#copy running-config tftp:
Address or name of remote host []? 10.0.0.2
Destination filename [Router-confg]? config_backup

Or (we can also copy the startup configuration of the device) using command: 

Router#copy startup-config tftp:

Step 3: Verifying if our Configuration File has been copied to the TFTP Server: 

Go to the Services Tab and then click on the 
TFTP tab to check if our Destination
filename is present on the list.

Step 4: Since our Configuration has been copied to our Server, let us now delete the configuration from the Router.

To delete Running Configuration: 

Router#reload

To delete Startup Configuration: 

Router#erase starup-config

Step 5: After the Router gets reloaded, connect it to the network it was previously in i.e., enter the IP address to its interface (also add the IP routes if there are different networks and if the Server is present in a different network) and then verify the reachability to the TFTP Server.

Step 6: Backup/Copy the stored Configuration file from the TFTP Server to the Router.

Router#copy tftp: running-config
Address or name of remote host []? 10.0.0.2
Source filename []? Config_backup
Destination filename [running-confg]? running-config

Let’s verify if our configuration has been back on our Router from the Server:

Router#show running-config 
| section interface

Verifying Reachability with Server:

Router#ping 10.0.0.2

Steps Involves in Cisco Router Configuration Backups

A backup of Configurations is required for troubleshooting the device when necessary, or if the device accidentally gets reset. These Backups are nothing but files (generally text files) stored separately on a Server which is a precautionary measure to protect against the system shutdown and is used to restore or update the configurations on the device making it functional again. There can be several methods to back up and restore Configurations, but we will be seeing the steps involved in Cisco Router Configuration Backup using two protocols: 

  1. TFTP (Trivial File Transfer Protocol)
  2. FTP (File Transfer Protocol)

Similar Reads

Setting up a Simple Lab Topology

Here, we will be using a single Router and a server with both TFTP and FTP protocols running. (The server can be found on the End Devices tab in CPT)....

Using FTP to back up Cisco Router Configuration:

Step 1: Checking the Server’s FTP Service:...