05-19-2016 05:08 AM - edited 03-08-2019 05:50 AM
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
05-19-2016 05:30 AM
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
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.
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
05-19-2016 05:46 AM
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.
05-19-2016 06:04 AM
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
05-19-2016 06:11 AM
I was afraid of that.
Thanks for your help
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