Cisco Router IOS Backup to FTP Server in Cisco Packet Tracer

FTP stands for the file transfer protocol. We use an FTP server to store our data. FTP is a centralized location in an organization where all users store their data for daily purposes. We can also use an FTP server to store Cisco router IOS backup. So, whenever a network engineer or network administrator wants to restore the router backup, then he can restore it from the FTP server. Here in this lab, we will configure the FTP server for backup purposes. In this lab, we use a router that is directly connected to an FTP server. We will configure the router’s IP address and ensure that it falls within the same IP address range as the FTP server.

Router IOS Backup to a FTP Server:

Here is our lab topology, in which the router is directly connected to the FTP server:

Cisco router ios back up to a TFTP server

Configure 192.168.1.1/24 on the router Fast Ethernet 0/0 and no shutdown command as the next command to up its interface.

assign ip to router

Do some changes in the router configuration as its password and VTY lines

configure line vty

Click on the FTP server, then click on the Services tab, and at last click on FTP in the Services column on the left side to check the FTP setting:

FTP server

Creating username and password at FTP server. The username is user1, and the password is Cisco. Also, Tick the write, read, delete, rename, and list.

creating username and password

As we configured the FTP user and its password on the FTP server, so also created the same username and password on the router.

router ftp username

Save the running configuration of a router to a startup configuration in the router.

saving configuration

The next in the router is to copy the startup configuration to an FTP server in the below screenshot. We will back up our file by the name FTP-backup1. So, this file will be saved on the FTP server.

copy to tftp

As we ran the command copy startup-config ftp: on the router. So, we will check it on the FTP server.

Restore Backup from FTP Server:

Our file has been saved on the FTP server. So, in this step, we will delete the startup configuration on the router and restore it from the FTP server. To delete a startup configuration, we will use the erase command to delete it.

delete configuration

The configuration has been deleted, and there is no present startup-configuration file. So we will restore it from the FTP Server, which has the IP address 192.168.1.2.

restore from ftp

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *