So let's back up the operating system of this router to a TFTP server, which I've got running on my
local PC. I'm using the Free Solarwinds TFTP server and it's configured
to use C TFTP route on my Windows PC for storing of files. At the moment, I don't have any router operating
system stored in that directory.
So let's back up this routers operating system to that directory.
So Log-in, I mean, privilege mode, show flash shows me that I have 2 files in Flash.
This is just a backup of the operating system stored in flash, which will overwrite in a separate
video
but let's copy this operating system to the TFTP server.
Some recommended best practices before doing that is make sure that you have connectivity to the server
and verify that the FTP server has enough disk space or sufficient disk space to receive the file.
Cisco iOS files are often very small,
this is about 15 meg, I have
8 gig available on this hard drive, so I'm good for space. IP config shows me that this server as an
IP address of 192.168.1.199.
It also has a secondary IP address, which we won't use in this video.
So this is the IP address of the TFTP server.
Can the router ping the TFTP server?
Yes, it can.
So now let's copy a file from Flash to the TFTP server,
so source, file, and flash.
That's one way of doing it
but you would need to remember what your file in flash is.
So do the show flash
command first and then copy the file name to the TFTP server or you can do it this way where you say copy
flash
and then press question mark, and that will give you various options.
So I'm going to type C
for this file name and press tab and then bin
because that's the file we want to copy to the TFTP server.
So either method will work, you can either just type copy, flash TFTP and then paste the file name
in, or you can say copy flash:? which will give you a list of files to copy.
Press enter IP address of TFTP server 192.168.1.199.
What do we want to call the file on the TFTP server?
I'm going to leave it at the default.
We can see that the router has connected to the TFTP server and the file is being copied, when I refresh
windows, we can see the file size increasing.
So it's being copied to the TFTP server each one of these exclamation marks indicates that part of the
file has been successfully copied to the TFTP server.
Solarwinds TFTP servers showing us that the file is being put into the directory C TFTP route
with the relevant filename, we can see the date and time that the file is being copied.
So it's fairly late at the moment here in the UK while I'm doing this video.
We can now see that the file was successfully copied.
So we've got a complete message, the routers also telling us that so many bytes were copied in this
amount of time and we could see the file in the directory on the TFTP server.
So that's how you copy a file from Flesche to the TFTP server.
In this case, we copied this operating system, which is operating system being used by the router,
and we can see that by using the show version command.
This is the system image file that's being used, and that's the file that we backed up to the TFTP
server.
It's a good practice to back up your operating systems to a TFTP server or FTP server.
The problem with TFTP is that there is no authentication and there's no encryption.
So you may want to use other mechanisms that are more secure, like secure copy to backup the operating
systems and configurations of your devices.