Pages

Monday, July 25, 2011

Command Scheduler (KRON)

Command Scheduler allows cutomers to schedule fully-qualified EXEC mode CLI command. It consists of 2 processes. A policy list is configured containing lines of EXEC CLI commands to be run.

KRON configuration example.


kron policy-list TEST_KRON
 cli enable
 cli conf terminal
 cli int f0/1
 cli bandwidth 10000

kron occurrence TEST_KRON in 1    //  occurrence in 1 minute
 policy-list TEST_KRON

Verify configuration
show kron schedule

Router#sh kron schedule
Kron Occurrence Schedule
TEST_KRON inactive, will run again in 0 days 00:00:13