Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Bulk Config Deployment

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Bulk Config Deployment

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.

5 REPLIES
New Member

Re: Bulk Config Deployment

Hi Guys,

Can anyone offer me some help on this?

Thanks

Cisco Employee

Re: Bulk Config Deployment

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.

New Member

Re: Bulk Config Deployment

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.

Cisco Employee

Re: Bulk Config Deployment

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.

New Member

Re: Bulk Config Deployment

Thanks so much Mr Clarke! Works wonderfully.

626
Views
3
Helpful
5
Replies
CreatePlease login to create content