Cisco Systems 4.1 Dust Collector User Manual


 
19-104
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
Executing Netshow CLI Remotely
You can execute NetShow CLI from a remote console.
NetShow uses the Remote Access feature in the CLI framework to help you to invoke the NetShow
commands from the client in the same way as you run them on the RME server.
The name of the servlet, to be invoked, is /rme/cwcli.
You must invoke the following URLs to run any command.
For POST request:
http://rme-server:rme-port/rme/cwcli payload XML file
For GET request:
http://rme-server:rme-port/rme/cwcli?command=cwcli netshow command -u Username -p
Password command_specific_args
The contents of the payload.xml is:
<payload>
<command>
cwcli netshow command -u Username -p Password command_specific_args
</command>
</payload>
For example to execute the listcmdsets command payload.xml will be as follows:
<payload>
<command>
cwcli netshow listcmdsets -u Username -p Password
</command>
</payload>
{-id Job ID, Job ID} You can delete more than one job at a
time. Enter the Job IDs that you want to
delete, separated by commas.
You can list the details of more than one
job at a time. Enter the Job IDs separated
by commas.
Command Arguments for jobresults
{-id Job ID, Job ID} You can list the results of more than one
job at a time. Enter the job IDs
separated by commas.
[-output file path] You can specify the fully qualified
pathname for saving the job results.
If you do not specify this argument, the
job results appear in the console itself.
If the specified path does not exist, the
job results are stored in the default
location.
Command Arguments Description Usage Notes