02-02-2016 09:38 AM
Hi
Thanks for your help, I would like to be able to back up my config, every time I write it. It's pretty simple to do with IOS and the archive feature. does anyone have an EEM applet that can do this?
thanks for everyone's time!
Dan
02-08-2016 05:01 AM
Hi
the question was here https://supportforums.cisco.com/discussion/11192916/automating-backup-configuration-cisco-nexus-5-and-7ks
You need just to change tftp to scp and maybe add host keys to Nexus and remote server to login without password.
Actually there is no "wr me" command on Nexus, so event should be set to something like
"event cli match "copy run*"
Good manual is here http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_eem_events_and_examples.html
Also I would recommend you to make auto-backups on a daily basis, triggered from external server. If you need, I could share working script for Nexus, it is written in Python.
02-11-2016 11:49 AM
This can be easily achieved with auto-archive. This has been answered in the past. Take a look at the link below.
https://supportforums.cisco.com/discussion/11258516/archive-command
HTH
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