Bulk Config Deployment

Answered Question
Sep 22nd, 2010

Hi,

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

Thanks!

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 6 years 1 month ago

You can't deploy config snippets to the startup config, but you can deploy an entire config.  You can use the "write2start" command instead of import to do this.  The current contents of the startup config will be overwritten by the new config file.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Joe Clarke Sun, 10/03/2010 - 23:15

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.

Mario Elia Tue, 10/26/2010 - 08:01

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.

Correct Answer
Joe Clarke Tue, 10/26/2010 - 23:35

You can't deploy config snippets to the startup config, but you can deploy an entire config.  You can use the "write2start" command instead of import to do this.  The current contents of the startup config will be overwritten by the new config file.

Actions

This Discussion

Related Content