Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Kron policy-list

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

3 REPLIES

Re: Kron policy-list

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

Cisco Employee

Re: Kron policy-list

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.

Re: Kron policy-list

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

5566
Views
0
Helpful
3
Replies