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

EEM script to capture running config & transfer to FTP server at particular date & time

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

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

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

faizanelahi
Level 1
Level 1

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.

Review Cisco Networking for a $25 gift card