Cisco Systems 4.1 Dust Collector User Manual


 
19-89
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
The credentials that are exported depends on the data that you have provided when you added the devices
to Device Credentials Repository.
Running the cwcli inventory deletedevice Command
You can use this command to delete devices from RME.
The device information will be retained in the Device Credentials Repository. This information will not
be removed till you delete the device from Device Credentials Repository.
The command syntax for cwcli inventory deletedevice is:
cwcli inventory deletedevice -u userid -p password [-d debuglevel]
[-m email] [-l logfile] [-view name] {-device list | -input inputfile | ipaddress list}
Arguments in square brackets ([]) are optional; arguments in curly braces ({}) are required. You must
provide one argument from each group of arguments in curly braces ({}) that is separated by vertical
bars (|).
If you do not specify an optional argument, the default value configured for the system is used.
The following table describes the arguments that are specific to cwcli inventory deletedevice
command. The other common arguments used by
cwcli export are explained in Using the cwcli export
Command.
Usage Examples for cwcli inventory deletedevice Command
This section provides some examples of usage for the
cwcli inventory deletedevice command.
Example 1: To delete a device
cwcli inventory deletedevice -u admin -p admin -device 10.76.10.10
<cwcli> INFO - Total number of devices deleted successfully: 1
SUMMARY
========
Successful: Delete Device: Success
Argument Description Usage Notes
-input inputfile -input inputfile—Enter the full path of the
file containing comma-separated list of
device display name as entered in Device
Credentials Repository.
The input file should be of this format:
-device 1.1.1.1,2.2.2.2,3.3.3.3
or
-device 1.1.1.1
-device 2.2.2.2
-device 3.3.3.3
Mandatory
You must also enter the file format either CSV
or txt.