19-11
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
# comments start with a leading hash symbol. Write serviceconf to rhino and # antelope.
reboot antelope.
-device rhino.domain.com -f serviceconf
-device antelope.domain.com -f serviceconf -reboot
# end of input file device-list

Additional Information

The examples in this man page are not comprehensive. There are many other scenarios in which cwcli
config can be used.
For example, if you want to modify the running configuration on the device, without using the latest
archived version, considering the latest may not be the same as the running configuration. You can apply
the get command and then export and import. Various combinations of the features can be used.
You can also use cwcli config in UNIX cron jobs to schedule config updates in advance.
Also, the output generated by cwcli config can be logged to a file and sent to any recipient through
email. A host of additional arguments can be applied on other commands.

cwcli config Command Parameters

Using the cwcli config commands you can manipulate, deploy and archive your device configuration
files.
Using the Compare Command
Using the Delete Command
Parameters For All cwcli config Commands
cwcli config Syntax Examples

Using the Compare Command

When you specify the compare command, both -version and -date are optional.
If you do not specify -version or -date, the latest configuration is compared with the previous
version.
If you do specify -version or -date, and the value you enter is the latest version or date, that
configuration is compared with the previous version.

Using the Delete Command

When you specify the -date command, you must specify -version or -date.
If you specify only one date, all versions archived up and including that date are deleted.
To delete a version archived on a particular date, specify two dates that are the same date as the archived
version date. The latest two versions of configuration can never be deleted from the archive. Be careful
while using the delete command.

Parameters For All cwcli config Commands

The -d and -l arguments are supported for backward compatibility.