Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

TFTP from flash, running IOS 12.3(24)

I want to xfer the IOS image on Router L to Router B.

In global config mode on Router L, the ? facility tells me that the tftp-server command can only specify files whose URL's start with null: or nvram: or system:

Except, I want to copy the IOS image out of flash.

I haven't had a problem with this in IOS 12.2...what do I need to do here?

12 REPLIES
Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

What type of device is this?

Re: TFTP from flash, running IOS 12.3(24)

Sorry; I was astonished to notice that I had left that info out.

It's a 2501, running IOS 12.3(24).

Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

This sounds like a bug (or perhaps a problem with your flash). I have a few 2500s left running older code, and I am able to configure flash:. I have a few 2600s running 12.3, and I am able to configure flash: there as well. I couldn't find any matching bugs on this, so your issue may be a new one.

Re: TFTP from flash, running IOS 12.3(24)

If tftp from flash simply isn't an option; can you recommend a workaround?

Maybe from Rxboot or ROMMON mode?

Is there a way to copy from flash into an nvram file (it does have 16MB NVRAM...) and then tftp it from there?

Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

NVRAM isn't a workaround. It isn't nearly big enough. The only workaround I see is to copy the image from the 2501 to a host-based TFTP server, then copy that image to the new router from that host-based server.

Re: TFTP from flash, running IOS 12.3(24)

But copy the image _how_ ??

The whole problem is that copying the image from the 2501 isn't an option; at least not via TFTP.

Router#tftp-server ?

nvram:

null:

system:

are the only options. No "flash:"

There's the rub! Any suggestions?

Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

Copy the image using the router as a TFTP client. Say you have a host-based TFTP server running on 10.1.1.1:

Router#copy flash:c2500-i-l.123-24 tftp://10.1.1.1

Then, on the router router:

Router(boot)#copy tftp://10.1.1.1/c2500-i-l.123-24 flash:

Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

Sorry, I misread your first sentence. If what I stated in my previous post is not an option, then would another protocol like RCP work?

Re: TFTP from flash, running IOS 12.3(24)

I'm researching the rcp option right now - I've moved dozens of images around using tftp so it's a major comfort zone for me; only I've never used anything else; so I'm treading lightly.

Cisco Employee

Re: TFTP from flash, running IOS 12.3(24)

RCP is a TCP transport using tcp/514. This configuration example is for CiscoWorks, but will work in general for a user named "cwuser":

username cwuser password 7 000C1C0A05

ip rcmd rcp-enable

ip rcmd remote-host cwuser 172.17.246.221 cwuser enable

ip rcmd remote-username cwuser

Re: TFTP from flash, running IOS 12.3(24)

Thank you for that.

I'm familiarizing myself with "rsh" and the other stuff so I'll have a faint idea what I'm doing.

I will keep you updated!

Re: TFTP from flash, running IOS 12.3(24)

Now this is interesting:

==================================

Router(config)#tftp-server flash:c2500-is-l.123-24.bin

^

% Invalid input detected at '^' marker.

Router(config)#tftp-server ?

null: Allow URL file TFTP load requests

nvram: Allow URL file TFTP load requests

system: Allow URL file TFTP load requests

Router(config)#tftp-server c2500-is-l.123-24.bin

^

% Invalid input detected at '^' marker.

Router(config)#

==================================

If "flash:" isn't allowed in the tftp-server command, how come the "^" error marker only points out the colon, not the "f?" But it catches the "c" in the filename first thing.

Is this worth analyzing, or am I just dealing with a zotzed router?

200
Views
0
Helpful
12
Replies