Search

How to upgrade or install IOS from Trivial File Transfer Protocol (TFTP) Server

To upgrade or install an IOS from a Trivial File Transfer Protocol (TFTP) server, you must have a TFTP server running with the suitable IOS file in root folder of the TFTP server. Click the following links if you are not familiar with Trivial File Transfer Protocol (TFTP) server.

What is Trivial File Transfer Protocol (TFTP)

How to install Solarwinds Trivial File Transfer Protocol (TFTP) Server

How to configure Solarwinds Trivial File Transfer Protocol (TFTP) Server to backup IOS and configuration files

Make sure that you can reach the TFTP server by pinging to it.

To install IOS from TFTP server, follow these steps.

1) If you want a fresh install, erase the contents of the flash memory using the "erase" command as shown below.

OmniSecuRouter01#erase flash
Erasing the flash filesystem will remove all files! Continue? [confirm]y
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
<outout omitted>
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erasedee
Erase of flash: complete

2) Copy an IOS file from TFTP server to flash memory. Make sure that you have the IOS file available in the root of the TFTP server.

To copy an IOS file from TFTP server to the flash memory, use the following command from privilege mode.

                  
OmniSecuRouter01#copy tftp flash
Address or name of remote host [192.168.100.10]?
Source filename [C2600-Adventerprisek9-Mz_124-2_T.bin]?
Destination filename [C2600-Adventerprisek9-Mz_124-2_T.bin]?
Accessing tftp://192.168.100.10/C2600-Adventerprisek9-Mz_124-2_T.bin...
Erase flash: before copying? [confirm]y
Erasing the flash filesystem will remove all files! Continue? [confirm]y
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  <output omitted>
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...erased
Erase of flash: complete
Loading C2600-Adventerprisek9-Mz_124-2_T.bin from 192.168.100.10 (via FastEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  <output omitted>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 29771296 bytes]
Verifying checksum...  OK (0xECA5)
29771296 bytes copied in 376.332 secs (79109 bytes/sec)
OmniSecuRouter01#

After the IOS image file is copied to flash, you must reboot your router in order for it to use the new image. There are two ways you can reboot your router.

Power if off and then power it on (Hard reboot)

Run the "reload" IOS command from privilege mode (Soft reboot)

Related Tutorials