cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
1
Replies

Auto-back for Nexus3K

Srinivas N
Level 1
Level 1

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.
1 Reply 1

Hello,

 

the below script should work:

 

feature scheduler
scheduler logfile size 1024
scheduler job name BKP
copy running-config ftp://ftpusername:ftpuserpassword@ftp-server/cisco-device/switches/$(SWITCHNAME)-conf.$(TIMESTAMP)
end-job
scheduler schedule name DAILY
job name BKP
time daily 23:30

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: