cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
658
Views
1
Helpful
1
Replies

2960 FTP syntax issue...

Hi.

I'm having a syntax problem. May you please assist? Thank you!

FACT: It is possible that the FTP string is not correctly configured within the ftp server. I think this is a switch syntax issue.

Cisco literature: Catalyst 2960-X Switch Cisco IOS File System and Image Management Configuration Guide, Cisco IOS Release 15.0(2)EX - Working with Image Files [Cisco Catalyst 2960-X Series Switches] - Cisco

archive download-sw [ /directory ] /overwrite /reload ftp: [[ // username[:password ] @location ]/ directory ] / image-name1 .tar [ image-name2 .tar image-name3 .tar image-name4 .tar ]

Example: Switch# archive download-sw /overwrite /reload ftp:172.20.10.30/saved/myImage.tar

------

when I input...

archive download-sw /leave-old-sw ftp://myusername mypassword @172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin

... I receive the error...

Translating "myusername"...domain server (255.255.255.255)

---

When I input... archive download-sw /leave-old-sw ftp:// myusername mypassword @172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin

...I receive error...

"archive download-sw /leave-old-sw ftp:// myusername mypassword @172.16.5.1/os/ ^c2960x-universalk9-mz.152-7.E7.bin

% Invalid input detected at '^' marker.

---

May you please provide correct syntax? Thank you.

 

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

ftp:// myusername:mypassword@172.16.5.1 (make sure use username:password)

when you pasting, there is no spaces should be there

archive download-sw /leave-old-sw ftp://myusername:mypassword@172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin

BB

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

How to Ask The Cisco Community for Help

View solution in original post

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

ftp:// myusername:mypassword@172.16.5.1 (make sure use username:password)

when you pasting, there is no spaces should be there

archive download-sw /leave-old-sw ftp://myusername:mypassword@172.16.5.1/os/c2960x-universalk9-mz.152-7.E7.bin

BB

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

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card