How to make ftp work on a Cisco 4500 w/ SupIV?

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
I've got exact same ip ftp username & password on a 4507R w/ SupIV, IOS 12.2(25)EWA4, and a 4006 w/ SupIII, IOS 12.2(25)EWA7.

The 4006 w/ SupIII can copy an image from my ftp server, but not the 4507 w/ SupIV.
The 4507 gives this error:
AiA1-SWHC-1-19#copy ftp bootflash
Address or name of remote host []? 10.1.180.10
Source filename []? cat4500-ios-promupgrade-122_31r_SGA
Destination filename [cat4500-ios-promupgrade-122_31r_SGA]?
Accessing <a target=_blank class=ftalternatingbarlinklarge href="ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA"><a target=_blank class=ftalternatingbarlinklarge href="ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA">ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA</a></a>...
%Error opening <a target=_blank class=ftalternatingbarlinklarge href="ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA"><a target=_blank class=ftalternatingbarlinklarge href="ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA">ftp://10.1.180.10/cat4500-ios-promupgrade-122_31r_SGA</a></a> (Protocol error)

I made sure there is enough space on flash, and no typo...the two switches are configured the same, but outcomes are different.
Why? and how do I make it work???
 

phatrabt

Senior member
Jan 28, 2004
238
0
0
What do the FTP server logs say? Protocol error sounds like something with FTP. Have you tried using a TFTP server instead?
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
TFTP worked, but this is a somewhat big file over the WAN, and I prefer using FTP, which is more reliable.
Checked the FTP log, which does not indicate any errors, except the FTP transfer completes for the 4006, but not for the 4507:
4507 w/ SupIV:
#Fields: time c-ip cs-method cs-uri-stem sc-status
05:42:20 172.16.3.3 [3]USER anonymous 331
05:42:20 172.16.3.3 [3]PASS an 230
05:42:22 172.16.3.3 [3]sent /cat4500-ios-promupgrade-122_31r_SGA 426
05:42:22 172.16.3.3 [3]QUIT - 426

4006 w/ SupIII:
05:47:55 172.16.3.4 [4]USER anonymous 331
05:47:55 172.16.3.4 [4]PASS an 230
05:47:57 172.16.3.4 [4]sent /cat4500-ios-promupgrade-122_31r_SGA 426
05:47:57 172.16.3.4 [4]QUIT - 426
05:47:57 172.16.3.4 [5]USER anonymous 331
05:47:59 172.16.3.4 [5]PASS an 230
05:48:01 172.16.3.4 [5]sent /cat4500-ios-promupgrade-122_31r_SGA 426
05:48:01 172.16.3.4 [5]QUIT - 426
05:48:01 172.16.3.4 [6]USER anonymous 331
05:48:02 172.16.3.4 [6]PASS an 230
05:48:04 172.16.3.4 [6]sent /cat4500-ios-promupgrade-122_31r_SGA 426
05:48:04 172.16.3.4 [6]QUIT - 426
05:48:04 172.16.3.4 [7]USER anonymous 331
05:48:05 172.16.3.4 [7]PASS an 230
05:48:20 172.16.3.4 [7]sent /cat4500-ios-promupgrade-122_31r_SGA 226
05:48:20 172.16.3.4 [7]QUIT - 226

Any ideas?
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
That's the thing, there's no NAT or firewall in between.
The FTP server and the two chassis switches are all part of an internal MPLS network.

That's why I've been pulling my hair on this...everything's the same, except the IOS code, and the Sup / chassis model.
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
ok, finally got it to work - it was the code.

I was lucky that the image was under 16MB. I got the remote site to give me access to a PC, I then use TFTP to transfer the image from the PC to the switch.
After upgrading to the latest code, 12.2(31)SGA1, I was able to FTP files.

So, lesson learned - FTP doesn't work w/ IOS 12.2(25)EWA4 on a SupIV.