Kron config

Unanswered Question
Feb 4th, 2009
User Badges:

I have been unable to schedule recurring copy command on my routers. Any suggestions ?

kron occurrence SaveConfigSchedule at 08:49 oneshot

policy-list SaveConfig

!

kron policy-list SaveConfig

cli copy nvram:conf nvram:startup-config


after running, the router drops cli command.

i think, i have to confirim a Destination filename, but i dont know how ?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Wed, 02/04/2009 - 08:54
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Kron does not support interactive commands. If you attempt to configure an interactive command, the policy-list will be removed from the config after it runs. You can configure "file prompt quiet" to disable file system prompting, or consider using something more powerful like the Embedded Event Manager (see http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.html).


Another option, if you are looking to periodically back up your config, is to use the IOS Config Archive feature. This will allow you to periodically take snapshots of your config, and save them to a wide variety of locations. See http://www.cisco.com/en/US/docs/ios/fundamentals/configuration/guide/cf_config-rollback_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1100253 for more details.

Actions

This Discussion