10-06-2023 02:29 PM
Under dir flash the image "c900-universalk9-mz.SPA.159-3.M2.bin" nor any ".bin" file is listed. When I try to copy from my tftp server (solarwinds) this is what I get --
Router#copy tftp: flash:
Address or name of remote host []? 192.168.1.1
Source filename []? c900-universalk9-mz.SPA.159-3.M2.bin
Destination filename [c900-universalk9-mz.SPA.159-3.M2.bin]? enter
%Warning:There is a file already existing with this name
Do you want to over write? [confirm] enter
Accessing tftp://192.168.1.1/c900-universalk9-mz.SPA.159-3.M2.bin...
Loading c900-universalk9-mz.SPA.159-3.M2.bin from 192.168.1.1 (via GigabitEthernet5): !
[Ok - 1165 bytes]
%Error opening flash:/c900universalk9-mz.SPA.159-3.M2.bin (No such file or directory)
Why is not opening?
other methods have failed too!
on another method, it copied but still nothing under the list Router# dir flash
10-06-2023 05:14 PM
@shanxxrai wrote:
%Warning:There is a file already existing with this name
Post the complete output to the command "dir".
10-06-2023 11:10 PM
I am concerned about this part of the output that was posted
Loading c900-universalk9-mz.SPA.159-3.M2.bin from 192.168.1.1 (via GigabitEthernet5): !
[Ok - 1165 bytes]
That is not nearly enough data to be a valid bin file.
10-14-2023 07:49 AM
File size: 67370036
10-14-2023 07:47 AM
10-07-2023 12:29 AM
Hello @shanxxrai
What is the size of the bin file on your TFTP server ? As @Richard Burts mentioned, strange that only 1165 bytes are uploaded !
Do you have enough free space on your flash: ?
10-14-2023 07:51 AM
Showa in the Solarwind TFTP server, file size: 67370036
10-14-2023 08:53 AM
From a high level this is what is happening:
- the client (your 921) requests a file from the tftp server.
- the server sends the first packet of the file to the client.
- the client responds with some error code and the server aborts.
It is not clear why the client errors out. My suggestion for the next step is to run debug for tftp on your 921, attempt the file copy, gather and post all output.
10-14-2023 09:27 AM
The Strange here is - the one you posted show version shows that the file already in the flash:
and the device booted after power on
the File you trying to copy same file name, why you want to copy if the File already in the Flash ?
Its bit confuses to read screenshot - rather screenshot ( text output - post below output complete)
show version
show run | in boot
dir flash:
10-14-2023 05:58 PM
Do you have physical access to this router?
10-16-2023 05:06 AM
there are everal errors displayed in your output
looking at: WhatsApp Image 2023-10-06 at 22.18.04.jpeg
shows you are issuing TFTP copy commands while in configuration mode -> exit configuration mode first
looking at: WhatsApp Image 2023-10-06 at 22.18.04 (4).jpeg
shows you are not copying FROM, but copying TO the tftp server
"copy start tftp:" tries to copy the startup-config to the tftp server, and you are overwriting the destination file!
after this command, this file on the tftp server is not the boot-image anymore,
but it is the startup-config that has is NAMED the same as as the boot-image
this explains for the small number of bytes copied from the tftp server in WhatsApp Image 2023-10-06 at 22.18.04 (2).jpeg
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide