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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I shake the (boot) from my "router(boot)>" prompt?

Status
Not open for further replies.

bajaranger

Technical User
Feb 12, 2001
4
US
I recently purchased a 2504 router on ebay. When I powered it up for the first time, here's what the prompt looked like:

router(boot)>

I have been trying to figure out how the (boot) was appended to the hostname. From what I've read in the Cisco documentation, I believe it's a register setting from rom monitor mode. If that's true, I'm having a heck of a time figuring out how that was set and how to undo it. If anyone can point me in the right direction I would appreciate it.
 
I have to ask, when you go into global does it appear like
router(boot)(config)# . I am sure you have already done this however from global type ( router(config)#hostname router ). If this fails you can always erase nvram and start over. Good Luck Jeter@LasVegas.com Remember to pass Cisco's CCNA you need at least an 849 to pass!!!
 
jeter,

that was the first thing I tried. I was wondering why there was such an odd hostname!?!? But when it wouldn't change I knew it was something else. I'm afraid I'll end up having to go the NVRAM route unless someone else has seen and conquered this one before. I would really like to solve it and understand it though. I'm sure you understand the technical lust for punishment behind this.
 
I found the answer!! This one is cryptic. I was taking shots in the dark and lucked out. Apparently, one of the registers in basic rom monitor mode had been changed. I found a document that happened to list some of the default register settings that you can access when you see the following...

> ?

$ state Toggle cache state (? for help)
B [filename] [TFTP Server IP address | TFTP Server Name]
Load and execute system image from ROM or from TFTP server
C [address] Continue execution [optional address]
D /S M L V Deposit value V of size S into location L with modifier M
E /S M L Examine location L with size S with modifier M
G [address] Begin execution
H Help for commands
I Initialize
K Stack trace
L [filename] [TFTP Server IP address | TFTP Server Name]
Load system image from ROM or from TFTP server, but do not
begin execution
O Show configuration register option settings
P Set the break point
S Single step next instruction
T function Test device (? for help)
Deposit and Examine sizes may be B (byte), L (long) or S (short).
Modifiers may be R (register) or S (byte swap).
Register names are: D0-D7, A0-A6, SS, US, SR, and PC


At the bottom, you can see the register names. Like I said, I found a document that had some default settings for these registers. Basically I decided to enter them one by one. Fortunate for me, I tried the PC register first with its default value of 0x02004adc. I rebooted and bam!! I was back to good old fashioned router>. I hope that this is of no help to anyone, but I will list the default values here any way.

d0 - 0x00000028 a0 - 0x0ff00420
d1 - 0x00000007 a1 - 0x0ff00000
d2 - 0x00000007 a2 - 0x02004088
d3 - 0x00000000 a3 - 0x020039e6
d4 - 0x00000000 a4 - 0x02002a70
d5 - 0x02003e8a a5 - 0x02003f17
d6 - 0x00000000 a6 - 0x02003938
d7 - 0x00000001 a7 - 0x0200392c
pc - 0x02004adc vbr - 0x02000000

I hope that none of you ever find your way to rom monitor hell!!

 
More then likely someone did not know the password and so used the traditional "crack" of breaking into monitor while booting and flipping the registry setting so it would bypass the config and go straight to monitor. At this point you can go into enable mode, change the password, save it and flip the registry setting back to boot normally. And VOILA, no unknown password ;-)

Mike S
"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin
 
I got this problem tooo.... but i dunno how to solve it..anione can helP?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top