I am wanting to write a tcl scrip for the following scenario. I have two routers at a remote branch that are directly connected and running HSRP. I would like to have a TCL script that copies the running config over to the other routers flash every so often as a backup. Anyone done anything like this. I have basic knowledge of TCL and am tryin to save myself some time and headache. I guess I'm hoping someone already has a script written for a scenario like this.
I don't know of anyone that has done this kind of thing before. There are quite a few details missing as well. For example, will this be a bidirectional sync, or will one switch always coopy its config to the other? I am guessing you will just be using the backup switch as file storage rather than trying to load the primary switch's config on the backup switch.
The easiest solution in my mind is to use the RCP, SCP, or TFTP server on the backup switch, then just copy the config from the primary to the backup. In that case, a simple EEM applet could do what you want. For example, to copy the config every day using SCP, you can use the following:
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 ...