cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3513
Views
0
Helpful
3
Replies

Nexus 5K automatic backup configuration

maumontane
Level 1
Level 1

Hello! I have a Nexus 5K with OS 7.3 and looking for help to find the commands to make an automatic backup to a remote server.

I am not able to use the scheduler command that I am able to use on other N9K version 7.0.

 

Thanks,

Mauricio

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

I use simple EEM script to backup.

 

event manager applet NX-OS_Conf_TFTP_Backup
  event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 get-type exact entry-op le entry-val 12345 poll-interval 120
  action 1.0 cli command enable
  action 2.0 cli copy run tftp://10.10.9.9
  action 3.0 syslog priority notifications msg Running_Config_Backup_TFTP_Complete

I used interval of 120 second for testing, change this to your requirement - this in seconds.

10.10.9.9 is my TFTP Server (running on Linux).

 

below message you see in syslog in Switch

 CORESW2 %EEM_ACTION-5-NOTIF: Running_Config_Backup_TFTP_Complete 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello Balaji!! Thanks for the help! I am not familiar with the scripts, after applied the configuration (changing to the tftp I use), I am getting this logs:


eem_policy_dir: Policy Expired

 

If I run directly the copy run tftp command I am able to make the backup, but not through the script.

 

Do you know what I could be missing?

 

Many thanks,

Mauricio

Not sure, i checked with couple of my device all works, even 5K and 7K

 

check you may have hit with an caveats.

 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/7_x/nx-os/release/notes/7x_nx-os_release_note.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card