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. And see here for current known issues.

New Member

add/delete/modify devices in DCR from command line

Is it possible to add or delete devices from the credentials repository outside of the CW gui? I know with cwcli I can do that with the RME database, but what about credentials?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: add/delete/modify devices in DCR from command line

You can use dcrcli to do this:

Using Command Line Interface, you can add, delete, modify, bulk import , and export devices, and change the Device and Credential Repository (DCR) modes. You can also view the list of attributes that can be stored in DCR, and view the current DCR mode. The dcrcli utility provided with Common Services helps you perform these tasks via CLI.

# Enter NMSROOT/bin/dcrcli -u Username.

where NMSROOT is the CiscoWorks installation directory.

# Enter the password corresponding to the username

Have a look at the online help for all options for this command utility

1 REPLY
Cisco Employee

Re: add/delete/modify devices in DCR from command line

You can use dcrcli to do this:

Using Command Line Interface, you can add, delete, modify, bulk import , and export devices, and change the Device and Credential Repository (DCR) modes. You can also view the list of attributes that can be stored in DCR, and view the current DCR mode. The dcrcli utility provided with Common Services helps you perform these tasks via CLI.

# Enter NMSROOT/bin/dcrcli -u Username.

where NMSROOT is the CiscoWorks installation directory.

# Enter the password corresponding to the username

Have a look at the online help for all options for this command utility

142
Views
10
Helpful
1
Replies