05-09-2022 01:45 AM
Hi all,
I need to have an automatic sistem config backup.
I tried to create an user that have ssh access.
From an external FTP server, i've created a script that logs in the switch and give the command "copy running-config tftp://x.x.x.x".
But it don't works.
I see this error comes back: "Line has invalid autocommand "copy running-config tftp://10.139.251.175".
What i can do?
Thanks.
BB.
Solved! Go to Solution.
05-09-2022 02:14 AM
you can use below methods.
1.
copy running-config ftp://put_user_name_here:put_password_here@put_machie_name_or_ip_here//home/users/some_location/ut-running-config.txt
2.
sw(config)#file prompt quiet
sw(config)#end
sw#copy run tftp://192.168.1.1/file.txt
use this commands to customize your script as need
05-09-2022 02:14 AM
you can use below methods.
1.
copy running-config ftp://put_user_name_here:put_password_here@put_machie_name_or_ip_here//home/users/some_location/ut-running-config.txt
2.
sw(config)#file prompt quiet
sw(config)#end
sw#copy run tftp://192.168.1.1/file.txt
use this commands to customize your script as need
05-09-2022 06:35 AM
Are you looking to Transfer using FTP or TFTP ?
Try Manually is that works before you make Automatc Transfer ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide