{"id":155,"date":"2012-03-29T13:17:35","date_gmt":"2012-03-29T11:17:35","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=155"},"modified":"2012-03-29T13:17:35","modified_gmt":"2012-03-29T11:17:35","slug":"software-upgrade-procedure","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=155","title":{"rendered":"Software Upgrade Procedure"},"content":{"rendered":"<h2><a name=\"prereq\"><\/a>Prerequisites<\/h2>\n<h3><a name=\"req\"><\/a>Requirements<\/h3>\n<p>There are no specific requirements for this document.<\/p>\n<h3><a name=\"hw\"><\/a>Components Used<\/h3>\n<p>The information in this document is based on the Cisco IOS Software Release 12.0 or later.<\/p>\n<p>The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.<\/p>\n<h3><a name=\"conventions\"><\/a>Conventions<\/h3>\n<p>Refer to the <a href=\"http:\/\/www.cisco.com\/en\/US\/tech\/tk801\/tk36\/technologies_tech_note09186a0080121ac5.shtml\">Cisco Technical Tips Conventions<\/a> for more information on document conventions.<\/p>\n<h2><a name=\"backinfo\"><\/a>Background Information<\/h2>\n<p>Several protocols are available to copy the Cisco IOS image into the Cisco routers. The most commonly used protocol is TFTP. Other protocols include ftp, http, https, scp, and rcp. If necessary, you can copy an image from one device to another. For more information, refer to the <em>Copying From One Router to Another<\/em> section of the <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/hw\/routers\/ps233\/products_tech_note09186a00800a6744.shtml#copying_one_router\">How To Copy a System Image from One Device to Another<\/a> document.<\/p>\n<p>This section describes how to install a TFTP server, how to establish a console session with the router, and the router boot problems.<\/p>\n<h3><a name=\"install_tftp\"><\/a>Install a TFTP Server<\/h3>\n<p>A Trivial File Transfer Protocol (TFTP) server application must be installed on a TCP\/IP-ready workstation or PC. After the application is installed, you must perform a minimal level of configuration.<\/p>\n<ol type=\"1\">\n<li>Download a TFTP server. Refer to <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/hw\/routers\/ps133\/products_tech_note09186a00801f7735.shtml\">TFTP Server Selection and Use<\/a> for more information.<\/li>\n<li>Configure the TFTP application to operate as a TFTP <em>server<\/em> instead of a TFTP <em>client<\/em>.<\/li>\n<li>Specify the outbound file directory. This is the directory in which the Cisco IOS software images are stored. Most TFTP applications provide a setup routine in order to assist in these configuration tasks.<\/li>\n<\/ol>\n<h3><a name=\"cgc1\"><\/a>Establish a Console Session with the Router<\/h3>\n<p>Even if it is possible to connect to the router through a Telnet session, Cisco recommends that you connect directly to the router through the console port because, if something goes wrong during the upgrade, you might need to be physically present next to the router to power-cycle it. Moreover, the Telnet connection is lost while the router reboots during the upgrade procedure.<\/p>\n<p>A rolled cable, usually a flat black cable, connects the console port of the router to one of the COM ports of the PC.<\/p>\n<p>When the PC is connected to the console port of the router, open HyperTerminal on the PC, and use these settings:<\/p>\n<blockquote>\n<pre>Speed 9600 bits per second\r\n\r\n     8 databits\r\n\r\n     0 parity bits\r\n\r\n     1 stop bit\r\n\r\n     No Flow Control<\/pre>\n<\/blockquote>\n<p>If garbage characters appear in the HyperTerminal session, either you have not set the HyperTerminal properties properly or the config-register of the router is set to a non-standard value for which the console connection speed is higher than 9600 bps. In order to check the value of the config-register, issue the <strong>show version<\/strong> command. The config-register values appears in the last line of the output. Verify that this value is set to 0x2102 or 0x102.<\/p>\n<p><strong>Note:\u00a0<\/strong>In order for a configuration register change to take effect, you must reload the router.<\/p>\n<p>When you are sure that the console speed is set to 9600 bps on the router side, you should check the HyperTerminal properties. Refer to <a href=\"http:\/\/www.cisco.com\/en\/US\/tech\/tk801\/tk36\/technologies_tech_note09186a0080094465.shtml\">Applying Correct Terminal Emulator Settings for Console Connections<\/a> for more information on how to set the HyperTerminal properties.<\/p>\n<h3><a name=\"bp\"><\/a>Router Boot Problems<\/h3>\n<p>When you are connected to the console port of the router, you might notice that the router is either in ROMmon or Boot mode. These two modes are used for recovery and diagnostic procedures. If you do not see the usual router prompt, you should use these recommendations in order to proceed with the upgrade procedure installation:<\/p>\n<ul>\n<li>The router boots in ROMmon mode, and this message appears when you issue the <strong>dir flash:<\/strong> command:<br \/>\n<blockquote>\n<pre>rommon 1 &gt;<strong>dir flash:<\/strong> \r\ndevice does not contain a valid magic number \r\ndir: cannot open device \"flash:\" \r\nrommon 2 &gt;<\/pre>\n<\/blockquote>\n<p>This error message displays when the Flash is empty or the filesystem is corrupted. Refer to <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/hw\/routers\/ps259\/products_tech_note09186a008015bfac.shtml\">Xmodem Console Download Procedure Using ROMmon<\/a> for more information.<\/p>\n<p><strong>Note:\u00a0<\/strong>You might also need to consult the Boot Failure procedures specific to your platform. Choose your platform from the <a href=\"http:\/\/www.cisco.com\/cisco\/web\/psa\/default.html?mode=prod\">Product Support Selector<\/a> in order to locate these procedures. Look in the Troubleshooting section of each document.<\/li>\n<li>The router boots in boot mode with these messages on the console:<br \/>\n<blockquote>\n<pre>router(boot)&gt;\r\ndevice does not contain a valid magic number\r\nboot: cannot open \"flash:\"\r\nboot: cannot determine first file name on device \"flash:\"<\/pre>\n<\/blockquote>\n<p>These error messages display in the console output when the Flash is empty or when the file system is corrupted. Copy a valid image on the Flash as described in the procedures provided in this document.<\/p>\n<p><strong>Note:\u00a0<\/strong>You might also need to consult the Boot Failure procedures specific to your platform. Choose your platform from the <a href=\"http:\/\/www.cisco.com\/cisco\/web\/psa\/default.html?mode=prod\">Product Support Selector<\/a> in order to locate these procedures. Look in the Troubleshooting section of each document.<\/li>\n<\/ul>\n<h2><a name=\"topic1\"><\/a>Software Installation and Upgrade Procedures<\/h2>\n<p>This section covers these topics:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step1\">Step 1: Select a Cisco IOS Software Image<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step2\">Step 2: Download the Cisco IOS Software Image to the TFTP Server<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step3\">Step 3: Identify the Router File System to Copy the Image<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step4\">Step 4: Prepare for the Upgrade<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step5\">Step 5: Verify that the TFTP Server has IP Connectivity to the Router<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step6\">Step 6: Copy the IOS image to the Router<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step7\">Step 7: Verify the Cisco IOS Image in the File System<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step8\">Step 8: Verify the Configuration Register<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step9\">Step 9: Verify the Boot Variable<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step10\">Step 10: Save the Configuration and Reload the Router<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#step11\">Step 11: Verify the Cisco IOS Upgrade<\/a><\/li>\n<\/ul>\n<h3><a name=\"step1\"><\/a>Step 1: Select a Cisco IOS Software Image<\/h3>\n<p>Your first step in the upgrade procedure is to select the correct Cisco IOS software release and feature set. This step is very important, and these factors can affect the decision for which Cisco IOS you should select:<\/p>\n<ul>\n<li><strong>Memory requirement:<\/strong> The router should have sufficient disk or flash memory to store the Cisco IOS. The router should also have sufficient memory (DRAM) to run the Cisco IOS. If the router does not have sufficient memory (DRAM), the router will have boot problems when it boots through the new Cisco IOS.<\/li>\n<li><strong>Interfaces and modules support:<\/strong> You must ensure that the new Cisco IOS supports all the interfaces and modules in the router.<\/li>\n<li><strong>Software feature support:<\/strong> You must ensure that the new Cisco IOS supports the features used with the old Cisco IOS.<\/li>\n<\/ul>\n<p>Refer to <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/sw\/iosswrel\/ps1834\/products_tech_note09186a00800fb9d9.shtml\">How to Choose a Cisco IOS Software Release<\/a> for information on how to select the correct software version and feature set.<\/p>\n<h3><a name=\"step2\"><\/a>Step 2: Download the Cisco IOS Software Image to the TFTP Server<\/h3>\n<p>Download the Cisco IOS Software image onto your workstation or PC from the <a href=\"http:\/\/www.cisco.com\/cisco\/web\/download\/index.html\">Download Software Area<\/a> (<a href=\"http:\/\/tools.cisco.com\/RPF\/register\/register.do\">registered<\/a> customers only) .<\/p>\n<h3><a name=\"step3\"><\/a>Step 3: Identify the File System to Copy the Image<\/h3>\n<p>The file system type &#8222;flash&#8220; or &#8222;disk&#8220; is used to store the Cisco IOS image. The <strong>show file system<\/strong> command output shows the list of file systems available on the router. The common &#8222;disk\/flash&#8220; file systems supported in Cisco routers have prefixes such as flash:, slot0:, slot1:, disk0: and disk1:. It should have sufficient space to store the Cisco IOS image. You can use the <strong>show file system<\/strong> or the <strong>dir file_system<\/strong> command in order to find the free space.<\/p>\n<blockquote>\n<pre>2600#<strong>show file system<\/strong>\r\nFile Systems:\r\n\r\n     Size(b)     Free(b)      Type  Flags  Prefixes\r\n           -           -    opaque     rw   archive:\r\n           -           -    opaque     rw   system:\r\n       29688       20571     nvram     rw   nvram:\r\n           -           -    opaque     rw   null:\r\n           -           -   network     rw   tftp:\r\n           -           -    opaque     ro   xmodem:\r\n           -           -    opaque     ro   ymodem:\r\n<strong>* 49807356 20152636 flash rw flash:<\/strong>\r\n           -           -    opaque     wo   syslog:<\/pre>\n<\/blockquote>\n<blockquote>\n<pre>2800#<strong>show file system<\/strong>\r\nFile Systems:\r\n\r\n     Size(b)     Free(b)      Type  Flags  Prefixes\r\n           -           -    opaque     rw   archive:\r\n           -           -    opaque     rw   system:\r\n           -           -    opaque     rw   null:\r\n           -           -   network     rw   tftp:\r\n           -           -    opaque     ro   xmodem:\r\n           -           -    opaque     ro   ymodem:\r\n<strong>* 64016384 15470592 disk rw flash:#<\/strong>\r\n      245752      239218     nvram     rw   nvram:\r\n           -           -    opaque     wo   syslog:<\/pre>\n<\/blockquote>\n<blockquote>\n<pre>3600#<strong>show file system<\/strong>\r\nFile Systems:\r\n\r\n     Size(b)     Free(b)      Type  Flags  Prefixes\r\n           -           -    opaque     rw   archive:\r\n           -           -    opaque     rw   system:\r\n      129016      126071     nvram     rw   nvram:\r\n           -           -    opaque     rw   null:\r\n           -           -   network     rw   tftp:\r\n<strong>* 33030140 20511708 flash rw flash:<\/strong>\r\n <strong> 16777212 16777212 flash rw slot0:<\/strong>\r\n    <strong>16515068 8038516 flash rw slot1:<\/strong>\r\n           -           -    opaque     rw   xmodem:\r\n           -           -    opaque     rw   ymodem:<\/pre>\n<\/blockquote>\n<blockquote>\n<pre>3700#<strong>show file system<\/strong>\r\nFile Systems:\r\n\r\n     Size(b)     Free(b)      Type  Flags  Prefixes\r\n           -           -    opaque     rw   archive:\r\n           -           -    opaque     rw   system:\r\n       57336       51389     nvram     rw   nvram:\r\n           -           -    opaque     rw   null:\r\n           -           -   network     rw   tftp:\r\n           -           -    opaque     ro   xmodem:\r\n           -           -    opaque     ro   ymodem:\r\n<strong>* 63881216 22765568 disk rw flash:#<\/strong>\r\n    <strong>31932416 31932416 disk rw slot0:#<\/strong>\r\n           -           -    opaque     wo   syslog:<\/pre>\n<\/blockquote>\n<h3><a name=\"step4\"><\/a>Step 4: Prepare for the Upgrade<\/h3>\n<p>You should consider these items before you upgrade the Cisco IOS:<\/p>\n<ul>\n<li>If the router has sufficient memory (flash, slot or disk), you can store both the old Cisco IOS and the new Cisco IOS. You can boot the router in the ROMMON mode and boot the old Cisco IOS in case of boot failure with new Cisco IOS. This method saves time if you must roll back the Cisco IOS.<\/li>\n<li>Backup the configuration from the router because some of the Cisco IOS releases add default configurations. This newly added configuration may conflict with your current configuration. Compare the configuration of the router after the Cisco IOS upgrade with the configuration backed up before the upgrade. If there are differences in the configuration, you must ensure they do not affect your requirements.<\/li>\n<\/ul>\n<h3><a name=\"step5\"><\/a>Step 5: Verify that the TFTP Server has IP Connectivity to the Router<\/h3>\n<p>The TFTP server must have a network connection to the router and must be able to ping the IP address of the router targeted for a TFTP software upgrade. In order to achieve this connection, the router interface and the TFTP server must have an IP address in the same range or a default gateway configured.<\/p>\n<p>Check the IP address of the TFTP server in order to verify this configuration.<\/p>\n<h3><a name=\"step6\"><\/a>Step 6: Copy IOS Image to the Router<\/h3>\n<p>Now that you have IP connectivity and can ping between the computer that acts as a TFTP server and the router, you can copy the Cisco IOS Software image into the Flash.<\/p>\n<p><strong>Note:\u00a0<\/strong>Before you copy the image, ensure that you have started the TFTP server software on your PC, and that you have the file name mentioned in the TFTP server root directory. Cisco recommends that you keep a backup of the router and access server configuration before you upgrade. The upgrade does not affect the configuration, which is stored in nonvolatile RAM [NVRAM]. However, this situation might happen if the right steps are not followed properly.<\/p>\n<p><strong>Note:\u00a0<\/strong> In this section you are presented with three examples that describe how to copy the Cisco IOS image. You can use any one of these methods in order to copy the image.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#example1\">Example 1: Copy the image to flash: from TFTP server<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#example2\">Example 2: Copy the image to slot1: from TFTP server<\/a><\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml#example3\">Example 3: Copy the IOS image to flash: from another router<\/a><\/li>\n<\/ul>\n<h4><a name=\"example1\"><\/a>Example 1: Copy the image to flash: from TFTP server<\/h4>\n<p>Upgrade the new image from a TFTP server. Use the <strong>copy tftp: flash:<\/strong> command in order to copy the image from TFTP server to the flash.<\/p>\n<blockquote>\n<pre>2600&gt;<strong>enable<\/strong>\r\nPassword:xxxxx \r\n2600#<strong>copy tftp: flash:<\/strong>\r\nAddress or name of remote host []? <strong>10.10.10.2<\/strong>\r\n<em> <span style=\"color: #0000ff;\">!--- 10.10.10.2 is the IP address of the TFTP server<\/span> <\/em>\r\nSource filename []? <strong>c2600-adventerprisek9-mz.124-12.bin<\/strong>\r\nDestination filename [c2600-adventerprisek9-mz.124-12.bin]?y \r\nAccessing tftp:\/\/10.10.10.2\/c2600-adventerprisek9-mz.124-12.bin...\r\n<strong>Erase flash: before copying? [confirm]y<\/strong> \r\n<em> <span style=\"color: #0000ff;\">!--- If there is not enough memory available, erase the Flash.<\/span> <\/em>\r\n<em> <span style=\"color: #0000ff;\">!--- If you have sufficient memory you can type n and press enter<\/span> <\/em>\r\n<strong>Erasing the flash filesystem will remove all files! Continue? [confirm]y Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeee ...erased Erase of flash: complete<\/strong>\r\nLoading c2600-adventerprisek9-mz.124-12.bin from 10.10.10.2 (via Ethernet0\/0): !!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n[OK - 29654656\/49807356 bytes]\r\n\r\nVerifying checksum...  OK (0xAC8A)\r\n29654656 bytes copied in 56.88 secs (80383 bytes\/sec)<\/pre>\n<\/blockquote>\n<p>The copy process takes several minutes. This time differs from network to network. When the copy process is in progress, messages are displayed that indicate which file has been accessed.<\/p>\n<p>The exclamation point &#8222;!&#8220; indicates that the copy process is in progress. Each exclamation point indicates that ten packets have transferred successfully. A checksum verification of the image occurs after the image is written to Flash memory.<\/p>\n<h4><a name=\"example2\"><\/a>Example 2: Copy the image to slot1: from TFTP server<\/h4>\n<p>Upgrade the new image from a TFTP server. If you choose the slot1: file systems, use the <strong>copy tftp: slot1:<\/strong> command in order to copy the image from TFTP server to slot1.<\/p>\n<blockquote>\n<pre>3600#<strong>copy tftp: slot1:<\/strong>\r\nAddress or name of remote host []? <strong>171.68.173.10<\/strong>\r\n<em> <span style=\"color: #0000ff;\">!--- 171.68.173.10 is the IP address of the TFTP server<\/span> <\/em>\r\nSource filename []? <strong>c3640-i-mz.122-7b.bin<\/strong>\r\nDestination filename [c3640-i-mz.122-7b.bin]?\r\nAccessing tftp:\/\/171.68.173.10\/c3640-i-mz.122-7b.bin...\r\nErase slot1: before copying? [confirm]<strong>n<\/strong> \r\n<em> <span style=\"color: #0000ff;\">!--- You specify \"n\" because there is enough memory available.<\/span> <\/em>\r\nLoading c3640-i-mz.122-7b.bin from 171.68.173.10 (via Ethernet1\/0): \r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n!!!!!!!!!\r\n[OK - 5996844\/11993088 bytes]\r\n\r\nVerifying checksum...  OK (0x13F0)\r\n5996844 bytes copied in 67.708 secs (89505 bytes\/sec)\r\n3600#<\/pre>\n<\/blockquote>\n<p>The copy process takes several minutes. This time differs from network to network. When the copy process is in progress, messages are displayed that indicate which file has been accessed.<\/p>\n<p>The exclamation point &#8222;!&#8220; indicates that the copy process is in progress. Each exclamation point indicates that ten packets have transferred successfully. A checksum verification of the image occurs after the image is written to Flash memory.<\/p>\n<h4><a name=\"example3\"><\/a>Example 3: Copy the IOS image to flash: from another router<\/h4>\n<p>You can configure a router as TFTP server. If you choose the flash: file systems, use the <strong>copy tftp: flash:<\/strong> command in order to copy the image from TFTP server to flash.<\/p>\n<blockquote>\n<pre>Router-tftp(config)#<strong>tftp-server flash:c7200-a3js-mz.122-15.T16.bin <\/strong>\r\n<em> <span style=\"color: #0000ff;\">!--- Router-tftp is configured as the TFTP server.<\/span> <\/em><\/pre>\n<\/blockquote>\n<blockquote>\n<pre>7200#<strong>copy tftp: flash:<\/strong>\r\nAddress or name of remote host []? 172.22.1.84\r\nSource filename []? c7200-a3js-mz.122-15.T16.bin\r\nDestination filename [c7200-a3js-mz.122-15.T16.bin]?\r\nAccessing tftp:\/\/172.22.1.84\/c7200-a3js-mz.122-15.T16.bin...\r\nErase flash: before copying? [confirm]n\r\nLoading c7200-a3js-mz.122-15.T16.bin from 172.22.1.84 (via GigabitEthernet0\/1):\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n[OK - 19187152 bytes]\r\n\r\nVerifying checksum...  OK (0x15C1)\r\n19187152 bytes copied in 482.920 secs (39732 bytes\/sec)<\/pre>\n<\/blockquote>\n<h3><a name=\"step7\"><\/a>Step 7: Verify the Cisco IOS Image in the File System<\/h3>\n<p>Verify the image in the file system.<\/p>\n<blockquote>\n<pre>2600#<strong>dir flash: <\/strong>\r\nDirectory of flash:\/\r\n\r\n    1  -rw-    29654656                    &lt;no date&gt;  c2600-adventerprisek9-mz.1\r\n24-12.bin\r\n\r\n49807356 bytes total (20152636 bytes free)<\/pre>\n<\/blockquote>\n<blockquote>\n<pre>2600#<strong>verify flash:c2600-adventerprisek9-mz.124-12.bin <\/strong>\r\nVerifying file integrity of flash:c2600-adventerprisek9-mz.124-12.bin...........\r\n................................................................................\r\n\r\n................................................................................\r\n.............................Done!\r\nEmbedded Hash   MD5 : 1988B2EC9AFAF1EBD0631D4F6807C295\r\nComputed Hash   MD5 : 1988B2EC9AFAF1EBD0631D4F6807C295\r\nCCO Hash        MD5 : 141A677E6E172145245CCAC94674095A\r\n\r\nSignature Verified\r\nVerified flash:c2600-adventerprisek9-mz.124-12.bin<\/pre>\n<\/blockquote>\n<p>Refer to <a href=\"http:\/\/www.cisco.com\/en\/US\/docs\/ios\/system\/messages\/guide\/consol_smg.html\">System Message Guide<\/a> for information about different %SIGNATURE error messages and the necessary action to be taken.<\/p>\n<h3><a name=\"step8\"><\/a>Step 8: Verify the Configuration Register<\/h3>\n<p><strong>config-register value<\/strong>\u2014Use the <strong>show version<\/strong> command in order to check this value. The value is displayed in the last line of the <strong>show version<\/strong> output. It should be set to 0x2102.<\/p>\n<blockquote>\n<pre>2600#<strong>configure terminal<\/strong>\r\nEnter configuration commands, one per line.  End with CNTL\/Z. \r\n2600(config)#<strong>config-register 0x2102<\/strong> \r\n2600(config)#<strong>^Z<\/strong><\/pre>\n<\/blockquote>\n<h3><a name=\"step9\"><\/a>Step 9: Verify the Boot Variable<\/h3>\n<p><strong>IOS image in the flash<\/strong>\u2014If the first file in the Flash is not the Cisco IOS Software image, but a configuration file, or something else, then you need to configure a <strong>boot system<\/strong> statement in order to boot the specified image. Otherwise, the router tries to boot with the configuration file or the first file in the Flash, which does not work. If there is only one file in the Flash and it is the Cisco IOS Software image, this step is not necessary.<\/p>\n<blockquote>\n<pre>2600#<strong>show run | include boot<\/strong>\r\nboot system flash:c2600-adventerprisek9-mz.123-21.bin\r\n\r\n2600#<strong>configure terminal<\/strong>\r\nEnter configuration commands, one per line.  End with CNTL\/Z. \r\n2600(config)#<strong>no boot system<\/strong>\r\n2600(config)#<strong>boot system flash:c2600-adventerprisek9-mz.124-12.bin<\/strong>\r\n2600(config)#<strong>^Z<\/strong><\/pre>\n<\/blockquote>\n<p><strong>IOS image in the slot1<\/strong>\u2014The boot variable that points to the old Cisco IOS needs to be removed first, and then the router needs to be configured to boot through the new Cisco IOS.<\/p>\n<blockquote>\n<pre> 3600# <strong>show run | include boot<\/strong>\r\nboot system slot1:c3640-i-mz.120-22.bin\r\n\r\n3600#<strong>configure terminal<\/strong>\r\nEnter configuration commands, one per line.  End with CNTL\/Z. \r\n3600(config)#<strong>no boot system<\/strong>\r\n3600(config)#<strong>boot system slot1:c3640-i-mz.122-7b.bin<\/strong>\r\n3600(config)#<strong>^Z<\/strong><\/pre>\n<\/blockquote>\n<h3><a name=\"step10\"><\/a>Step 10: Save the Configuration and Reload the Router<\/h3>\n<p>Save the configuration, and reload the Router.<\/p>\n<blockquote>\n<pre>2600# <strong>write memory<\/strong>\r\n2610# <strong>reload<\/strong>\r\nProceed with reload? [confirm]\r\nJan 24 20:17:07.787: %SYS-5-RELOAD: Reload requested by console. Reload Reason:\r\nReload Command.<\/pre>\n<\/blockquote>\n<h3><a name=\"step11\"><\/a>Step 11: Verify the Cisco IOS Upgrade<\/h3>\n<p>Verify that the router runs with the proper image.<\/p>\n<p>After the reload is complete, the router should run the desired Cisco IOS Software image. Use the <strong>show version<\/strong> command in order to verify the Cisco IOS software.<\/p>\n<blockquote>\n<pre>2600#<strong>show version<\/strong>\r\n00:22:25: %SYS-5-CONFIG_I: Configured from console by console\r\nCisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), <strong>Version 12.4(12)<\/strong>,\r\nRELEASE SOFTWARE (fc1)\r\nTechnical Support: http:\/\/www.cisco.com\/techsupport\r\nCopyright (c) 1986-2006 by Cisco Systems, Inc.\r\nCompiled Fri 17-Nov-06 11:18 by prod_rel_team\r\n\r\nROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)\r\n\r\n2610 uptime is 22 minutes\r\nSystem returned to ROM by reload\r\nSystem image file is \"<strong>flash:c2600-adventerprisek9-mz.124-12.bin<\/strong>\"<\/pre>\n<\/blockquote>\n<p>Here is the <strong>show version<\/strong> output of 3600 router that has Cisco IOS in the slot1:<\/p>\n<blockquote>\n<pre>3600#<strong>show version<\/strong>\r\nCisco Internetwork Operating System Software\r\nIOS (tm) 3600 Software (C3640-I-M), <strong>Version 12.2(7b)<\/strong>, RELEASE SOFTWARE (fc1)\r\nCopyright (c) 1986-2002 by cisco Systems, Inc.\r\nCompiled Mon 04-Mar-02 20:23 by pwade\r\nImage text-base: 0x600089A8, data-base: 0x60A6A000\r\n\r\nROM: System Bootstrap, Version 11.1(19)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (f)\r\n\r\nRouter uptime is 2 minutes\r\nSystem returned to ROM by reload\r\nSystem image file is <strong>\"slot1:c3640-i-mz.122-7b.bin\"<\/strong>\r\n\r\ncisco 3640 (R4700) processor (revision 0x00) with 59392K\/6144K bytes of memory.\r\n\r\nProcessor board ID 10524422\r\nR4700 CPU at 100Mhz, Implementation 33, Rev 1.0\r\nBridging software.\r\nX.25 software, Version 3.0.0.\r\n4 Ethernet\/IEEE 802.3 interface(s)\r\nDRAM configuration is 64 bits wide with parity disabled.\r\n125K bytes of non-volatile configuration memory.\r\n4096K bytes of processor board System flash (Read\/Write)\r\n20480K bytes of processor board PCMCIA Slot0 flash (Read\/Write)\r\n20480K bytes of processor board PCMCIA Slot1 flash (Read\/Write)\r\n\r\nConfiguration register is <strong>0x2102<\/strong><\/pre>\n<pre>[QUELLE: <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml\">http:\/\/www.cisco.com\/en\/US\/products\/ps5855\/products_tech_note09186a00801fc986.shtml<\/a>]<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Prerequisites Requirements There are no specific requirements for this document. Components Used The information in this document is based on the Cisco IOS Software Release 12.0 or later. The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=155"}],"version-history":[{"count":2,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/155\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}