TFTP server in packet tracer

To use TFTP server in packet tracer, we have to use end devices with TFTP server capabilities. In packet tracer both PC and server can be used as TFTP server.

In this lab we will configure TFTP server in Cisco packet tracer. Backing up Cisco configuration is very crucial. Many times when we are troubleshooting issues on Cisco devices, then we have to change the configuration on the devices and if in any case we have messed up something and we are not sure what we have done wrong, in that case we can use the backup configuration to bring back the device to the previous state.

Even for the experiment purpose if we want to erase both running config and startup config then we must take backup of both configuration.

There can be a time when the device get bad due to hardware fault and we are unable to power up the device, in that case, backup is most useful and we can just bring the new device and configure the device with the backed up configuration file in an instant, this practice immensely reduces the downtime due to hardware failures.

We will use TFTP server, which is provided in the Cisco packet tracer for the backup and save the running and startup config as text file.

After the successful transfer, we will see the file in the TFTP server.

We will also restore the configuration from the tftp server.

Task 1

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

When we use the copy command then the router will ask the IP of the remote host which is the IP address of the TFTP server.

By default router gives the name as Router name-config – In this lab the hostname of router is router so the desination file name by default is Router-config however we can give the name as per our wish, we have given running-config to the destination file, if you do not want to change the default name then just press enter.

Task 2

Router#copy tftp: running-config
Address or name of remote host []?
Source filename []? running-config
Destination filename [running-config]? (Press enter)

While coping running config from TFTP server to cisco device, we must keep the destination file name as default because device will only allow to use the default name and if we try to change the name, device will give and error [Invalid Argument]

Destination filename [running-config]? router-config

?Invalid argument

Task 3

Router#copy startup-config tftp:
Address or name of remote host []?
Destination filename [Router-confg]? startup-config (press enter)


Task 4

Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] (Press enter)


Task 5

Router#copy tftp: startup-config
Address or name of remote host []?
Source filename []? startup-config
Destination filename [startup-config]? (press enter)


Leave a Reply