19-31
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
Caution The cwcli netconfig command does not validate the command arguments you use or the configuration
commands that you run using it. If you enter incorrect commands you can misconfigure or disable the
devices on which the job runs.
Running the cwcli netconfig Command
To use the cwcli netconfig command, you must be able to run the cwcli command, and you must have
permissions to use the Adhoc system-defined task. For more details see topic in the section.
The command syntax is:
cwcli netconfig Sub_command Common_arguments Command_arguments
The subcommands and arguments are described in the following sections:
• Subcommands (see Subcommands)
• Common Arguments (see Common Arguments)
• Command Arguments (see Command Arguments)
Subcommands
Subcommands specify the action the command performs. Valid values for the subcommands are:
Common Arguments
Common arguments specify parameters that apply to all subcommands. Valid values for
common_arguments are:
Subcommand Description
createjob Creates job.
deletejob Deletes jobs.
canceljob Cancels jobs.
jobdetails Lists job details.
jobresults Lists job results.
listjobs Lists jobs.
import Imports user-defined tasks in XML format.
export Exports user-defined tasks in XML format.
listtasks Lists the NetConfig user-defined tasks.
Common Argument Description Usage Notes
-u user Enter valid CiscoWorks username. None
-p password Enter password for username.
You can also specify the password in a file. See
Setting CWCLIFILE Environment Variable for
more details.
None