Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help.. 2501 stuck in (boot) mode

Status
Not open for further replies.

mike160

Technical User
Apr 29, 2007
11
US
OK short and sweet... I'm new at this so bear with me

I went through CISCOs process for resetting a 2501 I recieved but did not have the password for ...but along the way I must have done somthing wrong... although I was able to change all the passwords... NOW every time I boot the router it has a

Router(boot)>

instead of just..

Router>

I've already made sure the proper register for booting from flash is enabled, also when I type

"show flash" I get an IGS invalid integer message <--- that can't be good ...

So is there an easy way to install the "working configuration" onto the flash or am I gonna have to figure out how to tftp a new version of the IOS

*note -- when the router boots it states its running 11.0, also I don't notice any type of error messages,.. just whatever I do it won't get rid of the boot prompt.

Any suggestions ?????

Thanks in advance .... plz forgive my almighty noobishness
 
If you are at boot mode follow the following instructions.
#

he next step is to upgrade the Cisco IOS software as follows:

hostname(boot)>enable
hostname(boot)#copy tftp flash
System flash directory:
File Length Name/status

1 2416128 c2500-is-l.123-1a.bin [invalid checksum]

[2416192 bytes used, 14361024 available, 16777216 total]
Address or name of remote host [255.255.255.255]? 172.16.1.2
Source file name? c2500-is-l.123-1a.bin
Destination file name [c2500-is-l.123-1a.bin]?
Accessing file 'c2500-is-l.123-1a.bin' on 172.16.1.2...
Loading c2500-is-l.123-1a.bin from 172.16.1.2 (via Ethernet0): ! [OK]

Erase flash device before writing? [confirm]


!--- Press Enter to confirm


Flash contains files. Are you sure you want to erase? [confirm]


!--- Press Enter to confirm


Copy 'c2500-is-l.123-1a.bin' from server
as 'c2500-is-l.123-1a.bin' into Flash WITH erase? [yes/no]yes
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ee ...erased
Loading c2500-is-l.123-1a.bin from 172.16.1.2 (via Ethernet0): !!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


!--- Output suppressed


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 16294764/16777216 bytes]

Verifying checksum... OK (0x96AA)
Flash copy took 0:08:23 [hh:mm:ss]
hostname(boot)#

#

Use the show flash command to verify the newly-loaded Cisco IOS image version.

hostname(boot)#show flash

System flash directory:
File Length Name/status
1 16294764 c2500-is-l.123-1a.bin
[16294828 bytes used, 482388 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)
hostname(boot)#

#

After successfully copying the Cisco IOS image to the router, make sure that you change the configuration register back to 0x2102 and reload the router to boot from the Cisco IOS image.

hostname(boot)(config)#config-register 0x2102
hostname(boot)#reload
System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm]


!--- Press Enter to confirm


*Mar 1 00:12:58.463: %SYS-5-RELOAD: Reload requested
System Bootstrap, Version 11.0(10c)XB2, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2003 by cisco Systems
2500 processor with 14336 Kbytes of main memory

F3: 15405292+889440+952984 at 0x3000060


!--- Output suppressed
 
The problem is... I don't have an ethernet connection on the AUI port yet

is the 172.16.1.2 internal, or will I need an external connection to the net ??

sorry .. I'm new to this and just trying to get the router going for learning until I can grasp CISCO software a little better..

Thanks for the quick reply by the way

Mike
 
I thought the
router(boot)>
prompt means the router config register setting is not at 2102...try a "sh ver" first---I believe you can do this from the boot prompt. If not, then your only other alternative is Xmodem...you have to get to the
rommon>
prompt. Power cycle the router, and send the router a break sequence (like ctrl-break). The do this:
If the IOS image in flash has been erased or corrupted, the IOS may need to be restored from the ROM monitor mode (ROMmon). In many of the Cisco hardware architectures, the ROMmon mode is identified from the rommon 1 > prompt.

This first step in this process is to identify why the IOS image did not load from flash. This could be due to a corrupt or missing image. The flash should be examined with the dir flash: command.

If an image is located that appears to be valid, an attempt should be made to boot from that image. This is done using boot flash: command. For example if the image name was “c2600-is-mz.121-5”, the command would be:

rommon 1>boot flash:c2600-is-mz.121-5

If the router properly boots, then there are a couple of items that need to be examined to determine why the router booted to the ROMmon instead of using IOS from flash. First, use the show version command to check the configuration register to ensure that it is configured for the default boot sequence. If the configuration register value is correct, use the show startup-config command to see if there is a boot system command instructing the router to use the IOS for ROM monitor.

If the router will not properly boot from the image or there is no IOS image, a new IOS will need to be downloaded. The IOS file may be recovered using either Xmodem to restore the image through the console, or downloading the image using TFTP from the ROMmon mode.

Download using Xmodem from ROMmon
To restore the IOS through the console, the local PC needs to have a copy of the IOS file to restore and a terminal emulation program such as HyperTerminal. The IOS can be restored using the default console speed of 9600 bps. The baud rate can be changed to 115200 bps to speed up the download. The console speed can be changed from ROMmon mode using the confreg command. After entering the confreg command, the router will prompt for the various parameters that can be changed.

When prompted “change console baud rate? y/n [n]:” selecting y will provide a prompt to select the new speed. After changing the console speed and restarting the router into the ROMmon mode, the terminal session (at 9600) should be terminated and a new session started at 115200 bps to match the console speed.

The Xmodem command can be used from the ROMmon mode to restore the IOS software image from the PC. The format of the command is xmodem -c image_file_name. For example, to restore an IOS image file with the name “c2600-is-mz.122-10a.bin”, type the command:

xmodem -c c2600-is-mz.122-10a.bin

The -c instructs the Xmodem process to use Cyclic Redundancy Check (CRC) for error checking during the download.

The router will prompt not to begin the transfer and present a warning message. The warning message informs that the bootflash will be erased and asks to confirm continuing. When the process is continued, the router will then prompt to start the transfer.

Now the Xmodem transfer needs to be started from the terminal emulator. In HyperTerminal, select Transfer > Send File. Then in the Send File popup specify the image name/location, select Xmodem as the protocol, and start the transfer. During the transfer, the Sending File popup will display the status of the transfer.

Once the transfer is complete a message appears indicating that flash is being erased. This is followed by the “Download Complete!” message. Before restarting the router, the console speed needs to be set back to 9600 and the config register back to 0x2102. Enter the command config-register 0x2102 at the privileged EXEC prompt.

While the router is rebooting, the 115200 bps terminal session needs to be ended and a 9600 bps session begun.

Good luck.

Burt
 
So I've tried everything listed above and I still have had no luck... but I have found that my router is loading the bootloader image instead of the IOS. also I cannot (no matter what I do) get the router into ROMmon mode.... It just boots to Router(boot)>

I have spent hours on the CISCO website...

Plus I can't figure out how the hell to download the IOS image

This sucks .... I feel like someone threw me in the deep end of the pool and said SWIM !!

I don't want to give up, so I'm going to see if I can procure another router ...this one may have been messed up from the beginning (I would have never realized)

I DO have a 1700 series router with the DSU/CSU connections .. would that serve as a good learning tool ??? (I think it boots into IOS)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top