02-16-2016 10:49 PM
Hi,
Could any please let me know if we could use EEM script for capturing running config and send it to FTP server at particular Time/date
We have 200 routers & want to capture running config of all routers at particular time.
Thanks
02-16-2016 11:35 PM
You could use a kron job as another option probably easier to configure an maintain than eem script
#https://learningnetwork.cisco.com/blogs/vip-perspectives/2013/10/30/understanding-cisco-auto-archive-feature-to-backup-configuration-file
02-17-2016 06:01 AM
As said by Mark, Kron is much easier than eem script for scheduled backups.
But if you still want to go with EEM, below is the procedure...
event manager applet "backup"
event timer cron cron_entry "0 8 15 * *"
(cron is for periodic and cron entry is based on 5 fields--Min, Hour, Date, Month, Day of week) (
Here am planning to take backup on 15th of every month at 08:00 am , any month and any day of the week...so write *
action 1.0 cli command "enable"
action 2.0 cli command "copy startup tftp:" pattern "remote host"
action 3.0 cli comamnd "IP ADDRESS of your tftp server " pattern "filename"
action 4.0 cli command ""
Here " " means just enter...
Hope it clarifies.....
Correct me if am wrong.
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