1 00:00:00,680 --> 00:00:08,600 Cisco constantly releasing new versions of the Cisco iOS, which include new features as well as resolve 2 00:00:08,600 --> 00:00:11,480 issues such as bugs in the iOS. 3 00:00:12,260 --> 00:00:15,290 In this video, we'll look at upgrading Cisco iOS images 4 00:00:16,190 --> 00:00:23,450 the high-level steps are that you firstly need to select and download the correct iOS image for your 5 00:00:23,450 --> 00:00:23,930 router. 6 00:00:25,040 --> 00:00:32,030 You then need to verify connectivity to your TFTP server where you've downloaded and stored the new iOS 7 00:00:32,030 --> 00:00:32,420 image. 8 00:00:33,410 --> 00:00:40,520 You should verify that your router has sufficient flash memory space for the new iOS image, and then you 9 00:00:40,520 --> 00:00:49,010 copy the iOS file from the TFTP server to the router, you then configure the router to boot using the 10 00:00:49,010 --> 00:00:58,550 new Cisco iOS image and then lastly, reload the router so that it reboots and loads the new iOS image 11 00:00:58,550 --> 00:00:59,390 into memory. 12 00:01:00,960 --> 00:01:07,500 In this example, I've got an 1841 router, so show version shows me the platform. 13 00:01:08,680 --> 00:01:12,920 We are running currently the Cisco iOS 1841 software 14 00:01:13,600 --> 00:01:17,030 so this is the current release and version of software that we're running. 15 00:01:17,890 --> 00:01:20,770 This is the boot ROM operating system version 16 00:01:22,370 --> 00:01:29,870 and once again, this is a Cisco 1841 router. So on the Cisco website, I've gone to support and downloads 17 00:01:30,560 --> 00:01:34,940 and I'm going to select 1841 Integrated Services Router. 18 00:01:35,750 --> 00:01:37,550 I'm going to select software on Chassis 19 00:01:37,880 --> 00:01:45,140 and in this example, I'm going to look at Cisco IOS images rather than ROM monitor or other operating 20 00:01:45,140 --> 00:01:45,680 systems 21 00:01:46,580 --> 00:01:51,960 and what you need to do now is download the relevant version of iOS. 22 00:01:52,700 --> 00:02:00,080 Now it's important that the D RAM and Flash B large enough for the operating system that you're 23 00:02:00,080 --> 00:02:00,770 downloading. 24 00:02:01,760 --> 00:02:07,760 This router has this amount of memory, so you need to add those two together. 25 00:02:08,759 --> 00:02:12,720 So that's this amount plus this amount 26 00:02:15,590 --> 00:02:18,110 which gives us about 130 meg of RAM. 27 00:02:19,720 --> 00:02:28,540 We've got about 62 meg of flash, so my router would not be able to use this version of operating system 28 00:02:28,960 --> 00:02:35,320 because the RAM and Flash requirements are greater than what this router currently has installed. 29 00:02:35,860 --> 00:02:45,040 So very importantly, make sure that your router can support both the DRAM and flash requirements 30 00:02:45,430 --> 00:02:49,120 of any new operating system that you download from Cisco. 31 00:02:50,480 --> 00:02:55,280 So click on the download link to download the operating system, you need to login and make sure that 32 00:02:55,280 --> 00:02:56,570 you have a service contract. 33 00:02:57,380 --> 00:03:03,950 So do that and then download the operating system to your local PC. 34 00:03:05,050 --> 00:03:09,140 In my example, I'm going to use this operating system, which I've already downloaded. 35 00:03:10,650 --> 00:03:16,230 You're going to want to make sure that your router has enough Flash space for the new image that you're 36 00:03:16,230 --> 00:03:24,300 downloading. So use the command show flash to ensure that the amount of available space is enough for 37 00:03:24,300 --> 00:03:29,920 the image that you want to copy to flash. On my example, I've already copied this image. 38 00:03:30,690 --> 00:03:37,380 The image is only 15 meg in size and I have enough space in Flash to copy another version of this image 39 00:03:37,380 --> 00:03:40,920 or a different image into the flash of the router. 40 00:03:42,680 --> 00:03:46,250 At the moment, this router is using this operating system 41 00:03:47,270 --> 00:03:55,040 12.4-2.T4 that can be seen in the Flash of the router, so this is the image that's being used. 42 00:03:55,520 --> 00:04:00,920 Let's pretend that we are going to upgrade the router to a newer version, even though it's the 43 00:04:00,920 --> 00:04:01,370 same. 44 00:04:01,610 --> 00:04:02,960 I'll show you the full process. 45 00:04:03,740 --> 00:04:12,260 So what you would do is download the relevant operating system from Cisco and put it in your TFTP servers 46 00:04:12,260 --> 00:04:13,040 directory. 47 00:04:14,490 --> 00:04:20,709 In this example, I'm using solarwinds and this is the directory that the TFTP server is pointing to. 48 00:04:21,510 --> 00:04:25,800 So you would type copy in this example, TFTP 49 00:04:26,840 --> 00:04:27,530 Flash 50 00:04:28,890 --> 00:04:29,580 press enter. 51 00:04:30,830 --> 00:04:33,350 What is the IP address of the TFTP server? 52 00:04:34,460 --> 00:04:37,410 So in my example, it's 192.168.1.199. 53 00:04:38,270 --> 00:04:40,270 What is the source file that we want to copy? 54 00:04:41,030 --> 00:04:47,020 So that file make sure that you put the bin extension in the file name. 55 00:04:47,870 --> 00:04:50,900 What is the destination file name in this example? 56 00:04:50,900 --> 00:04:52,550 I'll make it file 2. 57 00:04:53,480 --> 00:04:56,400 We are warned that that file already exists. 58 00:04:56,420 --> 00:05:02,930 Do we want to override it? And in this example, I'm going to override it so that file will be overridden 59 00:05:03,260 --> 00:05:07,850 with this new file that's copied down from the TFTP server. 60 00:05:09,000 --> 00:05:14,220 So we can see some messages on the TFTP servers stating that the file has been fetched, so there's a get 61 00:05:14,220 --> 00:05:14,790 message. 62 00:05:15,650 --> 00:05:21,030 We can see the file being copied down to the router from the TFTP server. 63 00:05:21,860 --> 00:05:32,510 That'll take a while and the length of time depends on how large the iOS file is and what kind of connection 64 00:05:32,510 --> 00:05:36,380 you've got between the TFTP server and the router. 65 00:05:36,770 --> 00:05:42,670 If you're doing this across a WAN or wide area network, as an example, it could take a lot longer. 66 00:05:43,370 --> 00:05:49,600 Now, in that example, there was a problem where part of the file wasn't successfully copied, but 67 00:05:49,610 --> 00:05:57,710 here it won't be a problem, even though we're using TFTP because the TFTP protocol has retransmissions 68 00:05:58,430 --> 00:06:01,550 and checks of files received. 69 00:06:01,760 --> 00:06:08,840 So even though user datagram protocol or UDP is being used, the TFTP protocol ensures that the full file 70 00:06:08,840 --> 00:06:09,470 is copied 71 00:06:10,280 --> 00:06:17,550 and we can see that we had a check of the file that succeeded so the file was copied successfully. 72 00:06:18,380 --> 00:06:26,360 So once again, in Flash, this is the file that we've copied down and now we can tell the router to 73 00:06:26,360 --> 00:06:35,330 boot the system from the flash and the file that we're going to use is this new file. 74 00:06:36,490 --> 00:06:43,950 So I've added that command to the running-config once again at the moment, it's not using that file, 75 00:06:44,350 --> 00:06:46,450 it's using this file 76 00:06:46,630 --> 00:06:48,340 so T4.bin 77 00:06:50,150 --> 00:06:59,690 but we have now told the router to use T4_2 so it's a different file to the original file 78 00:06:59,690 --> 00:07:00,890 that the router is using. 79 00:07:01,550 --> 00:07:06,000 So I'll save the configuration and then I'll reload the roster. 80 00:07:06,650 --> 00:07:14,150 So when the router boots now it will use this new file rather than the previous file as the operating 81 00:07:14,150 --> 00:07:16,580 system that's loaded into memory. 82 00:07:17,480 --> 00:07:21,890 I'll speed up the boot process in the video to save you the time of watching the router boot up. 83 00:07:28,040 --> 00:07:32,000 OK, so router is booted up, I'll press enter to continue, 84 00:07:34,310 --> 00:07:35,840 put in my relevant password, 85 00:07:37,760 --> 00:07:38,810 show version, 86 00:07:41,050 --> 00:07:48,790 shows us now that it's using the T4_2.bin file, so it's now using the new operating system 87 00:07:48,790 --> 00:07:51,740 that we downloaded from the TFTP server. 88 00:07:52,540 --> 00:07:58,080 It's not using the original file that we had in flash, 89 00:07:58,600 --> 00:08:01,930 it's using this file rather than this file.