Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Inventory CLI

Hello,

i would like to view all info as picture,attached, using dcrcli, through Command line interface !!

Someone can help me to found this command?

Thanks in advance.

MarwanManage-Devices-State.jpg

  • Network Management
Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Inventory CLI

This information is not available from dcrcli.  You can get a total list of devices in DCR using the dcrcli command "lsids all", but if you want to know the state, use cwcli:

cwcli inventory getdevicestate -u admin -p admin -device %

8 REPLIES
New Member

Inventory CLI

i also use ciscoworks lms 4.2

Cisco Employee

Inventory CLI

This information is not available from dcrcli.  You can get a total list of devices in DCR using the dcrcli command "lsids all", but if you want to know the state, use cwcli:

cwcli inventory getdevicestate -u admin -p admin -device %

New Member

Inventory CLI

Thank you Joseph very much.

New Member

Inventory CLI

Another favore...please

i want to create groups for devices and assign specific users for differnet group.. how?

Thanks in advance ... i always use CiscoWorks LMS 4.2

New Member

Inventory CLI

any help please ????

thx

New Member

Inventory CLI

another favor .. . please!

I would like to know how to add a  device from the command line in a specific group created by me.

To add a device using the  command:

dcrcli-u username cmd =  add-useDefault Policy Configuration = ip = value hn = dn = value value = value-a

I was wondering if in the  attribute (-a) I can specify the group to add the device, or if there is another  command.

Cisco Employee

Re: Inventory CLI

Group manipulation from the CLI is not possible. However, if you design your groups to have automatic membership then the new devices will automatically be added to the groups when you add them to DCR.

Sent from Cisco Technical Support iPhone App

New Member

Inventory CLI

Thank you Joseph again for your useful info ..

582
Views
0
Helpful
8
Replies
This widget could not be displayed.