04-17-2006 04:11 AM - edited 03-03-2019 02:50 AM
I have a Cisco 837 Router. The problem I am facing is that its cookie information is corrupted.
System Bootstrap, Version 12.2(11r)YV3, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2004 by cisco Systems, Inc.
WARNING: Cookie information is corrupt
C800/SOHO series (Board ID: 23-0) platform with 65536 Kbytes of main memory
rommon 1 > cookie
WARNING: Cookie information is corrupt
cookie:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Kindly tell me how to enter cookie values to boot properly.
Regards,
Mujeeb
04-17-2006 06:26 AM
Hi Mujeeb,
Was there a heavy rain or lighting at your location?
The router will be in ROMMON status, so don't try to use the TFTPDNLD command or XMODEM to load the IOS because it's still in the Flash.
Here's the steps to follow to repair the router:
1- in the rommon mode digit the command PRIV that allows to you to enter in the privileged mode, use the password 0000 (four zeros) and enter.
2- if you cookies are corrupt you'll see this situation:
>>rommon 1 > cookie
>>WARNING: Cookie information is corrupt
>>
>>cookie:
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>rommon 2 >
3- now type the command COOKIE so you can set the values manually.When you insert them you just need to insert the values after the :
Below you can see good cookies of a 827 router:
byte 0x00 - Version: 01
byte 0x01 - Vendor (Recommended Value: 0x01): 01
bytes 0x02-0x07 - Ethernet HW Address: 00 04 27 fe 00 ea
byte 0x08-0x08 - Processor (Recommended Value: 0x3e): 3e (0x3E for 827
e_machine=62)(0x5B for soho77 e_machine=91)
byte 0x09-0x09 - NVRAM Size (Recommended Values: 256K - 0x00): 00
byte 0x0a-0x0a - CPU Speed (Recommended Value: 50Mhz - 0x01): 01
byte 0x0b-0x0b - Unused: ff
bytes 0x0c-0x0d - On-board PM ID: 01 ff
bytes 0x0e-0x0f - MAC Address Allocated: 00 00
bytes 0x10-0x17: 00 00 00 00 00 00 00 00
bytes 0x18-0x22: 4a 41 44 05 42 30 39 ** ** 03 01 (Processor board ID
JAD054209**)+(CPU revision 0x301)
bytes 0x23-0x24 - Deviation: 6f e6 (hardware revision 6FE6)
bytes 0x25-0x2c: 00 00 00 00 ff ff ff 50 (50 should be cpu_type)
bytes 0x2d-0x2d - Board Config: 04
bytes 0x2e-0x31: 49 11 ec 03
bytes 0x32-0x37 - WAN MAC Address: ff ff ff ff ff ff
bytes 0x38-0x3f: ff ff ff ff ff ff ff ff
bytes 0x40-0x47: ff ff ff ff ff ff ff ff
bytes 0x48-0x4f: ff ff ff ff ff ff ff ff
bytes 0x50-0x57: ff ff ff ff ff ff ff ff
bytes 0x58-0x5f: ff ff ff ff ff ff ff ff
bytes 0x60-0x67: ff ff ff ff ff ff ff ff
bytes 0x68-0x6f: ff ff ff ff ff ff ff ff
bytes 0x70-0x77: ff ff ff ff ff ff ff ff
bytes 0x78-0x7f: ff ff ff ff ff ff ff ff
As i told you the important values are number after the : as you can see let's see the first two rows of the previous example :
byte 0x00 - Version: 01 -----> insert only 01
byte 0x01 - Vendor (Recommended Value: 0x01): 01 ---> insert 01
and the same for all the others rows.
The final situation of the cookies will be something like this:
01 01 00 b0 c2 8e 5e 81 5b 00 01 ff 01 ff 00 00
00 00 00 00 00 00 00 00 4a 41 44 05 31 30 50 38
33 04 01 00 00 00 00 00 00 ff ff ff 50 04 49 11
ec 04 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
(these are exact cookies for a soho77)
At the end you just need to reset your router and your IOS and configuration will be there ready to work again.
HTH, if yes please rate the post.
Ankur
04-17-2006 10:11 PM
Dear Ankur,
PRIV command is not available in rommmon mode.
rommon 19 > ?
alias
boot
break
confreg
cont
context
cookie
dev
dir
dis
dnld
frame
help
history
meminfo
repeat
reset
set
stack
sync
sysret
tftpdnld
unalias
unset
xmodem
One more thing , how to enter these values bcz cookie command is not accepting any argument. Kindly reply ASAP.
Regards,
Mujeeb
04-17-2006 10:19 PM
Hi Mujeeb,
Try PRIV as it is a hidden command and if you get some error can you paste that error.
Also once you are in priv mode you need to enter COOKIE and hit enter and just insert the values
Try this and update
Ankur
04-18-2006 02:50 AM
Dear Ankur,
Thanks a lot for your reply and I am able to get into priv mode. One more favour required i.e Can u tell me cookie values for Cisco 837.
Thanks again.
Regards,
Mujeeb
04-18-2006 02:55 AM
Hi Mujeeb,
Not 100% sure for 837
The final situation of the cookies will be something like this:
01 01 00 b0 c2 8e 5e 81 5b 00 01 ff 01 ff 00 00
00 00 00 00 00 00 00 00 4a 41 44 05 31 30 50 38
33 04 01 00 00 00 00 00 00 ff ff ff 50 04 49 11
ec 04 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
(these are exact cookies for a soho77)
So I think this should work. Just check my first post.
Regards,
Ankur
04-18-2006 04:30 AM
Hello Ankur,
I have changed cookie values but still Router is not booting properly, possibly b/c of wrong cookie values. Now i want to change the values again but problem is that I am not able to get into PRIV mode , Router accepts passwords but not get into required mode.
********************************
rommon 1 > priv
Password:
rommon 2 >
********************************
Thanks a lot for your support.
Regards,
Mujeeb
04-18-2006 08:01 AM
Hi Mujeeb,
To be frank I am clueless after this step. I tried this once and it worked for me in first hit.
You may need to contact Cisco TAC for further assistance. I am sorry but I tried my best to help you resolve your issue
Regards,
Ankur
04-18-2006 12:47 PM
Please post your new cookie value and I will try to figure out the new password.
Thanks
Anthony
04-19-2006 02:57 AM
Hi anthony,
Me & mujeeb r working on the same problem, cookie values are...., plz do let me know also how to figure out the password of privledged mode from cookie values in rommon......& could u plz let us know the exact cookie values for Cisco 837 as many of our routers are waiting for this solution....
**********************************************
rommon 3 > priv
Password:
rommon 4 > priv
Password:
rommon 5 > cookie
cookie:
01 01 00 04 27 fe 00 ea 3e 00 00 ff 01 ff 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 6f e6 00 00 00 00 ff ff ff 50 04 49 11
ec 03 ff ff ff ff ff ff 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
rommon 6 >
*************************************************
thanks for your effort..
Akhtar
04-18-2006 03:43 PM
Hi,
I saw this same response posted elsewhere on the Internet, but still dont understand what the following line means:
bytes 0x18-0x22: 4a 41 44 05 42 30 39 ** ** 03 01 (Processor board ID
JAD054209**)+(CPU revision 0x301)
How do I get the value to go in here?
I have about 20 x 827 routers which all have the same problem and if we can get this fixed it would be fantastic, but unfortunatley there is not much on how to recover from this situation on the web, and Cisco dont have any helpful documentation either.
Cheers
04-18-2006 10:31 PM
Hi Mujeeb,
I saw same issue in wan,switching and routing forum and Engineer from Cisco name Antony have answerd that problem.
I have posted in same forum to check your problem and reply you also you can look at that issue and ask your query there
HTH
Ankur
04-19-2006 08:29 AM
The password for:
**********************************************
rommon 3 > priv
Password:
rommon 4 > priv
Password:
rommon 5 > cookie
cookie:
01 01 00 04 27 fe 00 ea 3e 00 00 ff 01 ff 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 6f e6 00 00 00 00 ff ff ff 50 04 49 11
ec 03 ff ff ff ff ff ff 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
rommon 6 >
*************************************************
Should be: 67ed.
I can give directions on how to figure it out obviously, but I can try and help you guys get your routers up and going. I will look for an 837 to see if I can find the correct cookie values.
04-19-2006 05:41 PM
Hi,
I have a number of 827's all with the same problem (probably about 15 or 20 of them).
I can get into priv mode, and enter the cookie stuff no worries. What I cant figure out is how to turn the block of values from a working cookie (as above), into answers for the priv mode cookie questions.
I tried just entering the pairs of digits in sequence, but when I looked at the cookie afterwards, it was different some values in the wrong place, and the router is still not working.
If you could PLEASE break down the 'cookie' output into the answers that we should provide during the 'priv cookie' command, then I should be able to use the values I have to get these routers up and running again.
Also, how can I determine what MAC address to enter.. there is no sticker on these machines (inside or out) to get that figure.. or does it not matter for this to work?
Many thanks.
04-19-2006 10:32 PM
Hi all,
I had exactly the same issue on a 826. I have resolved it successfully, and now I am working on a web page that will describe everything I found out. This will explain most of the contents of the cookie and also how to find out the "priv" password. It should be helpful for you guys, but it will take two or three days to finish. I'll post the link here.
In the meantime you may want to pass the time unscrewing your routers and writing down the processor board ID. It is printed on a label on the mainboard and should look like JAB01A1B2 (most of them start with JA or FO). This ID will be encoded into the cookie.
Also you should try to find out the MAC address of the box. This could be a bit more difficult since there is no label anywhere. Try your network management system if available, or some other software that may have the MAC address in some database, cache or similar. I have used a NAI RougeSystemSensor which had the MAC address in it's database.
It's not too serious if you are unable to find it out, since the router will work with virtually any valid AMC address, so you can also make a good guess. I will post some information about what makes a guess a good guess on my web page.
Hope to help you with that.
Patrick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide