01-08-2008 07:28 PM - edited 03-05-2019 08:21 PM
i have two flash file in router one with ver 12.3 and other with 12.5. currently router is loading from 12.3 while i want router to load from new flash ver file 12.5a. please let me know how can i do this i am using 3845 router.
Solved! Go to Solution.
01-08-2008 09:06 PM
Hi Amit,
As Rick updated you can configure boot statement and make sure your config register value is set to 0x2102 which basically tells the router to look at the boot statement configured.
Also once you change your boot statements just save the config and reload the router and your router should boot with the image configured in first boot statement.
HTH
Ankur
*Pls rate all helpfull post
01-08-2008 07:32 PM
Amit
By default the router will boot the first image that it finds in flash. If you want it to boot a different (newer) image you add a boot system statement in global config. The boot statement is something like this:
boot system flash:
When I do this I usually put a boot system command for the new image followed by a boot system command for the old image - just in case there is a problem with the new image.
HTH
Rick
01-08-2008 07:39 PM
so after put both the commands will router try to boot from new image since i have given boot system
also after putting the command do router require reload ? thanks again rick
01-08-2008 09:00 PM
Rick request you to reply above query then i am done to go ahead. thanks a bunch dude.
01-08-2008 09:06 PM
Hi Amit,
As Rick updated you can configure boot statement and make sure your config register value is set to 0x2102 which basically tells the router to look at the boot statement configured.
Also once you change your boot statements just save the config and reload the router and your router should boot with the image configured in first boot statement.
HTH
Ankur
*Pls rate all helpfull post
01-09-2008 12:06 AM
hi Rick & Ankhasi
Strange thing happening now, i uploaded new IOS ver c3845-advipservicesk9-mz.124-5a.bin
and given the command as you said "boot system flash c3845-advipservicesk9-mz.124-5a.bin". but it has booted wiht old ver only i.e 12.3. i amm attaching crash info file for you. pleas suggest.
01-09-2008 12:29 AM
Crashinfo is not usefull at this point. What could have happened is that IOS you have is bad - try a different IOS subversion. Or maybe it has bad checksum. Try to check it's MD5 hash.
Use the following command:
verify /md5 image_name
like this, if your file is on disk1:
verify disk1:c3845-advipservicesk9-mz.124-5a.bin
What is the output of "show bootvar" command?
01-09-2008 01:23 AM
hey command 'show bootvar is not available.
i got MD5 result here it is
.......................................................................................................................Done!
verify /md5 (flash:c3845-advipservicesk9-mz.124-5a.bin) = 61a5f61f101c5a0424e63fd636e4c056
also i have loaded existing working file from redudant router. still you want me to have fresh copy uploaded ? please suggest
01-09-2008 12:35 AM
Hi Amit,
As Pavlo suggested try another version this looks like to be a software issue or may be bad software. Try another one from same train and update the results.
Regards,
Ankur
01-09-2008 03:29 AM
any idea
01-09-2008 05:00 AM
Amit
I see this line in the crashinfo that you posted:
Cisco IOS Software, 3800 Software (C3845-ADVIPSERVICESK9-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2
Would I be correct that 12.3(14)T7 is the old version of code that you were running? It makes me wonder if the router had loaded the new code or the old code.
You could try a different version of code as others have suggested. Or you might try booting the router again. This time have a console session during the boot process, capture and post all the console messages as the router boots. This would help us understand whether the router is loading the new code and what the problem is.
HTH
Rick
01-09-2008 06:53 AM
Amit,
Can you verify your boot statement is correct? You pasted this:
"boot system flash c3845-advipservicesk9-mz.124-5a.bin",
but I believe Rick had indicated it should be
"boot system flash:c3845-advipservicesk9-mz.124-5a.bin".
Notice the missing colon ":" from your entry?
HTH
Steve
01-09-2008 08:24 AM
Steve
You correctly notice a difference between what I suggested and what appears to have been configured. I just set this up on a test router and it appears that the colon is optional. I set up a boot system statement that omits the colon and the router loaded that image anyway.
I believe that IOS expects a colon in the boot system command now. But it appears to be an option not a requirement. It may be a backwards compatibility thing. Earlier versions of IOS specified the boot system command without the colon.
HTH
Rick
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