01-27-2011 12:31 AM
Hello community,
I have the following question. We are running LMS 3.0.1 and RME 4.1.1.
We want in case of an emergency to download configuration to some routers, but we want the job to be already created and to just run on demand!
I know that I can have pre-configured the group with the devices that I want, created a template with the configuration to be downloaded, but in order to run the job, the noc team must enter RME --> Netconfig and create the job at that very instant!
Is there a way to overcome this, and have the job pre-created, so that the noc team just has to run it?
Thanks in advance,
Katerina
Solved! Go to Solution.
01-29-2011 03:47 PM
Not in the UI. However, you can do this with the cwcli CLI command. You could use the cwcli servlet interface to execute your job:
http://SERVER:PORT/rme/cwcli?command=cwcli netconfig createjob -u USER -p BASE64_PASS -devicefile DEVFILE -commandfile COMFILE -description "My Netconfig job" -mode config
Where USER is your LMS username, BASE64_PASS is your user's password encoded in Base64, DEVFILE is a file holding the device names and COMFILE is the file with the commands you wish to execute. These files must reside on the server. See https://supportforums.cisco.com/docs/DOC-14502 for more on the devicefile and commandfile formats.
01-29-2011 03:47 PM
Not in the UI. However, you can do this with the cwcli CLI command. You could use the cwcli servlet interface to execute your job:
http://SERVER:PORT/rme/cwcli?command=cwcli netconfig createjob -u USER -p BASE64_PASS -devicefile DEVFILE -commandfile COMFILE -description "My Netconfig job" -mode config
Where USER is your LMS username, BASE64_PASS is your user's password encoded in Base64, DEVFILE is a file holding the device names and COMFILE is the file with the commands you wish to execute. These files must reside on the server. See https://supportforums.cisco.com/docs/DOC-14502 for more on the devicefile and commandfile formats.
01-31-2011 12:41 AM
Thank you Joseph for your answer!
I will check the attached link, and hopefully I will be able to deploy it!
02-01-2011 12:37 AM
Joseph,
thank you so much. It works like a charm
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide