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!
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.
This can be easily achieved with auto-archive. This has been answered in the past. Take a look at the link below.
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: