Does the 2960 allow the use of KRON subsystem - for scheduled backups?

Posted on 2008-01-29
Medium Priority
Last Modified: 2010-08-05
Does the 2960 allow the use of the KRON subsystem - for scheduled backups?
Question by:mac326a

Accepted Solution

Steven Sheeley earned 2000 total points
ID: 20771136
KRON was introduced in Cisco IOS 12.3(1).  As far as I can tell, the Catalust 2960's latest release is 12.2(25) so, yes, it should have that functionality.  

You can use the privileged EXEC command SHOW VERSION to see what version of IOS you are running.  Here's a quick little example of what you're trying to do, given that you're runnign a version of IOS that is later than 12.3(1)

First, create a kron policy list. Essentially, this policy list serves as your "script," which lists what you want the router to run at a scheduled time.

Router(config)# kron policy-list backup
Router(config-kron-policy)# cli write
Router(config-kron-policy)# exit

Next, create a kron occurrence, in which you tell the router when and how often you want to run this policy list (i.e., group of commands).

Router(config)# kron occurrence backup at 22:00 Mon recurring
Router(config-kron-occurrence)# policy-list backup

This code sets up your backup job to run every Monday night at 10 P.M. (22:00 in military time).

Finally, verify that you've entered everything correctly by using the show command.

Router# show kron schedule

Kron Occurrence Schedule
backup inactive, will run again in 2 days 22:03:46 at 22:00 on Mon

Router# show running-configuration
kron occurrence backup at 22:00 Mon recurring
 policy-list backup
kron policy-list backup
 cli write

I used the write command instead of the copy running-configuration startup-configuration commands. for a simple reason. While the copy run start command is interactive, the write command is not.  In other words, write doesn't prompt to verify what you want to do. It's important to remember that the Cisco IOS Command Scheduler doesn't allow any interactive commands.

I hope this answers your question.

Author Comment

ID: 20771960
Thanks for that.

I actually used KRON with some scheduled backups on 3560 and 3750 switches.

You are right about the interactive command, especially backing up with TFTP.  I did find a workaround FYI if you like....
I used the 'file prompt quiet' command in global config mode.  As long as you put the full path in the KRON occurrence for the server IP filename etc it works a treat.

Thanks again


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this article, WatchGuard's Director of Security Strategy and Research Teri Radichel, takes a look at insider threats, the risk they can pose to your organization, and the best ways to defend against them.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question