Auto Backup from cisco nexus 9k
1- Cisco side
config t
feature scheduler
scheduler job name Backup-Weekly
copy running-config ftp://ftpusername:ftpuserpassword@ftp-server/cisco-device/switches/$(SWITCHNAME)-conf.$(TIMESTAMP)
end-job
scheduler schedule name Backup-Weekly
job name Backup-Weekly
time weekly 06:12:00
copy running-config startup-confi
FTP Server Side
i configure FTP server in linux called VSFTPD , you can install it only run command yum install vsftp
after finish all steps that required to run the ftp server go to sudo vi /etc/vsftpd/vsftpd.conf and add the following
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
nopriv_user=tatweerftp
ftpd_banner=||| Warning |||
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
chroot_local_user=YES
local_root=/home/$USER <— folder path
user_sub_token=$USER
allow_writeable_chroot=YES
save and reset ftp server
sudo systemctl restart vsftpd
Posted on 17/04/2016, in شروحات عربية. Bookmark the permalink. Leave a comment.
Leave a comment
Comments 0