cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4773
Views
0
Helpful
11
Replies

Can Router Boot without Flash

Ahmed Chowdhury
Level 1
Level 1

hi

      i have a 2801 router and its flash is damaged. so i cant use the router bcoz it cant boot up. is there any way that for the time being the router will boot up from the ios file stored in tftp server rather than flash. there will be no system board flash. pls help me out. thanks in advancee...

11 Replies 11

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Ahmed,

You can use this command to boot your router from the TFTP server

Make sure you have the image in your TFTP server.

boot system tftp

HTH

Reza

Thank u reza. one more question is that if i want to do this configure on rommon mode is this possible. or how can i config my router in rommon mode to load the ios from tftp server. thanks in advancee

Hi Ahmed,

You can use "tftpdnld" command/procedure to boot the router from rommon mode. Please see the link below on the process.

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

HTH, Please rate if it does.

Cheers,

-amit singh

thank u amit but the doc u provided is for if my flash is corrupted then next time when the router boots up in rommon then i will be a able to download the ios from tftp to my flash. but my dear my question is that i have no flash.in that case the router have to load the ios only from tftp server. is there any way to complete this task in rommon mode.

Hi Ahmed,

Try following the follwoing procedure in order to get an image on router from tftp server while the router is in rommon mode.

We will use the tftpdnld command, you have to use tftpdnld -r, but you have to set some
variables first.  The variables that you must specify include the following:
* IP_ADDRESS-IP address for the 2851 gateway.
* IP_SUBNET_MASK-Subnet mask for the 2851 gateway.
* DEFAULT_GATEWAY-Default gateway for the 2851.
* TFTP_SERVER-IP address of the server from which you want to download
the image file.
* TFTP_FILE-Name of the file that you want to download.

Example:
     rommon 16 > IP_ADDRESS=171.68.171.0
     rommon 17 > IP_SUBNET_MASK=255.255.254.0
     rommon 18 > DEFAULT_GATEWAY=171.68.170.3
     rommon 19 > TFTP_SERVER=171.69.1.129
     rommon 20 > TFTP_FILE=c2800nm-ipbase-mz.123-14.T7.bin
     rommon 21 > tftpdnld -r

     IP_ADDRESS: 171.68.171.0
     IP_SUBNET_MASK: 255.255.254.0
     DEFAULT_GATEWAY: 171.68.170.3
     TFTP_SERVER: 171.69.1.129
     TFTP_FILE:c2800nm-ipbase-mz.123-14.T7.bin

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]:
Enter y to begin downloading the Cisco IOS software image. When the
process is complete,
the ROM monitor mode prompt appears on your screen.  Then you can type
reset to boot with
the image, don't turn off the router.



Regards,
Swati


but my dear my question is that i have no flash

The question what I'd like to ask is why can't you get a CF?

Hi ,

Yeah i agree ,my bad....in order to complete teh above procedure also we would need the flash on the router.

Regards,

Swati

Leo Laohoo
Hall of Fame
Hall of Fame

Hi Swati,

This won't work.  It won't work because the router does not have a working CF.

The "-r" switch at the end of the command loads the ios directly into ram without touching flash.  I have booted this way without any cf or usb flash installed on a 2801.

Hi

 

Just checking

 

Were you successful in booting from tftp without the flash memory, using the switch?

Joseph W. Doherty
Hall of Fame
Hall of Fame
I recall, on 2811s, the later bootstrap versions also supported IOS booting from USB (limited to what USB would work, beyond Cisco's). Don't recall if same available on 2801 (or if they even have a USB slot).
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card