cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2407
Views
0
Helpful
6
Replies

Kron problem

Jan Rockstedt
Level 1
Level 1

Hi,

Have C3750 Version 12.2(25r)SEE3

Trying to run:

kron policy-list backup

cli write

cli copy running-config tftp://xx.xx.xx.xx/swi06-confg

kron occurrence backup at 22:00 Mon recurring

policy-list backup

There are nothing backup and nothing in the logg.

Any sugestion?

Regards Jan

1 Accepted Solution

Accepted Solutions

Hi Jan,

Kron [Command Schedular] feature is not supported on switches.

Check the feature Navigator -

http://tools.cisco.com/ITDIT/CFN

"kron policy-list list-name" Command was introduced in 12.3.1 IOS -

http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g04.html#wp1049808

-> Sushil

View solution in original post

6 Replies 6

Hi Jan,

Kron [Command Schedular] feature is not supported on switches.

Check the feature Navigator -

http://tools.cisco.com/ITDIT/CFN

"kron policy-list list-name" Command was introduced in 12.3.1 IOS -

http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g04.html#wp1049808

-> Sushil

Thx,

Strange:

kron policy-list

Release Modification

12.3(1) This command was introduced.

But I have this command in IOS 12.2......

//Jan

Amit Singh
Cisco Employee
Cisco Employee

Jan,

You can use EEM insteak of Kron policy to achieve the same. Please have your 3750 to be upgraded to the latest IOS and then download the EEM script for doing the automatic backup of the config.

Link for downloading the EEM Script.

http://forums.cisco.com/eforum/servlet/EEM?page=search_results&fn=search&catId=0&count=20&skip=0&sortBy=3&order=DESC&mode=browse

HTH,Please rate if it does.

-amit singh

Jan,

Have a look at this as well -

http://www.blindhog.net/cisco-automatic-configuration-backup/

-> Sushil

Nice thx. :)

//Jan

andmende
Level 1
Level 1

Hi All,

Kron is supported in fixed units.  I just did a recreation in 3560, 3750 and 2960 running 12.2(50) and it worked by creating a back up of the show run in a tftp server.

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

Cisco Feature Navigator mentions this is not supported but it worked for me.  Be clear it mentions it does not support interactive commands; however, I am currently testing that.

SW3560#show clo

15:22:32.881 UTC Tue Jan 15 2013

SW3560#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

SW3560(config)#kron policy-li

SW3560(config)#kron policy-list CONFIGBACKUP

SW3560(config-kron-policy)#cli show run | redirect

SW3560(config-kron-policy)#

SW3560(config-kron-policy)#no cli show run | redirect

SW3560(config-kron-policy)#cli show run | redirect tftp://192.168.30.10/test.cfg

SW3560(config-kron-policy)#exit

SW3560(config)#kro

SW3560(config)#kron oc

SW3560(config)#kron occurrence CONFIGBACKUP a

SW3560(config)#kron occurrence CONFIGBACKUP at 15:29 ?

  <1-31>     Day of month

  DAY        Day of Week eg mon, tue, etc

  MONTH      Month of year eg jan, feb, etc

  oneshot    Schedule kron occurrence exactly once

  recurring  Schedule kron occurrence repeatedly

SW3560(config)#kron occurrence CONFIGBACKUP at 15:29 one

SW3560(config)#kron occurrence CONFIGBACKUP at 15:29 oneshot ?

 

SW3560(config)#kron occurrence CONFIGBACKUP at 15:29 oneshot

SW3560(config-kron-occurrence)#pol

SW3560(config-kron-occurrence)#policy-list CONFIGBACKUP

SW3560(config-kron-occurrence)#EXIT

SW3560(config)#exit

SW3560#

Jan 15 15:26:52.928: %SYS-5-CONFIG_I: Configured from console by console

SW3560#show kron sched

Kron Occurrence Schedule

CONFIGBACKUP inactive, will run once in 0 days 00:01:55 at 15:29 on

SW3560#

I hope that helps for you. 

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:

Review Cisco Networking products for a $25 gift card