cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
690
Views
0
Helpful
3
Replies

Pre-configured job

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

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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.

Thank you Joseph for your answer!

I will check the attached link, and hopefully I will be able to deploy it!

Joseph,

thank you so much. It works like a charm

Review Cisco Networking for a $25 gift card