cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1058
Views
5
Helpful
9
Replies

Nexus 3064 cannot send configuration to ftp

paku2020
Level 1
Level 1

Hi
I have a problem with sending configuration to ftp.
The problem is on Nexus 3064.
The FTP server works, I log in through an external program and send files to the server.

When I want to send the configuration to the ftp server from cisco, I have this:

SW01-Core# copy running-config ftp://10.0.0.12/sw1-run-config.bak vrf management
Enter username: cisco
Password:
Could not create file.
***** Transfer of file aborted, Login failed*****
***** Transfer of file aborted *****
SW01-Core#

 

I don't know what could be causing this error. Login and password are correct, permissions too.
Where to look for a solution?

9 Replies 9

balaji.bandi
Hall of Fame
Hall of Fame

**** Transfer of file aborted, Login failed***** 

above shows that login failed, check username /passsword?

BB

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

How to Ask The Cisco Community for Help

Login and password are valid. I checked with other FTP clients.
I logged in successfully.
Password is "v9sjc8zhch8dfZ#"
Maybe cisco doesn't accept all characters?

all config is OK
copy .................................  source-interface x/x <<- specify the source that will connect to ftp server. 
this source must reach the server, you can check via 
ping <server> source <interface> 

May be try creating sime user and password and test it.

BB

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

How to Ask The Cisco Community for Help

paku2020
Level 1
Level 1

I checked it. The FTP server is pinging the switch. The switch has a ping to the FTP server.

SW01-Core# ping 10.0.0.12 vrf management
PING 10.0.0.12 (10.0.0.12): 56 data bytes
64 bytes from 10.0.0.12: icmp_seq=0 ttl=62 time=1.095 ms
64 bytes from 10.0.0.12: icmp_seq=1 ttl=62 time=1.06 ms
64 bytes from 10.0.0.12: icmp_seq=2 ttl=62 time=0.97 ms
64 bytes from 10.0.0.12: icmp_seq=3 ttl=62 time=1.056 ms
64 bytes from 10.0.0.12: icmp_seq=4 ttl=62 time=10.246 ms

--- 10.0.0.12 ping statistics ---
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max = 0.97/2.885/10.246 ms
SW01-Core#

[root@ftp ~]# ping 172.16.2.147
PING 172.16.2.147 (172.16.2.147) 56(84) bytes of data.
64 bytes from 172.16.2.147: icmp_seq=1 ttl=254 time=0.591 ms
64 bytes from 172.16.2.147: icmp_seq=2 ttl=254 time=0.577 ms
64 bytes from 172.16.2.147: icmp_seq=3 ttl=254 time=0.510 ms
64 bytes from 172.16.2.147: icmp_seq=4 ttl=254 time=0.614 ms
64 bytes from 172.16.2.147: icmp_seq=5 ttl=254 time=0.451 ms
^C
--- 172.16.2.147 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 121ms
rtt min/avg/max/mdev = 0.451/0.548/0.614/0.065 ms
[root@ftp ~]#

It seems that the switch cannot create a file on plain ftp.

I did the test.

I changed the ftp server. It's the same error.

copy ............................................  vrf <vrf name> <<- use the VRF  management in end of copy command 
ip {ftp | http | tftpsource-interface {ethernet slot/port | loopback number} <<- add this command 

paku2020
Level 1
Level 1

You mean
copy running-config ftp://10.0.0.12/sw1-run-config.bak vrf management ?

Management is the name of the interface

please check I editing my previous post 

paku2020
Level 1
Level 1

Thank you for your answer.
I changed my approach. I made a copy via scp.
copy running-config scp://cisco@10.0.0.12 vrf management
It worked

Review Cisco Networking for a $25 gift card