Wouter,
I thought that would be the case too, but it unconditionally reloads.
Rack1R1(config-kron-occurrence)#do show run | s kron
kron occurrence reload at 14:07 oneshot
policy-list reload
kron policy-list reload
cli rel
Rack1R1(config-kron-occurrence)#in lo 1
Rack1R1(config-if)#ip add 1.1.1.1 255.255.255.0
Rack1R1(config-if)#do show kron sch
Kron Occurrence Schedule
reload inactive, will run once in 0 days 00:00:02 at 14:07 on
After reload:
Rack1R1#show run in lo 1
^
% Invalid input detected at '^' marker.
This has a different behavior than rel, which forces the choice:
Rack1R1#reload in 120
System configuration has been modified. Save? [yes/no]: no
Reload scheduled in 2 hours by console
Reload reason: Reload Command
Proceed with reload? [confirm]
I was thinking the same thing based off the OP's question. I figured the kron policy-list needed a cli .13 (which is supposed to be carriage return), but I couldn't get that to work and discovered it would reload without it.
Cisco IOS Software, 2801 Software (C2801-ADVENTERPRISEK9-M), Version 12.4(23), RELEASE SOFTWARE (fc1)
-ryan
> Maybe it fails because you didnt save the configuration?
> Btw, check out 'reload at 23:00' a bit easier. :)
>
> kron occurrence SaveConfigSchedule at 23:00 onset
> policy-list SaveConfig
>
> kron policy-list SaveConfig
>
> cli reload
>
>
>
> Thanks
>
> _________________________________________________________________
> More than messages check out the rest of the Windows Live .
> http://www.microsoft.com/windows/windowslive/
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Fri Aug 28 2009 - 10:21:15 ART
This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:57 ART