Hi Friends,
we want to do auto-back configuration for Cisco 3K nexus switch through TFTP.
Please find the below sample configurations. suggest me best one and modify if any changes are required.
Because, below both are unable to configure and stocking at highlighted
Sample1
archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
path tftp://X.X.X.X/NexusSW
write-memory
time-period 86400
===========================
Sample2
feature scheduler
scheduler logfile size 1024
scheduler job name BKP
path tftp://X.X.X.X/NexusSW
or
copy running-config ftp://user:password@x.x.x.x/$(SWITCHNAME).txt vrf default
scheduler schedule name DAILY
job name BKP
time daily 23:30
Thanks & Regards,
Srinivas. N.