add/delete/modify devices in DCR from command line

Answered Question
May 22nd, 2008

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?

Correct Answer by David Stanford about 8 years 9 months ago

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
David Stanford Thu, 05/22/2008 - 05:04

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

Actions

This Discussion