Cisco Systems 4.1 Dust Collector User Manual


 
19-19
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
SYNOPSIS
cwcli config command {-arg1 [arg1Value] -arg2 [arg2Value] -argN [argNValue]}
cwcli config -help
DESCRIPTION
cwcli config is a CiscoWorks command line tool that allows you to access the configuration archive or
configurations on devices. You can use
cwcli config to update, export, and import configurations on
devices and in the archive. You can also compare configurations and delete old configurations.
To get a list of supported commands, run the command
cwcli config -help
or
cwcli config?
Help on each command can be obtained in the following manner:
cwcli config command -help
For example:
cwcli config export -help
Additionally, man pages are available on UNIX installations for individual commands. To view the man
page for any command, enter:
man cwc-command
For example:
man cwc-export
Arguments
Many of the arguments are common across all commands. These arguments can be broadly classified as
those that are expected by every command (function independent) and those that are specific to the
context of a command.
Mandatory Arguments
Function-independent Arguments
Function-dependant Arguments
Function-specific Arguments
Common Arguments
Command Arguments
Mandatory Arguments
You must use the following arguments with all commands.
-u userid
Specifies the CiscoWorks username. You must define an environment variable cwcli CWCLIFILE with
value set to a filename, which will contain the corresponding password.
The file has to be maintained by you. You can control the access permissions of this file to prevent
un-authorized access.
cwcli config looks for current working directory if cwcli CWCLIFILE is set to
only file name instead of full path.