Cisco Systems 4.1 Dust Collector User Manual


 
19-3
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
cwcli arguments Description
-u userid User ID. Field is required.
-p password It is the password for the specified User ID.
If you enter the password at the command line, a message appears:
* Warning * The -p option is highly insecure and *not* recommended. See -u
option for more details.
If the password is not specified in the command line, framework searches for the password
in the file pointed to by the
CWCLIFILE environment variable. If the variable is not set, you
are prompted to enter the password.
* Warning * CWCLIFILE Environment variable not set. Enter your password
See Setting CWCLIFILE Environment Variable for more details.
-device devicename or
device_list
Display name of the device added into DCR. You can use comma separated displaynames
and wild card character
%.
For example, if there are two devices with names Rtr12 and Rtr13, Rtr% will display both
the devices.
To use all the devices, use -device %.
-view view_list If the data needs to be generated for all the devices in a specific group, you can use the -view
argument. You can use this argument to generate data for devices in all RME device views
including system-defined groups and user-defined groups.
You can enter multiple group name separated using a comma.
For view name, you have to enter the fully qualified path as in the Group Administration
window. To separate the path you must use forward slash only.
For example, -view “/RME@ciscoworks_servername/All Devices”
-ipaddress address Device IP4 address as entered in the Device and Credential Repository. You can enter
multiple IP address with comma separated.
You cannot use this option with -device, -view , or -input. Also, you cannot specify
wildcard characters.
-l logfile Must be a relative name. By default ConfigCLI.log and cli.log files under NMSROOT/log
directories are used.
If the relative name is specified then the log messages are logged into the file specified. The
file is created under the NMSROOT/log directory.
For example, cwcli config export -u alpha -p beta -device % -l export.log. In this case,
export.log is created under the NMSROOT/log directory.
-m email Email address to mail the command output to. You can enter single or comma separated
email IDs.
-d debuglevel Enables debugging to command-line tool. Specifies debugging verbosity. Default is least
verbose.
-help Displays usage information.
-input Text file containing arguments for each device.