19-77
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI

cwcli inventory Global Arguments

The following describes the mandatory and optional global arguments for
cwcli inventory:
cwcli inventory deletedevice You can delete the specified RME devices.
See Running the cwcli inventory deletedevice Command
cwcli inventory getdevicestate You can view the RME devices state.
See Running the cwcli inventory getdevicestate Command
Argument Description Usage Notes
-u user Enter a valid CiscoWorks username. Mandatory.
-p password Enter the password for the username. Mandatory.
You can provide this as part of argument or
you can enter the password when you get the
password prompt.
You can also specify the password in a file.
See Setting CWCLIFILE Environment
Variab le for more details.
{-device name | -view name
| -device list -view name|
-ipaddress list}
device name—Enter the Display name of the
device that you have added in the Device and
Credentials database (Common Services >
Device and Credentials > Device
Management)
Mandatory
You can enter multiple device list
separated using a comma.
For example, if there are two devices with
Display Names Rtr12 and Rtr13, using
Rtr% will display both the devices.
To include all the devices in the RME,
use the wild card character "%".
For example, To use all the devices, use
-device %.
view name—Enter the Device Group name. Mandatory
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
GUI.
For example, -view
“/RME@ciscoworks_servername/
All Devices”
device list view name—Enter the Display
name and the Device Group name.
Mandatory.
ipaddress list—Enter the device IP4 address
as entered in the Device and Credential
Repository. You can enter multiple IP address
with comma separated.
Mandatory.
You cannot use this option with -device,
-view, or -input. Also, you cannot specify
wildcard characters.