cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2510
Views
0
Helpful
2
Replies

Help with EEM applet to backup config via SCP for Nexus ?

dcarr3311
Level 1
Level 1

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

2 Replies 2

dukenuk96
Level 3
Level 3

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.

Sakthi Malli
Cisco Employee
Cisco Employee

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

Review Cisco Networking for a $25 gift card