Lessons

Upgrade or install IOS from Trivial File Transfer Protocol (TFTP) Server

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.

Router01#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.

                  
Router01#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)
Router01#

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)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s