Configure FTP – File Transfer Protocol

Remote File Access – FTP

Lab Objective:

Learn how to save configurations using FTP.

Lab Purpose:

Any data which is not backed up, you risk losing. On corporate networks, you should have a detailed backup and recovery plan. You may well use SFTP or some other secure method. In this lab, we will back up your router configuration using File Transfer Protocol.

Lab Tool:

Packet Tracer

Lab Topology:

Please use the following topology to complete this lab exercise.

Lab Walkthough:

Task 1:

Connect a router to a server using a crossover cable.

Task 2:

Configure an IP address on your Ethernet interface on your router.


Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#interface f0/0

Router(config-if)#ip address

Router(config-if)#no shut


Task 3:

Configure an IP address on your server Ethernet interface. Set the default gateway to the router.

Task 4:

Ping the router from the server.

Task 5:

Router configurations are stored in NVRAM, but you need to save the live configuration there in order to populate it. Use the ‘copy run start’ command. Any values inside the [] are the default so just press the enter key.

Router#copy run start

Destination filename [startup-config]?

Building configuration…




Task 6:

Configure FTP credentials on the server. Use the username ‘101labs’ and password ‘hello.’ Tick all the access level boxes and then ‘Add.’

Task 7:

Add the FTP username and password to the router:

Router(config)#ip ftp username 101labs

Router(config)#ip ftp password hello

 Task 8:

Copy the router configuration to the FTP server. Rename the saved file to today’s date. If you had to copy it back, you would need to rename it to ‘Router-confg’ but don’t worry about that for now.

Router#copy startup-config ftp:

Address or name of remote host []?

Destination filename [Router-confg]? 7sept18


Writing startup-config…

[OK – 566 bytes]


Task 9:

Check that the file is on the FTP server. You will have to click on another service and back onto FTP because there is no refresh key.


Most backups can be identified by the name-date so you can pull back the relevant file.

The router startup configuration file contains all of your passwords and IP addresses and could amount to hundreds of lines of code. You wouldn’t want to lose it!

We have hands-on labs for Cisco, Linux, CompTIA, Ethical Hacking, IP Subnetting, Python, and more.

101 Labs Newsletter