cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
528
Views
60
Helpful
13
Replies
CarsonEdwards
Beginner

Booting to Rommon after copy run start

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!

1 ACCEPTED SOLUTION

Accepted Solutions

#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.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

View solution in original post

13 REPLIES 13
marce1000
VIP Advisor

              >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.

 

balaji.bandi
VIP Expert

try below

>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

Once it boots check the boot variable. and setup accordingly.

 

#show bootvar

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

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

 

 - Take care of this good suggestion :

          >boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

 M.

try below

>boot bootflash:cat4500e-ipbasek9-mz.152-4.E7.bin

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

CarsonEdwards
Beginner

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!

#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.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

View solution in original post

Thank You very much!

Now I don't need to boot to rommon every reload.

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



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
CarsonEdwards
Beginner

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!

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



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

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!