11-01-2010 03:01 PM - edited 03-06-2019 01:49 PM
Dear members, I use the below commands, after I have verified the sh clock on the cisco 3560
sh clock
17:52:56.903 UTC Mon Nov 1 2010
config t
kron policy-list tftpbackup
cli sh run | redirect tftp://192.168.10.10/switch.cfg
exit
kron occurrence tftpbackup at 18:00 monday recurring
exit
exit
sh kron schedule
tftpbackup inactive, will run again in 0 days 00:02:13 at 18:00 on Mon
I then I wait and I do not get anything on the IP address of my tftp which I can ping.
Proof that I can reach my tftp server, and not only that, I even launch a manal tftp backup to the same IP address and it is working.
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Can anyone help? i would appreciate your help on the matter.
AS
11-01-2010 03:04 PM
this is what the sh run config gives me.
kron occurrence tftpbackup at 18:00 Mon recurring
!
kron policy-list tftpbackup
cli show run | redirect tftp://192.168.10.10/switch.cfg
11-01-2010 10:33 PM
I think you need to change your configuration to this:
!
kron occurrence tftpbackup at 18:00 Mon recurring
policy-list tftpbackup
!
kron policy-list tftpbackup
cli show run | redirect tftp://192.168.10.10/switch.cfg
!
The name of the occurrence is not the name of the policy you want to run at that time.
After that, if it's still not working, run "debug kron all" to see what is happening at the occurrence time.
11-02-2010 05:53 AM
Margalla thank you so much for the help, what I was doing wrong it seems to be that
after i was defining the occurence of the kron to run I was not defining the policy list to be executed during that occurence statement.
Your help is much aprpeciated.
Indeed your configuration is the correct one.
Thank you
AS
02-19-2018 08:39 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide