06-08-2020 05:22 PM
Hi team,
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.
SLX-OS: 17r.1.0
SC2-SLX9540-A29# copy running-config ftp://user:password@172.16.31.11/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
Solved! Go to Solution.
06-08-2020 06:38 PM
Oleg,
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:
start-shell
Once in the Shell and appropriate VRF issue the command:
cd /var/config/vcs/scripts
Verify you see your config file with the “ls” command, and then establish FTP:
ftp [FTP_SERVER_IP]
Provide your UN/PW and navigate to the appropriate destination.
Use the following command to attempt to upload your config:
put slx.txt
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.
06-08-2020 08:24 PM
vrf-support has been added in SLX OS 18r.2.00.
06-08-2020 07:07 PM
Thank you,
That solved the issue. Keep forgetting that SLX-OS has a linux sub-system.
Still would be good to have the copy command to be vrf-aware.
Thanks one more time, Oleg
06-08-2020 06:38 PM
Oleg,
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:
start-shell
Once in the Shell and appropriate VRF issue the command:
cd /var/config/vcs/scripts
Verify you see your config file with the “ls” command, and then establish FTP:
ftp [FTP_SERVER_IP]
Provide your UN/PW and navigate to the appropriate destination.
Use the following command to attempt to upload your config:
put slx.txt
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.