cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1439
Views
5
Helpful
5
Replies

unable to load ios on 2821

Hi

I have a router and im tring to load image from rommon mode but i didnt. i tried a lot and various images but still its not i will provide you the error in below

rommon 5 > xmodem flash:/c2800nm-ipbasek9-mz.151-2.T1.bin
Do not start the sending program yet...
program load complete, entry point: 0x8000f000, size: 0xc940
         File size           Checksum   File name

WARNING: All existing data in flash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]:  y
Ready to receive file flash:/c2800nm-ipbasek9-mz.151-2.T1.bin ...
program load complete, entry point: 0x8000f000, size: 0xc940

Format: All system sectors written. OK...
Format: Operation completed successfully.

Format of flash: complete
program load complete, entry point: 0x8000f000, size: 0xc940
open(): Open Error = -36
create a file failed...err code = -1
rommon 6 >

could you please update me with the exact problem and how to resolve this

thanks and regards

Lakshminarayana

5 Replies 5

Tim Smith
Level 4
Level 4

Hey mate...

Much better way to do this is with TFTP.

Especially with the size of IOS images these days.

Give this one a go.

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

Cheers,

Tim.

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

Please try the following:

xmodem -r "image name"

or

xmodem -r

This will load the image to the RAM and will boot the router. Then you can

perform regular TFTP process.

https://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note0918

6a008015bfac.shtml

If it is possible, you can also try TFTPdnld process.

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186

a008015bf9e.shtml

If nothing works, if you have a spare router that takes the flash card, put

the card in that router, copy the image through normal TFTP process and then

put the flash card back in the router is question.

Hope this helps.

Regards,

NT

Dear Nagaraj

Thanks for your replay and its more helpfull to me. but im  try with xmodem -c and fileneme its working now i can load the image. but in this process i got one more problem.

if you konw could you please tell me.

i.e. if i tring to load though tftpdnld its showing pre-configured ip address and tftp file name. im tring to download that one but its belongs to 2851 image file name. so im tring to change with set commands. but i didnt.

so my question is how to change the ip settings  in cisco 2821 router on rommon mode

see the procedure on which also works for most cisco device:

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

rommon's SET shows you the current values.

to change them, write

variable-name=vlaue

No spaces before or after the = .

Example from the URL above:

          rommon 16 > IP_ADDRESS=171.68.171.0
     rommon 17 >
IP_SUBNET_MASK=255.255.254.0
     rommon 18 >
DEFAULT_GATEWAY=171.68.170.3
     rommon 19 >
TFTP_SERVER=171.69.1.129
     rommon 20 >
TFTP_FILE=c2600-is-mz.113-2.0.3.Q
     rommon 21 > tftpdnld

No, you cannt ping the device, it's just used for tftp .

If tftp-server and device are on the same (V)-LAN, you may set DEFAULT_GATEWAY to the ip-address of the TFTP_SERVER.

Be sure only to give the switch the image;

not the .tar file with the webby-devices-management. You can load this later when IOS is running

by "archive tar /xtract URL flash: "

Hope this help's,

Juergen.

.

Leo Laohoo
Hall of Fame
Hall of Fame

Got another option for you ...

Your router has a CF slot.  Put the IOS into a CF and replace it.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card