cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
72461
Views
25
Helpful
4
Replies

copy ftp flash function changed?

andy-cole
Level 1
Level 1

I'm used to using FTP to load images onto routers, recently I notice that this appears to have stopped working.

The 3 commands I use in the router are:

ip ftp user <name>

ip ftp password <password>

no ip ftp passive

Then issue the command `copt ftp flash' and fill in the requested details.

In routers running later IOS versions this now hangs, the initial connection is made but then the process stops.

If I reset the FTP server the router detects the connection closure, so the command channel is still active.

I've tried this on several PC's now directly connected, has anyone else come across this??

Andy

4 Replies 4

a.grauso
Level 1
Level 1

Try this command:

copy ftp:[[[//[username[:password]@]location]/directory]/filename] flash-filesystem:[filename]

example:

copy ftp://user:psw@x.x.x.x//ftpdir/rsp-boot-mz.122-23.bin bootflash:

Alex

Thanks Alex,

I'll give that a go.

Andy

FTP is way to go, but you can make your life even more simpler by configuring the following global commands:

ip ftp username <username>

ip ftp password <password>

then just go for ' copy ftp flash '

BOOM

Ajaz

This worked very well.

I used Cerberus eval for FTP.

Make sure you copy your image file into the C:\ftproot subfolder

Worked weill on my Cisco 3850s where TFTP from OpenTFTP and Solaris would time out every time.

 

Thanks for info those in the thread !

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: