Solved

How to use CF card reader for LOAD new IOS in rommon mode

Posted on 2010-11-15
22
1,426 Views
Last Modified: 2012-08-14
Hello Friends,

 
I was trying  to upgrade my IOS software, cisco router 1861, unforunately  the software crashed.
At  the  moment i am in ROMMON mode and cannot go back  to  the enable  mode. Now I  need to copy back the old image!  but i don't know How to use CF card reader for LOAD new IOS in rommon mode.. may be xmodem procedure is not supported on Cisco 1861 so please help me how to use it

Regards

VIkrant
 
 
 
 
If someone would help  me, as  i want  to have  the procedure for deleting my previous IOS.

Thanks,
0
Comment
Question by:kavinagpur
  • 11
  • 11
22 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134320
0
 

Author Comment

by:kavinagpur
ID: 34134347
Thanks for your reply,

Can you suggest which card i need for it ?
i means like SD or something
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134381
Eh ?

If there is a card in the router it should be a PCMCIA Flash card.

Did you try it by usin tftp?
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134396
Some info on upgrading in rommon (should also work for 1861) http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml
0
 

Author Comment

by:kavinagpur
ID: 34134413
Hello erniebeek,

I did try by TFTP but i'm unable because When we are following the steps to create a tftp connection with the remote computer, it appears to be there is no LAN connectivity at all.  I have plugged Cat5 cable  from router to remote system ( interface FastEthernet0/1/7), Please help how to get my FastEthernet intefaces back running again in ROMMON mode so I can starrt recover my IOS files.

Regards

Vikrant

0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134458
0
 

Author Comment

by:kavinagpur
ID: 34134607
Thanks for your quick reply,

For uploading through we need to enter xmodem -c but i couldn't  see this option on 1861 router
I'm getting error
rommon 1 > xmodem -c

monitor: command "xmodem" not found
rommon 2 > 

pls look in attached help command
alias               set and display aliases command

boot                boot up an external process

confreg             configuration register utility

cont                continue executing a downloaded image

context             display the context of a loaded image

cookie              display contents of cookie PROM in hex

dev                 list the device table

dir                 List files in directories-dir <directory>

dis                 display instruction stream

frame               print out a selected stack frame

help                monitor builtin command help

history             monitor command history

meminfo             main memory information

more                Concatenate (type) file(s)-more <filenames ...>

repeat              repeat a monitor command

reset               system reset

rommon-pref         Select ROMMON

set                 display the monitor variables

showmon             display currently selected ROM monitor

stack               produce a stack trace

sync                write monitor environment to NVRAM

sysret              print out info from last system return

tftpdnld            tftp image download

unalias             unset an alias

unset               unset a monitor variable

rommon 45 >

Open in new window

0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134807
Ok, then we have this : http://www.cisco.com/en/US/products/hw/routers/ps214/products_tech_note09186a0080110ed1.shtml

And I quote:

'If you are still in ROMmon, that means your boot image is either missing or corrupted. If your router has no valid image in Flash or Bootflash, and no other ROMmon upgrade procedure, the only way to recover is to have a similar router with a compatible Flash card, download the image on that router, and then move the Flash card to the one that is stuck.'

But first lets have a look at your interfaces, hopefully we can do something about that. You said:'I have plugged Cat5 cable  from router to remote system ( interface FastEthernet0/1/7)' So I assume you plugged it in to a switch on port FastEthernet0/1/7 ?
On the switch, can you see if the interface comes up/is up ?
0
 

Author Comment

by:kavinagpur
ID: 34134835
May be if i will use FE 0/0 then we'll get connectivity, because it's WAn interface...
from http://uc500.com/en/rommon-ios
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134870
Looks like that should work.
0
 

Author Comment

by:kavinagpur
ID: 34134894
Pls let me know i will load through Mem card that time which command need to run on router in rommon mode for copying IOS
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34134936
So you have a network connection now? Ok!

Then you can follow the steps as described here: http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml
0
 

Author Comment

by:kavinagpur
ID: 34142168
Hello All,

I have copy Image in Flash card & insert on router, but how to load Image in Flash from CF card in rommon mode, i'm unable to see CF card in Rommon mode..
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34143135
First, check what devices you have, command: dev
Aflash card should be in slot0 (or slot1).
Check wether the image is there, command: dir slot0: (or dir slot1: )
you should see something like: c1861-adventerprisek9-mz.124-10.bin
try to boot that image, command: boot slot0:c1861-adventerprisek9-mz.124-10.bin (or boot slot1:c1861-adventerprisek9-mz.124-10.bin).
Offcourse you use the image name you found by using the dir command and not the name I used here.
0
 

Author Comment

by:kavinagpur
ID: 34143210
Please let me know CF card is Flash of router or not ?
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34143224
I'm not sure what you mean by that.

You did the 'dev' command? What exactly dou you see?
0
 

Author Comment

by:kavinagpur
ID: 34143657
Now i'm in rommon mode i can't use  above command
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34143666
?
Is it giving you any error?
0
 

Author Comment

by:kavinagpur
ID: 34143915
I got below error i am very frusted from this issue

rommon 18 > boot system usbflash0
boot: unsupported boot device "system"
rommon 19 > boot system usbflash1
boot: unsupported boot device "system"
rommon 20 > 

also

rommon 42 > boot c1861-adventerprisek9-mz.124-24.T.bin
boot: unsupported boot device "c1861-adventerprisek9-mz.124-24.T.bin"
rommon 43 > boot flash:c1861-spservicesk9-mz.124-20.T4.bin
loadprog: error - on file open
boot: cannot load "flash:c1861-spservicesk9-mz.124-20.T4.bin"
rommon 44 >
0
 
LVL 35

Accepted Solution

by:
Ernie Beek earned 500 total points
ID: 34143965
So you have the device usbflash0 and 1?

Did you try: boot usbflash0:c1861-spservicesk9-mz.124-20.T4.bin or boot usbflash1:c1861-spservicesk9-mz.124-20.T4.bin

0
 

Author Comment

by:kavinagpur
ID: 34152088
Hello,

Unable to yet I think you should understand very well for help me, I hope you will solve my issue.
pls check this
rommon 49 > dev
Devices in device table:
        id  name
    flash:  external compact flash

I entered above & got this, also when i tried to boot flash:c1861-spservicesk9-mz.124-20.T4.bin
Readonly ROMMON initialized
loadprog: error - on file open
boot: cannot load "flash:c1861-adventerprisek9-mz.124-24.T.bin"
because
rommon 1 > Dir flash:

monitor: command "Dir" not found
rommon 2 > dir flash
dir: missing device identifier.
dir: "dir" to get list of devices supporting filesystems.
rommon 3 >

I hope you understand
0
 

Author Closing Comment

by:kavinagpur
ID: 34152872
Thanks for your help, Issue has been solved, issue was in IOS, it was corrupted

0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ghost Calls on Cisco Video Conference System 5 64
Systems talking to each other 5 124
Does Ping Packet go through Trunk port 4 53
BGP Code 12 41
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now