Skip navigation
Cisco Learning Home > Certifications > Security > IOS Security Specialist > Discussions


This Question is Not Answered 1 Correct Answer available (4 pts) 2 Helpful Answers available (2 pts)
8520 Views 2 Replies Latest reply: May 9, 2012 4:07 PM by Martin RSS

Currently Being Moderated

How to restore IOS from TFTP server

May 9, 2012 6:15 AM

Sarabjit 7 posts since
Feb 16, 2012

Hello, I have a question. How to restore IOS from TFTP server over the Cisco 2620xm router. I am using packet tracer. I was practcing backup and restoring configurations. For that practice I decided to delete or erase running configuration, startup configuration and Flash in packet tracer. I deleted the flash. As I run reload command it shows me ROMMON >


On this prompt I am getting following options


rommon 1 > ?

boot                boot up an external process

confreg             configuration register utility

dir                 list files in file system

help                monitor builtin command help

reset               system reset

set                 display the monitor variables

tftpdnld            tftp image download

unset               unset a monitor variable

rommon 2 >


I dont know how to load IOS from my tftp server. Many websites have said that we need to set an ip address to the interface that is connected to the tftp server (if it is connected through ethernet) if not, if it is connected with console using hyperterminal or terminal configuration window of packet tracer then use xmodem command (i dont know how to use xmodem command, i guess some kind of modem is also included in this kind of configuration). I searched the internet and found out the following info.


Step 1 Specify the required variables, for example:

rommon 1> IP_ADDRESS=

rommon 2> IP_SUBNET_MASK=


rommon 4> TFTP_SERVER=

rommon 5> TFTP_FILE=/tftpboot/c2600-i-mz.122-28.bin 

This is also what I have found on

rommon> set IP_ADDRESS= IP_SUBNET_MASK= TFTP_SERVER= DEFAULT_GATEWAY= TFTP_FILE={the name of the IOS that is saved on the PC}

I tried both, but didnt work

Please let me know how I can restore IOS. I shall be very thankful to you. I am attaching the packet tracer file along with it.
  • CiscoLoco - CCNP 956 posts since
    Feb 11, 2009
    Currently Being Moderated
    1. May 9, 2012 8:40 AM (in response to Sarabjit)
    Re: How to restore IOS from TFTP server

    I dont know your enable password so I couldnt simulate removing the IOS image.  However I can tell you that the rommon commands you listed above are correct.  In packet tracer you probably dont what include the /tftpoot/ in your path.  Since this is just a lab I would try simplifying it.  Create a lab with just a router connected directly to your a server (configured the server with ip address  Delete the flash like you did before.  When you get the rommon prompt type the following in (it is case sensative, make it all caps.  Also, these commands wont show in the context sensative help)








    After the above is entered type the command tftpdnld

  • Martin 13,075 posts since
    Jan 16, 2009
    Currently Being Moderated
    2. May 9, 2012 4:07 PM (in response to Sarabjit)
    Re: How to restore IOS from TFTP server

    wow, I though this is not possible in PT;


    kudos for PT developers !


More Like This

  • Retrieving data ...

Bookmarked By (0)