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

Trouble deleting device from DCR using dcrcli in CiscoWorks

I am trying to delete a device from the DCR in LMS 3.2 using the dcrcli command below:

dcrcli -u dnescripting cmd=del id=5052

I am getting to following error after running that command:

<dcrcli> * Password file found using DCRCLIFILE environment variable.
Error in Delete Device:  Device is still managed by application(s).

Does anyone know how I can get around this and make the device not "management by  applications" through an option added to the dcrcli command?

Thanks Ryan.

Everyone's tags (5)
2 REPLIES
Cisco Employee

Re: Trouble deleting device from DCR using dcrcli in CiscoWorks

Use del -f to force deletion:

dcrcli -u dnescripting cmd=del -f id=5052
New Member

Re: Trouble deleting device from DCR using dcrcli in CiscoWorks

that worked, thanks for your help!

654
Views
0
Helpful
2
Replies