cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2429
Views
40
Helpful
11
Replies

copy IOS from router to tftp : Error

Dhikra Marghli
Level 5
Level 5

Hello

I have switch layer 3 : 3750 cisco , so i want to copy ios from this switch to PC with TFTP 

 

so i have a error !!!

 

Switch-federateur#copy flash: tftp:
Source filename [c3750e-universalk9-mz.122-55.SE3]?
Address or name of remote host []? 192.168.7.189
Destination filename [c3750e-universalk9-mz.122-55.SE3]?
%Error reading flash:c3750e-universalk9-mz.122-55.SE3 (Is a directory)
Switch-federateur#

 

So how i can copy IOS from cisco to TFTP and i wait a reply from expert switch layer 3 

thanks in advance

 

 

5 Accepted Solutions

Accepted Solutions


@Dhikra Marghli wrote:

So please can you help me and how i can resolve this error that i can copy ios to TFTP


Go to the Cisco website and download the IOS file from there.  

View solution in original post

You can not copy folder to Cisco Devices.

 

either you copy .bin files or install them using archieve command.

 

use below guide :

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/64898-upgrade-3750-stack.html

 

https://support.hpe.com/hpesc/public/docDisplay?docId=c02844731

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

You can copy here is the steps :

 

1. loging to cisco device type  #dir  ( post the output here)  c3750e-universalk9-mz.122-55.SE3

2. If this is installed directory you can not copy whole directory that is is not the best

 

c3750e-universalk9-mz.122-55.SE3  - this is directorty

 

3.

Switch-federateur#copy flash: tftp:

Source filename c3750e-universalk9-mz.122-55.SE3/xxxxxxxx.bin (or any file like to copy to PC

 

is this make sense ?

 

by the way why do you want to copy when they available to download ?

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post


@Dhikra Marghli wrote:

%Error reading flash:c3750e-universalk9-mz.122-55.SE3 (Is a directory)


Please learn to read the error message.  The error message is staring there in front of you. 

Cisco classic IOS cannot copy the entire directory.  You need to go into the directory and copy each file out. 

Alternatively, you can archive the entire directory and copy the archive file.  

The best method is to go to the Cisco website and download the file because you can verify if the file downloaded is corrupt.  

Again, why would anyone go to this much trouble to download a very buggy 12.2(55)SE3 is, to say the least, amusing.  

View solution in original post

Switch-federateur#dir flash:c3750e-universalk9-mz.122- 55.SE3

 

rather i download from cisco ste - c3750e-universalk9-mz.122- 55.SE3 - Image.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

11 Replies 11

Leo Laohoo
Hall of Fame
Hall of Fame

You are copying a sub-directory into your PC and it won't work. 

Besides, why would anyone want to copy 12.2(55)SE3.  Not only is this old but buggy as f**k!

 

I did not understand  you ... So please can you help me and how i can resolve this error that i can copy ios to TFTP

 

thanks in advance


@Dhikra Marghli wrote:

So please can you help me and how i can resolve this error that i can copy ios to TFTP


Go to the Cisco website and download the IOS file from there.  

Means this command is incorrect or i can't copy from router to TFTP !!!  it is impossible !!

 

 

i wait yiur answer that i can unterstand 

 

thanks in advance

You can not copy folder to Cisco Devices.

 

either you copy .bin files or install them using archieve command.

 

use below guide :

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/64898-upgrade-3750-stack.html

 

https://support.hpe.com/hpesc/public/docDisplay?docId=c02844731

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Switch-federateur#copy flash: tftp:
Source filename [c3750e-universalk9-mz.122-55.SE3]?
Address or name of remote host []? 192.168.7.189
Destination filename [c3750e-universalk9-mz.122-55.SE3]?
%Error reading flash:c3750e-universalk9-mz.122-55.SE3 (Is a directory)

 

Means that i can't copy IOS from device cisco to file in PC ( server TFTP ) ..that you mean your answer !!! ??

 

so what's the solution !!

thanks in advance

You can copy here is the steps :

 

1. loging to cisco device type  #dir  ( post the output here)  c3750e-universalk9-mz.122-55.SE3

2. If this is installed directory you can not copy whole directory that is is not the best

 

c3750e-universalk9-mz.122-55.SE3  - this is directorty

 

3.

Switch-federateur#copy flash: tftp:

Source filename c3750e-universalk9-mz.122-55.SE3/xxxxxxxx.bin (or any file like to copy to PC

 

is this make sense ?

 

by the way why do you want to copy when they available to download ?

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

can you post the output of:

 

dir flash:

Switch-federateur#dir flash:
Directory of flash:/

2 -rwx 1276 Mar 1 1993 00:01:06 +00:00 vlan.dat
3 -rwx 8175 Jan 4 2021 10:31:10 +00:00 config.text
4 -rwx 5035 Mar 1 1993 00:31:09 +00:00 sz
5 drwx 512 Jan 1 1970 00:10:48 +00:00 oldstuff
6 -rwx 1937 Jan 4 2021 10:31:10 +00:00 private-config.text
7 -rwx 3096 Jan 4 2021 10:31:10 +00:00 multiple-fs
8 drwx 512 Mar 1 1993 00:16:32 +00:00 c3750e-universalk9-mz.122- 55.SE3

57671680 bytes total (23336448 bytes free)
Switch-federateur#

Switch-federateur#dir flash:c3750e-universalk9-mz.122- 55.SE3

 

rather i download from cisco ste - c3750e-universalk9-mz.122- 55.SE3 - Image.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help


@Dhikra Marghli wrote:

%Error reading flash:c3750e-universalk9-mz.122-55.SE3 (Is a directory)


Please learn to read the error message.  The error message is staring there in front of you. 

Cisco classic IOS cannot copy the entire directory.  You need to go into the directory and copy each file out. 

Alternatively, you can archive the entire directory and copy the archive file.  

The best method is to go to the Cisco website and download the file because you can verify if the file downloaded is corrupt.  

Again, why would anyone go to this much trouble to download a very buggy 12.2(55)SE3 is, to say the least, amusing.  

Review Cisco Networking products for a $25 gift card