cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1964
Views
0
Helpful
4
Replies

Backing up a nexus 5k

josephmeyer
Level 1
Level 1

I´m aware that archive doesn´t work on the Nexus.
I also cannot get the "feature scheduler" feature on the 5k.
Which other option do I have? We do not DCNM running.
I'd like to archive after saving the config on on a schedule, like on the Catalyst switches.

I can manually ftp the configs but would like to somehow automate the process.

Thanks

4 Replies 4

Mark Malone
VIP Alumni
VIP Alumni

5ks are limited no kron or archive commands as you seen

you could use a third party software or cisco prime

without that use eem is another option

Problem

The Cisco Nexus 5500 Series switches do not yet support the Scheduler feature in the 5.x, 6.x, or 7.x train. If the you must perform certain tasks every hour or every day, you are unable to without the Scheduler feature. 

Solution

If you modify the parameters on an EEM script (first supported in NXOS Version 6.0(2)N2(1)) in order to check for a value that always triggers, it simulates the functionality of the Scheduler feature, as it alters the poll-interval of the event.

In the next example, the Object Identifier (OID) is used for the CPU on the Nexus (1.3.6....1.1.1.6.1) switch. This OID always returns a value between 0 and 100, so you must ensure that it always triggers when it matches the OID against a value that is less than 12345, an arbitrarily high number against which it always triggers. You must then modify the poll-interval in order to trigger the event at the desired interval (86,400 seconds in this example) so that the desired actions are performed.

event manager applet Schedule_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 86400
action 1.0 cli copy running-configuration tftp://[server_IP]/$(SWITCHNAME)_
Running-Config_$(TIMESTAMP) vrf management vdc-all
action 2.0 syslog priority notifications msg Running_Config_Backup_Complete

This example copies the running-configuration to a TFTP server every 86,400 seconds, which is every 24 hours. The $(SWITCHNAME) and $(TIMESTAMP) variables are used so that the file is saved with a different name, which allows the server to keep multiple back-up configurations. Also note that the Running_Config_Backup_Complete message is printed in the syslog.

http://www.cisco.com/c/en/us/support/docs/switches/nexus-5000-series-switches/118894-technote-nx5k-00.html

Thanks for the reply Mark

Unfortunately I'm not on 6.0 I'm on ver 5.2(1)N1(6)

The event manager command fails at applet.

Think your out of options then from cli/cisco perspective on 5k then , that's kron,scheduler,eem and archive not available

You could try rancid or powershell windows script as free options

I was afraid of that.

Thanks for your help