Cisco Systems 4.1 Dust Collector User Manual


 
19-43
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
-p password Mandatory
Specifies the password for the CiscoWorks username.
If you want to avoid the -p argument which will reveal the password in clear text in cli, you will
have to store your username and password in a file and set a variable
cwcli CWCLIFILE which
points to the file.
You will have to maintain this file and control access permissions to prevent unauthorized access.
cwcli export looks for current working directory if cwcli CWCLIFILEis set only to file name
instead of full path.
If you use the -p argument, even after setting the cwcli CWCLIFILE variable the password is taken
from the command line instead of
cwcli CWCLIFILE. This is not secure and usage of this argument
is not recommended.
The password must be provided in the file in the following format:
username password
where username is the CiscoWorks user name given in the command line.The delimiter between
the username and password is single blank space.
You must enter the delimiter if the password is blank. Otherwise, cwcli export will fail to validate
the password.The password file can contain multiple entries with different user names. The
password that matches first is considered in case of duplicate entries.
Note If -p password is used, the password is read from the command line instead of cwcli
CWCLIFILE
. This is highly insecure and therefore not recommended.
See Setting CWCLIFILE Environment Variable for more details.
{ -device devicename |
-view viewname|
-input inputfilename |
-ipaddress
mgmt-ip-address }
Mandatory
-device devicename
Specifies the display name of the device that you have added in the Device and Credentials
database (Common Services > Device and Credentials > Device Management). You can enter
multiple display name separated by a comma. You can use either wildcard or specific device(s) but
not at the same time.
The argument syntax used for -device argument may be a single device or a device list. Devices
in a list are separated by a ','. The wild card symbol '%' may be used to specify a group of devices
having a pattern.
For example if a pattern x% is specified as a device in the list, then all the CiscoWorks devices that
have names that start with x will be selected for this operation.
{ -device devicename |
-view viewname |
-input inputfilename |
-ipaddress
mgmt-ip-address}
Mandatory
-view viewname
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”
Global Arguments Description