Cisco Systems 4.1 Dust Collector User Manual


 
19-100
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
Sub command Description Usage Notes Example
createjob
Creates a new job that can be
scheduled to run immediately
or to be run sometime in the
future.
You can also specify the job
attributes you want to enable.
Either use an input file
containing the details of the
subcommands or enter the full
command syntax.
cwcli netshow createjob -u
Username
-p Password
-commandsetCommand Set 1”,”
Command Set 2”
-deviceDevice
Name 1”, “Device Name 2”
-customcmdCustom Command
1”, “Custom Command 2
-schedule Schedule
-scheduletype Schedule Type
Or
cwcli netshow createjob -u
Username
-p Password -input
Input File
canceljob
Cancels an existing job. Enter the job ID. cwcli netshow canceljob -u
Username -p
Password -id “Job
ID”
deletejob
Deletes existing jobs. Enter the job IDs separated by
commas.
cwcli netshow deletejob -u
Username -p Password -idJob ID
1”,” Job ID 2”
jobdetails
Displays details of specified
job.
Enter the job IDs separated by
commas.
cwcli netshow jobdetails -u
Username -p Password -idJob
ID 1”,”Job ID 2”, “Job ID 3”
listjobs
Displays a list of jobs created
by the user and the job status.
Specify the type of jobs to be
listed. The command type is
case sensitive.
The commands that you can use
are:
A —All jobs
R —Running jobs
C —Completed jobs
P —Pending jobs
You can use combinations of
status options. Separate the
options by commas.
cwcli netshow listjobs -u
Username -p Password -status
R,C
listcmdsets
Displays a list of command sets
assigned to the user.
None.
cwcli netshow listcmdsets -u
Username -p Password
jobresults
Displays results of specified
jobs
Specify the job IDs. Separate the
job IDs by commas.
cwcli netshow jobresults -u
Username -p Password -id "Job
ID 1" , "Job ID 2" , "Job ID 3"
help
Displays command usage
information.
None. cwcli netshow -help