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

Error while copying ios from tftp to switch

Hi all,

i am trying to copy IOS  from my TFTP server which is on laptop to cisco 3548xl  switch

my curent tftp directory on laptop is c\windows\system32

filename is c3500xl-c3h2s-mz.120-5.WC17.bin

3548XL#copy tftp:

i ran this command
3548XL#copy tftp:\\192.168.1.3_c:\windows\system32\tftp c3500xl-c3h2s-mz.120-5.WC17.bin
Address or name of remote host [192.168.1.50]? 3548xl
Source filename [\\192.168.1.3_c:\windows\system32\tftp]? c3500xl-c3h2s-mz.120-5.WC17.bin
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://3548xl/c3500xl-c3h2s-mz.120-5.WC17.bin...
%Error opening tftp://3548xl/c3500xl-c3h2s-mz.120-5.WC17.bin (Timed out)

Please help

thanks

mahesh

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

You only have one IOS.  You don't need to set the boot statement.  I recommend you remove any by using the command "no boot system".

15 REPLIES
Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

The command should be copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:

Presuming that your TFTP server is pointing to the main TFTP folder.

Community Member

Re: Error while copying ios from tftp to switch

hi

thanks for reply

i did this

#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
%Error opening tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin (No such file or directory)

also my tftp server window shows

current directory is c:\windows\system32

Re: Error while copying ios from tftp to switch

Hi,

Can you do the following checks

1.Ping the switch IP address from you laptop in which TFTP is running.

2.check the tftp root directory once again, and the check the file name of the IOS.

3.Finally check weather TFTP server is running properly in your laptop.

regards

karuppu

Community Member

Re: Error while copying ios from tftp to switch

hi,

i tried again here is result

3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OOO!OO!OO!OO!OOO
%Error reading tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted)
3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OO!OO!OO!OO!OOOOO!OOOOO!
%Error writing flash:/c3500xl-c3h2s-mz.120-5.WC17.bin (No space left on device)************************

this ios is 1.72 mb

3548XL#sh flash

Directory of flash:/

  2  -rwx     1645807   Feb 28 1993 21:32:09  c3500XL-c3h2s-mz-120.5.2-XU.bin
  3  -rwx       94674   Apr 03 2000 18:53:30  c3500XL-diag-mz-120.5-XU
  4  drwx          64   Sep 25 2006 14:40:51  html
  7  -rwx         108   Feb 28 1993 21:30:16  info
  6  -rwx         556   Feb 28 2010 22:11:24  vlan.dat
113  -rwx         108   Feb 28 1993 21:33:16  info.ver
114  -rwx        3656   Mar 04 1993 06:22:54  s2edcw2a1.txt
  8  -rwx     1811155   Sep 25 2006 14:45:03  c3500xl-c3h2s-mz.120-5.wc15.bin
10  -rwx        2588   Feb 21 2010 18:42:34  config.text
  9  -rwx         315   Sep 25 2006 14:45:37  env_vars

3612672 bytes total (49152 bytes free)

Re: Error while copying ios from tftp to switch

Hi,

The IOS(c3500xl-c3h2s-mz.120-5.wc15.bin) you want to upgrade it is already present in the flash.

Currently there is no free space is available to upgrade.Moreover if you want to upgrade you have to delete some unncessary files , the try to upload the IOS.

regards

karuppu

Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

He's trying to copy WC17. 

Re: Error while copying ios from tftp to switch

Hi,


Oh..sorry for the mistake.

Mahesh : try to delete the unwanted fiels in your flash.before that check the IOS version runnning in your switch.

Make the free space and try to upgrade . it should work .

regards

karuppu

Community Member

Re: Error while copying ios from tftp to switch

Hi

i tried again

3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OOO!OO!OO!OO!OOO
%Error reading tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted

Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

You only get "O" when either the link is slow or there's not enough flash space because something else is there.

You need to delete the following files:

c3500XL-c3h2s-mz-120.5.2-XU.bin
c3500xl-c3h2s-mz.120-5.wc15.bin

Use the command "delete flash:"

Community Member

Re: Error while copying ios from tftp to switch

Hi ,

thanks for reply

hi,

i tried again here is result

3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OOO!OO!OO!OO!OOO
%Error reading tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted)
3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OO!OO!OO!OO!OOOOO!OOOOO!
%Error writing flash:/c3500xl-c3h2s-mz.120-5.WC17.bin (No space left on device)************************

this ios is 1.72 mb

3548XL#sh flash

Directory of flash:/

  2  -rwx     1645807   Feb 28 1993 21:32:09  c3500XL-c3h2s-mz-120.5.2-XU.bin
  3  -rwx       94674   Apr 03 2000 18:53:30  c3500XL-diag-mz-120.5-XU
  4  drwx          64   Sep 25 2006 14:40:51  html
  7  -rwx         108   Feb 28 1993 21:30:16  info
  6  -rwx         556   Feb 28 2010 22:11:24  vlan.dat
113  -rwx         108   Feb 28 1993 21:33:16  info.ver
114  -rwx        3656   Mar 04 1993 06:22:54  s2edcw2a1.txt
  8  -rwx     1811155   Sep 25 2006 14:45:03  c3500xl-c3h2s-mz.120-5.wc15.bin
10  -rwx        2588   Feb 21 2010 18:42:34  config.text
  9  -rwx         315   Sep 25 2006 14:45:37  env_vars

3612672 bytes total (49152 bytes free)

above shows my current flash on switch.

do you know which files i can delete?

Community Member

Re: Error while copying ios from tftp to switch

Hi

thanks for great reply

here is what i have done

548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 1811552 bytes]

1811552 bytes copied in 66.3 secs (27447 bytes/sec)
3548XL#sh flash

Directory of flash:/

  2  -rwx     1811552   Feb 28 2010 22:25:57  c3500xl-c3h2s-mz.120-5.WC17.bin
  3  -rwx       94674   Apr 03 2000 18:53:30  c3500XL-diag-mz-120.5-XU
  4  drwx          64   Sep 25 2006 14:40:51  html
  7  -rwx         108   Feb 28 1993 21:30:16  info
  6  -rwx         556   Feb 28 2010 22:21:36  vlan.dat
113  -rwx         108   Feb 28 1993 21:33:16  info.ver
114  -rwx        3656   Mar 04 1993 06:22:54  s2edcw2a1.txt
10  -rwx        2588   Feb 21 2010 18:42:34  config.text
  9  -rwx         315   Sep 25 2006 14:45:37  env_vars

3612672 bytes total (1694720 bytes free)
3548XL#delete v?
% Unrecognized command
3548XL#config t
Enter configuration commands, one per line.  End with CNTL/Z.
3548XL(config)#boot ?
  boothlpr            Boot Helper System Image
  buffersize          Specify the buffer size for filesystem-simulated NVRAM
  config-file         Configuration File
  enable-break        Enable Break while booting
  helper              Helper Image(s)
  helper-config-file  Helper Configuration File
  manual              Manual Boot
  system              System Image

3548XL(config)#boot sys
3548XL(config)#boot system ?
  WORD  pathlist of boot file(s) ... file1;file2;...

3548XL(config)#boot system file.bin
3548XL(config)#end
3548XL#reload

System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]n
3548XL#boot
3548XL#boot sys
3548XL#config t
Enter configuration commands, one per line.  End with CNTL/Z.
3548XL(config)#boot sysa
3548XL(config)#boot sys
3548XL(config)#boot system ?
  WORD  pathlist of boot file(s) ... file1;file2;.

just last step left

under config t

what command should i use

boot system c3500xl-c3h2s-mz.120-5.WC17.bin and then reload?

many thanks

Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

You only have one IOS.  You don't need to set the boot statement.  I recommend you remove any by using the command "no boot system".

Community Member

Re: Error while copying ios from tftp to switch

Hi,

Many thanks for helping me all the way.

i am all set now

take care

mahesh

Hall of Fame Super Gold

Re: Error while copying ios from tftp to switch

Thanks for the ratings Mahesh.  Glad to be of some assistance.

Community Member

Re: Error while copying ios from tftp to switch

hi,

i tried again here is result

3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OOO!OO!OO!OO!OOO
%Error reading tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted)
3548XL#copy tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin flash:
Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?
Accessing tftp://192.168.1.3/c3500xl-c3h2s-mz.120-5.WC17.bin...
Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 192.168.1.3 (via VLAN1): !!O!!O!OO!OO!OO!OO!OOOOO!OOOOO!
%Error writing flash:/c3500xl-c3h2s-mz.120-5.WC17.bin (No space left on device)************************

this ios is 1.72 mb

3548XL#sh flash

Directory of flash:/

  2  -rwx     1645807   Feb 28 1993 21:32:09  c3500XL-c3h2s-mz-120.5.2-XU.bin
  3  -rwx       94674   Apr 03 2000 18:53:30  c3500XL-diag-mz-120.5-XU
  4  drwx          64   Sep 25 2006 14:40:51  html
  7  -rwx         108   Feb 28 1993 21:30:16  info
  6  -rwx         556   Feb 28 2010 22:11:24  vlan.dat
113  -rwx         108   Feb 28 1993 21:33:16  info.ver
114  -rwx        3656   Mar 04 1993 06:22:54  s2edcw2a1.txt
  8  -rwx     1811155   Sep 25 2006 14:45:03  c3500xl-c3h2s-mz.120-5.wc15.bin
10  -rwx        2588   Feb 21 2010 18:42:34  config.text
  9  -rwx         315   Sep 25 2006 14:45:37  env_vars

3612672 bytes total (49152 bytes free)

6916
Views
0
Helpful
15
Replies
CreatePlease to create content