cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1936
Views
0
Helpful
1
Replies

Using kron scheduler to backup a CME running config file

norman.west
Level 1
Level 1

I would like to use the kron command to schedule a backup of a CME configuration to an FTP server. How do I specify the host FTP server? I'm using the following link as a reference:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a008020260d.shtml

Backup Configuration to a TFTP Server:

This example is to save the running config to a TFTP server (10.1.1.1) every Sunday at 23:00:

Router(config)#kron policy-list Backup

Router(config-kron-policy)#cli show run | redirect
tftp://10.1.1.1/test.cfg
Router(config-kron-policy)#exit
!
Router(config)#kron occurrence Backup at 23:00 Sun recurring
Router(config-kron-occurrence)#policy-list Backup


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
1 Reply 1

Marwan ALshawi
VIP Alumni
VIP Alumni

i think if you use EEM will be easier

try the follwoing:

event manager applet backup

event timer cron name "sundays" cron-entry " 0 0 * * 0"  ---trigger script midnight once a week on Sunday

action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "file prompt quiet"
action 4.0 cli command "end"
action 5.0 cli command "copy running tftp://serverIP"   use normal CLI copmmands
action 6.0 cli command "config t"
action 7.0 cli command "no file prompt quiet"
action 8.0 cli command "end"


if you still have issues i would recomnd you to open this discussion under network managment section

good luck

if helpful Rate

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: