02-06-2021 06:57 AM
I have a Cisco 4948e (the silver one not the gross teal one)
I am booting into rommon after copy run start. Config-register is 0x2102
This is after the initial setup as I have rebooted the switch with no config just fine.
rommon 5 >dir bootflash:
File Size (Bytes) File Name
---------------------------------------
40128461 cat4500e-ipbasek9-mz.152-4.E5.bin
39979805 cat4500e-ipbasek9-mz.152-4.E7.bin Total space = 128206848 bytes, Available = 38068224
bytesrommon 6 > [interrupt]rommon 6 >boot flash:cat4500e-ipbasek9-mz.152-4.E7.bin
Invalid filename flash:cat4500e-ipbasek9-mz.152-4.E7.bin. It must begin with device name
It says its an invalid file name, but boots right up to my previous config.
I don't think my other switches have this problem.
Thank you, Thank you!
Solved! Go to Solution.
02-07-2021 03:29 AM - edited 02-07-2021 03:40 AM
#dir bootflash: <--- check the this file available in bootflash - cat4500e-ipbasek9-mz.152-4.E7.bin
if the image not in bootflash, copy from USB or what ever source.
#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot.
#show bootvar
Configuration register is 0x2102
Reload the device test it booting correctly.
02-06-2021 07:41 AM
>It says its an invalid file name, but boots right up to my previous config.
- Exactly what do you mean by that , so it does boot (e.g.)
M.
02-06-2021 08:21 AM - edited 02-06-2021 08:21 AM
try below
>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
Once it boots check the boot variable. and setup accordingly.
#show bootvar
02-06-2021 09:55 PM
I get the following from show bootvar
komodo#show bootvar
BOOT variable =
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
02-07-2021 01:57 AM
- Take care of this good suggestion :
>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
M.
02-07-2021 03:22 AM
try below
>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
02-07-2021 03:22 AM
I have done some more research and it looks to be a common issue on the 4500 series of switches.
Have any sources of how to configure the bootvar correctly?
THANK YOU!
02-07-2021 03:29 AM - edited 02-07-2021 03:40 AM
#dir bootflash: <--- check the this file available in bootflash - cat4500e-ipbasek9-mz.152-4.E7.bin
if the image not in bootflash, copy from USB or what ever source.
#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot.
#show bootvar
Configuration register is 0x2102
Reload the device test it booting correctly.
02-07-2021 04:54 AM
Thank You very much!
Now I don't need to boot to rommon every reload.
02-07-2021 03:36 AM - edited 02-07-2021 03:38 AM
Hello
Check to see what currently resides in you flash directory
dir /all file systems
If the old and image files are their verify their integrity
verify /md5 flash:/xxxx.bin
Next remove old bootvar and create a new one
config t
no bootvar or no boot
boot system flash:/new-image.bin
boot system flash:/old-image.bin
end
write
show bootvar or boot
reload
02-07-2021 04:37 AM
komodo#verify /md5 bootflash:/cat4500e-ipbasek9-mz.152-4.E5.bin
.........................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (bootflash:/cat4500e-ipbasek9-mz.152-4.E5.bin) = b8724ee095836a5f012ce21967061e7e
komodo#
komodo#verify /md5 bootflash:/cat4500e-ipbasek9-mz.152-4.E7.bin
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (bootflash:/cat4500e-ipbasek9-mz.152-4.E7.bin) = 88f5966e3d1f4181b31bb7d40a7f53e2
config t
no bootvar or no boot
boot system flash:/new-image.bin
boot system flash:/old-image.bin
end
write
show bootvar or boot
reload
I will try this shortly
THANK YOU!
02-07-2021 04:48 AM
- Additionally you may find this document useful : https://www.cisco.com/en/US/docs/switches/lan/catalyst4000/7.5/configuration/guide/boot_support_TSD_Island_of_Content_Chapter.html
M.
02-07-2021 07:09 AM
Hello
has now you have confirmed its bootflash make sure that is specified.
boot system bootflash:/new-image.bin
boot system bootflash:/old-image.bin
02-07-2021 07:48 AM
This ended up working
#configure terminal
(config)#boot system flash bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin
(config)#end
#write memory
Check the boot variable again to make sure it is set properly so that the switch boots up the correct system file on the next reboot.
#show bootvar
Configuration register is 0x2102
Thanks for all your help!
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