Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

4507 went into romon

                   hi all,

Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.

For help on choosing a boot method,  type 'confreg' command.
rommon 1 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG5
SupportedFeatures=1
ConsecPostPassedCnt=2
DiagMonitorAction=Normal
CONFIG_FILE=bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
RET_2_RTS=03:00:52 MDT Tue Jun 5 2012
RET_2_RCALTS=1338886852
BootedFileName=bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
ConfigReg=0xe542

Need help thanks

mahesh

Everyone's tags (2)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

4507 went into romon

Hi,

When booting in ROMMON, do the following:

     confreg 0x2102

     dir bootflash:

Check the IOS files there and boot manually:

     boot bootflash:

E.g.:

     boot bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin

When in IOS, check the boot string to point to correct file name:

     show boot

     show run | i boot

If it is incorrect, remove it and add a correct one:

     conf t

          no boot .....

          boot ....

          end

     wr

Check again to make sure there are only correct entries now:

     show boot

     show run | i boot

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
Hall of Fame Super Gold

4507 went into romon

Hi Mahesh,

Can you try using an SD card to copy the IOS into it?  It's alot faster and less hassle.

11 REPLIES
New Member

4507 went into romon

Hi,

Here is IOS which i download to switch

rommon 7 >dir bootflash:

Date       Time    Attribute   Size         Name
========== =====   ==========  ==========   ================
2012/06/05 09:00   -rw-rw-rw-       47973   cat4500e-universalk9.SPA.03.02.04.S
G.150-2.SG4.bin

   Total space =    808548 KB
   Available   =    811872 KB

New Member

4507 went into romon

mon 1 > on choosing a boot method,  type 'confreg' command.

rommon 1 >boot bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin

File has bad file magic number:      0x0. Is it a valid file?

boot: can not load "bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bi

n"

rommon 2 >

mon 1 > on choosing a boot method,  type 'confreg' command.

rommon 1 >boot bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin

File has bad file magic number:      0x0. Is it a valid file?

boot: can not load "bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bi

n"

rommon 2 >

Cisco Employee

4507 went into romon

Hi,

See ythe steps I posted below. I see you tried manual boot already and it reported "File has bad file magic number".

This error typically indicates the file is corrupted, I suggest to download it again from cisco.com and re-upload on the switch.

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
New Member

4507 went into romon

Hi Ivan,

tried to copy file from tftp

rommon 53 >boot tftp://169.254.215.131/cat4500e-universalk9.SPA.03.02.04.SG.150-
2.SG4.bin


Tftp Session details are ....

Filename     : /cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
IP Address   : 169.254.215.135
Loading from TftpServer: 169.254.215.131

Tftp session failed: File not found

Cisco Employee

4507 went into romon

Hi,

The FTP server should be accessible from the management port. Did you do a ping to confirm server is reachable?

     ping <tftp_server_ip_address>

If it reachable, than check whether the file is located in the default FTP server directory as you are specifying in the ftp url string.

Please check if you followed all steps specified in the procedure (option 2) in this guide:

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/release/note/OL_24727.html#wp289935

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
New Member

4507 went into romon

Hi,

It booted fine now

now this issue

Switch#copy tftp: bootflash:?

% Unrecognized command

Switch#copy tftp: bootflash:

Address or name of remote host [169.254.215.131]?

Source filename [cat4500e-universalk9.SPA.03.02.04.SG.150-2]?

Destination filename [cat4500e-universalk9.SPA.03.02.04.SG.150-2]?

Accessing tftp://169.254.215.131/cat4500e-universalk9.SPA.03.02.04.SG.150-2...

%Error opening tftp://169.254.215.131/cat4500e-universalk9.SPA.03.02.04.SG.150-2

(Socket error) Switch#copy tftp: bootflash:?
% Unrecognized command
Switch#copy tftp: bootflash:
Address or name of remote host [169.254.215.131]?
Source filename [cat4500e-universalk9.SPA.03.02.04.SG.150-2]?
Destination filename [cat4500e-universalk9.SPA.03.02.04.SG.150-2]?
Accessing tftp://169.254.215.131/cat4500e-universalk9.SPA.03.02.04.SG.150-2...
%Error opening tftp://169.254.215.131/cat4500e-universalk9.SPA.03.02.04.SG.150-2
(Socket error)

Thanks

mahesh

Cisco Employee

4507 went into romon

Do you have any IP configured on your switch? Can you ping the FTP server when booted in IOS?

Try the following:

1. Configure vlan 1 on switch and assign a port facing FTP server to that vlan.

2. Create IP on vlan in the same subnet as server.

3. Try to ping and if it does then you are all good.

4. Check that there is no password on FTP server.

5. Start download now.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
Cisco Employee

4507 went into romon

Hi,

When booting in ROMMON, do the following:

     confreg 0x2102

     dir bootflash:

Check the IOS files there and boot manually:

     boot bootflash:

E.g.:

     boot bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin

When in IOS, check the boot string to point to correct file name:

     show boot

     show run | i boot

If it is incorrect, remove it and add a correct one:

     conf t

          no boot .....

          boot ....

          end

     wr

Check again to make sure there are only correct entries now:

     show boot

     show run | i boot

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
New Member

4507 went into romon


Hi Ivan,

i tried see the posts

did not work

thanks

mahesh

Hall of Fame Super Gold

4507 went into romon

Hi Mahesh,

Can you try using an SD card to copy the IOS into it?  It's alot faster and less hassle.

New Member

4507 went into romon

Hi Ivan and leolaohoo,

Issue was that Management port on 4507 works only for ROM ON mode to boot pc from tftp.

When i try to run command copy tftp bootflash it did not worked.

Then i connected my pc to port on lince card 1 then copy tftp bootflash worked.

Thanks for you help

Mahesh

2874
Views
0
Helpful
11
Replies
CreatePlease to create content