I work for a retail company, with about 700 sites. We are currently in the middle of upgrading the equipment at the store level, and this requires a new configuration to be sent to the router on site.
My colleague has created the 700 configuration files (a task on its own) and now I need to send them to the Router, and have the router reload (either right away, or at a specified time if possible).
I am currently using LMS 3.2, and I (think) read somewhere that RME can deploy those pre-built configs to the specified device - be it by naming convention, or by use of an additional file (csv?)
Please let me know if there is an option as such, of if I have to send them one at a time
Solved! Go to Solution.
You can do this with the cwcli command:
cwcli config import -u admin -p admin -input INPUT
Where INPUT is the name of a file that has contents like:
-device DEVICE1 -f CONFIG1
-device DEVICE2 -f CONFIG2
Where DEVICEX are the names of your devices and CONFIGX are the names of the associated config files. There are other options to cwcli config import (e.g. -continue if you want to keep going on failure). Check out the online documentation for more options.
Hi Joe, and thanks for the response.
After numerous attempts, I believe I was able to get the command working, however, I realized its copying the file to the running config, not the startup. Is there any way I can bulk copy individual config files to the startup of individual routers?
Thanks again for your help.