My problem: When a router with a cellulair interface or only the cellular card is replaced in the field this means restoring the saved configuration is not enough to get the box running again, first a few exec commands should be given.
With kron commands in the configuration it is possible to execute exec commands at certain moments or at a certain interval. I want to use this (or another method) to set the cellulair profile settings in the exec mode.
Since 12.4T the kron feauture is extended with the possibility to run on system startup, in addition to the recurring or oneshot occurrences.
Configuring the settings from kron works great, after a reboot of the box the settings are restored. But there is one problem. I only get it to work in a recurring kron schedule. This means that after a reload the commands are directly executed and then in every x minutes, days etc. I don't want this behaviour because this will lead to connectivity loss. The maximum intervall I can choose is 365 days which is far from infinite or never :-)
The manual tell's the format of the cron schedule command is:
When using "at" the system startup option is not available, when using "in" the maximum time is only 365 days and i can not use a value of 0. Using oneshot will delete the schedule after once running, so next when a config is saved by someone the command is removed from the startup-config. So it seems there is no way to run a exec command only once at every startup with kron. So this is directly a feature request. Solutions: exept 0 for no repeating, except very high values above 365 days or except kron schedules without "in" or "at" (this should in fact already work as it is described in the release notes).
Last but not least, are there any other smart way's to set the cellular profile settings and keep these in the startup-configuration.
My routers don't support EEM, TCL is not handy because of the external storage (flash/tftp). Chat scripts don't seem to work as needed, it looks like executing the cellular profile commands do more than only the chat script commands. Are there any other tricks to solve this deadlock?
Enter configuration commands, one per line. End with CNTL/Z. routerl(config)#kron policy-list reload-router routerl(config-kron-policy)#cli reload router(config-kron-policy)#exit router(config)#kron occurrence reload-router at 4:00 recurring router(config-kron-occurrence)#policy-list reload-router router(config-kron-occurrence)#exit router(config)#exit router#wr
conf t kron policy-list reload-router cli reload exit
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...