06-17-2021 07:34 AM
I am receiving an error while trying to use the archive download-sw command. I have verified connectivity to my FTP server (ping and ran a successful "copy" command). I am upgrading a 3560-X running 12.2.55 to 15.2.4. Below is the output:
SW1#archive download-sw scp://<user>:<password>@<IP address>/Cisco/IOS/c3560e-universalk9-tar.152-4.E10.tar
Could not buffer tarfile...using multiple downloads
examining image...
%Error opening scp://<user>:<password>@<IP address>/Cisco/IOS/c3560e-universalk9-tar.152-4.E10.tar (No such file or directory)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.
I see examples of TFTP and RCP but is SCP or SFTP supported?
06-17-2021 07:50 AM
is this FTP or SCP ? FTP run standard port, SCP run secure port.
Try manually upload config from device to SCP server is this works ?
check below :
path correct
do you see any request in serer side from device ?
06-17-2021 11:12 AM
is this FTP or SCP ? FTP run standard port, SCP run secure port.
SCP/22
Try manually upload config from device to SCP server is this works ?
Yes, this works.
path correct
From WinSCP UI: /Cisco/IOS
File is located in that directory (file name: c3560e-universalk9-tar.152-4.E10.tar)
do you see any request in serer side from device ?
Yes from the logs I can see session open with user and session quickly close on the FTP server. Not sure if I have the right syntax or not.
archive download-sw scp://<user>:<password>@<IP address>/Cisco/IOS/c3560e-universalk9-tar.152-4.E10.tar
06-17-2021 12:28 PM
Hi,
Not sure if 12.2.55 supports SCP or SFTP. Here are several examples for 12.2.53 version but they are all pointing to TFTP
This example shows how to download a new image from a TFTP server at 172.20.129.10 and to overwrite the image on the switch:
This example shows how to download only the software image from a TFTP server at 172.20.129.10 to the switch:
This example shows how to keep the old software version after a successful download:
This example specifies the location of two tar images without having to specify the path each time:
This example specifies the location of three tar images without having to specify the path each time:
This example shows how to upgrade stack members 6 and 8:
06-17-2021 01:12 PM
path correct From WinSCP UI: /Cisco/IOS File is located in that directory (file name: c3560e-universalk9-tar.152-4.E10.tar)
Not from WinSCP
Fro router test copy running to scp server see if that works ?
as another post suggested, SCP support in 12.2. ( been used this IOS Long cant remember)
SW1#archive download-sw ? ( post what option you have?
Quick and Dirty i download simple TFTP to your Laptop copy the image and upgrade, rather making complicate things
06-17-2021 01:23 PM
Yes, id id copy from switch to FTP server. I logged into winscp just to verify path from my laptop. Yeah, I will just create a tftp server
Thank you.
06-17-2021 01:35 PM - edited 06-17-2021 01:36 PM
Yes, id id copy from switch to FTP server. I logged into winscp just to verify path from my laptop. Yeah, I will just create a tftp server
i am bit confused here. you mentioned here FTP, is this SCP or FTP ?
can you give me syntax of the copy ?
along with below command
show version from switch
dir
SW1#archive download-sw ? (if you type ? you get options) post complete message here
06-18-2021 08:01 AM
Sorry, I refer to it a s an FTP server when in actuality port 21 is not allowed only secure protocols SFTP, SCP.
06-17-2021 03:34 PM
@Cisco42 wrote:
Error opening scp://<user>:<password>@<IP address>/Cisco/IOS/c3560e-universalk9-tar.152-4.E10.tar (No such file or directory)
Put a file in the file directory -- Any file. A text file is preferred.
Attempt to copy this file from the server to the switch and let us see what error message(s) pops up.
06-18-2021 08:44 AM
SW1#copy scp://10.100.249.18/Cisco/IOS/test.txt flash:
Source username [admin]? root
Destination filename [test.txt]?
Password:
%Error opening scp://root@10.100.249.18/Cisco/IOS/test.txt (No such file or directory)
I am able to copy my running config to the same directory (write) with this command:
SW1#copy run scp:/Cisco/IOS
Address or name of remote host []? 10.100.249.18
Destination username [admin]? root
Destination filename [/Cisco/IOS]?
Writing /Cisco/IOS
Password:
!
5682 bytes copied in 13.548 secs (419 bytes/sec)
Both Directories are set to 0755 (Read, Write, Execute for owner, root)
06-18-2021 08:50 AM
Use a different machine as the server.
06-18-2021 09:25 AM
I am now trying to access the file from a tftp server (different server). Similar results.
SW1#archive download-sw tftp://<IP address>/tftp-share/c3560e-universalk9-tar.152-4.E10.tar
Could not buffer tarfile...using multiple downloads
examining image...
%Error opening tftp://10.237.160.250/tftp-share/c3560e-universalk9-tar.152-4.E10.tar (No such file or directory)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.
From TFTP server:
TFTP Error from <IP address> requesting tftp-share\c3560e-universalk9-tar.152-4.E10.tar: File does not exist
06-18-2021 06:18 PM
@Cisco42 wrote:
c3560e-universalk9-tar.152-4.E10.tar: File does not exist
Ok, so both SCP and TFTP are saying the same thing. Check the directory where the file is stored and see if the filename is present. If the SCP/TFTP server is a Windows-based system, make sure the "hide file extension" option is disabled.
Then check if TFTP is pointing to the correct sub-directory or not.
If the problem still exist, try moving the file into a USB stick
06-21-2021 07:12 AM
06-21-2021 08:28 AM
Looks like the version is EOL i guess, you will not find from cisco site here.
may be google that .bin file you will see some download archive sites. or i least bother i use latest version to recovery in case anything go wrong as ROMMON recovery with 15.X version
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