Solved

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

Posted on 2010-11-15
22
1,422 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
Comment Utility
0
 

Author Comment

by:kavinagpur
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:kavinagpur
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Looks like that should work.
0
 

Author Comment

by:kavinagpur
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 35

Expert Comment

by:Ernie Beek
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Please let me know CF card is Flash of router or not ?
0
 
LVL 35

Expert Comment

by:Ernie Beek
Comment Utility
I'm not sure what you mean by that.

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

Author Comment

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

Expert Comment

by:Ernie Beek
Comment Utility
?
Is it giving you any error?
0
 

Author Comment

by:kavinagpur
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for your help, Issue has been solved, issue was in IOS, it was corrupted

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In a WLAN, anything you broadcast over the air can be intercepted.  By default a wireless network is wide open to all until security is configured. Even when security is configured information can still be intercepted! It is very important that you …
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
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…

743 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

17 Experts available now in Live!

Get 1:1 Help Now