1 00:00:00,580 --> 00:00:06,130 So let's back up the operating system of this router to a TFTP server, which I've got running on my 2 00:00:06,130 --> 00:00:13,090 local PC. I'm using the Free Solarwinds TFTP server and it's configured 3 00:00:14,480 --> 00:00:24,080 to use C TFTP route on my Windows PC for storing of files. At the moment, I don't have any router operating 4 00:00:24,080 --> 00:00:25,660 system stored in that directory. 5 00:00:26,740 --> 00:00:32,080 So let's back up this routers operating system to that directory. 6 00:00:33,120 --> 00:00:41,040 So Log-in, I mean, privilege mode, show flash shows me that I have 2 files in Flash. 7 00:00:42,290 --> 00:00:49,220 This is just a backup of the operating system stored in flash, which will overwrite in a separate 8 00:00:49,220 --> 00:00:49,670 video 9 00:00:50,730 --> 00:00:56,070 but let's copy this operating system to the TFTP server. 10 00:00:57,220 --> 00:01:02,740 Some recommended best practices before doing that is make sure that you have connectivity to the server 11 00:01:03,310 --> 00:01:10,270 and verify that the FTP server has enough disk space or sufficient disk space to receive the file. 12 00:01:11,110 --> 00:01:13,210 Cisco iOS files are often very small, 13 00:01:13,270 --> 00:01:16,360 this is about 15 meg, I have 14 00:01:17,610 --> 00:01:26,700 8 gig available on this hard drive, so I'm good for space. IP config shows me that this server as an 15 00:01:26,700 --> 00:01:29,770 IP address of 192.168.1.199. 16 00:01:30,480 --> 00:01:34,120 It also has a secondary IP address, which we won't use in this video. 17 00:01:34,950 --> 00:01:37,270 So this is the IP address of the TFTP server. 18 00:01:38,190 --> 00:01:41,290 Can the router ping the TFTP server? 19 00:01:41,910 --> 00:01:42,660 Yes, it can. 20 00:01:43,290 --> 00:01:51,570 So now let's copy a file from Flash to the TFTP server, 21 00:01:52,440 --> 00:01:54,190 so source, file, and flash. 22 00:01:54,690 --> 00:01:56,010 That's one way of doing it 23 00:01:56,010 --> 00:02:01,100 but you would need to remember what your file in flash is. 24 00:02:01,680 --> 00:02:03,150 So do the show flash 25 00:02:03,150 --> 00:02:12,390 command first and then copy the file name to the TFTP server or you can do it this way where you say copy 26 00:02:12,420 --> 00:02:13,110 flash 27 00:02:14,810 --> 00:02:18,820 and then press question mark, and that will give you various options. 28 00:02:18,860 --> 00:02:20,450 So I'm going to type C 29 00:02:21,390 --> 00:02:26,280 for this file name and press tab and then bin 30 00:02:27,380 --> 00:02:31,110 because that's the file we want to copy to the TFTP server. 31 00:02:31,820 --> 00:02:38,930 So either method will work, you can either just type copy, flash TFTP and then paste the file name 32 00:02:38,930 --> 00:02:45,710 in, or you can say copy flash:? which will give you a list of files to copy. 33 00:02:46,720 --> 00:02:51,970 Press enter IP address of TFTP server 192.168.1.199. 34 00:02:52,870 --> 00:02:55,910 What do we want to call the file on the TFTP server? 35 00:02:56,350 --> 00:02:58,870 I'm going to leave it at the default. 36 00:03:01,080 --> 00:03:09,030 We can see that the router has connected to the TFTP server and the file is being copied, when I refresh 37 00:03:09,030 --> 00:03:12,390 windows, we can see the file size increasing. 38 00:03:13,280 --> 00:03:21,290 So it's being copied to the TFTP server each one of these exclamation marks indicates that part of the 39 00:03:21,290 --> 00:03:24,830 file has been successfully copied to the TFTP server. 40 00:03:26,530 --> 00:03:33,730 Solarwinds TFTP servers showing us that the file is being put into the directory C TFTP route 41 00:03:33,970 --> 00:03:38,950 with the relevant filename, we can see the date and time that the file is being copied. 42 00:03:39,280 --> 00:03:44,070 So it's fairly late at the moment here in the UK while I'm doing this video. 43 00:03:47,050 --> 00:03:50,690 We can now see that the file was successfully copied. 44 00:03:50,710 --> 00:03:56,490 So we've got a complete message, the routers also telling us that so many bytes were copied in this 45 00:03:56,500 --> 00:04:01,860 amount of time and we could see the file in the directory on the TFTP server. 46 00:04:02,530 --> 00:04:07,030 So that's how you copy a file from Flesche to the TFTP server. 47 00:04:07,450 --> 00:04:13,690 In this case, we copied this operating system, which is operating system being used by the router, 48 00:04:14,320 --> 00:04:17,050 and we can see that by using the show version command. 49 00:04:18,089 --> 00:04:24,240 This is the system image file that's being used, and that's the file that we backed up to the TFTP 50 00:04:24,240 --> 00:04:24,670 server. 51 00:04:25,310 --> 00:04:31,530 It's a good practice to back up your operating systems to a TFTP server or FTP server. 52 00:04:32,070 --> 00:04:36,360 The problem with TFTP is that there is no authentication and there's no encryption. 53 00:04:36,870 --> 00:04:43,320 So you may want to use other mechanisms that are more secure, like secure copy to backup the operating 54 00:04:43,320 --> 00:04:45,660 systems and configurations of your devices.