I’m having trouble while trying to copy running config to the remote ftp server.
I have two VRFs (mgmt and default), each configured with 0.0.0.0/0.
I’m able to ping the remote ftp server.
SC2-SLX9540-A29# copy running-config ftp://user:firstname.lastname@example.org/slx.txt
Error while transferring file over ftp. Please check the host IP address, user/password, and the permission and space left on the remote directory.
In addition, I was able to download the config form my VDX fabric, configured the same way.
Would appreciate any troubleshooting hints.
Thank you, Oleg
Best answer by Michael Morey
If you have already verified connectivity, UN/PW and directory permissions, I suggest you test if you can reach the FTP server from the linux sub-system.
From SLXOS issue the command:
copy run flash://slx.txt
Then go to the Linux shell:
- This will place you in the VRF “mgmt-vrf”
- To move to the VRF “default”, elevate to Root with “su” and use the command:
- /fabos/cliexec/vrfcmd 1 bash
Once in the Shell and appropriate VRF issue the command:
Verify you see your config file with the “ls” command, and then establish FTP:
Provide your UN/PW and navigate to the appropriate destination.
Use the following command to attempt to upload your config:
At the various steps you can eliminate some of the variables in your issue; if you can connect via FTP we can validate that the UN/PW is being accepted, if you can navigate to the path we can validate that the path is correct, and if you can copy successfully we know the permissions are OK.