19-22
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
-listonly
Used with the write2run function, lists the differences between the running configuration and the
specified configuration file.
-reboot
Used with the import or put function, reboots the device after the configuration has been written to the
device.
-save
Used with the import or put function, saves the configuration written to the device to the device's
memory.
-timeout
Used with the compareanddeploy, deploycomplianceresults, import, put, run2start,
start2run, write2run or comparewithbaseline function, specifies the duration of the interval in
seconds between two successive polling cycles.
-version number
Used with the export function, specifies the configuration version to retrieve from the archive. Used
with the put function, specifies the configuration version to load from the archive and push to the device.
-version version1 version2
Used with the compare, or delete function, specifies the configuration version(s) to compare or delete.
-view name
Specifies the device view where the device name specified with -device argument is located. If -device
argument is not specified, performs the operation on all devices in the view. More details are described
in the -view Argument Usage section later in this man page.
-xml
Creates an XML file with the name of the device containing the configuration retrieved.
Input List File Format
For commands that do not accept multiple device names on the command line, such as put, import, and
export, you can create an input list file that contains a list of devices to perform the operation on.
The contents of the input list file are a sequence of lines. Each line specifies a device name and the
arguments to apply to that device. The arguments must be specific to the function. You cannot include
view names in the input list file. You must specify view names on the command line. You can include
comments in the input list file by starting the each commented line with #.
Input List File Example:
For the command
cwcli config put -u userid -p password -view myView -input ~/todo_list
An example of the input list file ~/todo_list is # Comment line.
-version 3 -reboot -device enm-2501.cisco.com
-version 2 -save -device enm-4500.cisco.com