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

Automatic delete devices in DCR

Hello,

we use LMS3.2 in a large campus network.

We don't use the network discovery via seed devices. instead of that we import devices into lms/DCR via automatic bulk import from another database. Is it possbile to delete devices in DCR in a similar, automatic way?

Regards

Hendrik

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Automatic delete devices in DCR

Ah, I understand.  Yes, you can delete devices from the CLI using the dcrcli command:

dcrcli -u admin cmd=del -f dn=DISPLAY_NAME

Where DISPLAY_NAME is the display name of the device.

4 REPLIES
Cisco Employee

Re: Automatic delete devices in DCR

Go to Common Services > Device and Credentials > Admin > Device Polling to configure the DCR device poller.  This poller will detect unreachable devices that have been added to DCR.  It will periodically create a report that will allow you to delete the unreachable devices.

New Member

Re: Automatic delete devices in DCR

Go to Common Services > Device and Credentials > Admin > Device Polling to configure the DCR device poller.  This poller will detect unreachable devices that have been added to DCR.  It will periodically create a report that will allow you to delete the unreachable devices.

Thx for you answer. I know  this function but I mean something different.

We manage ~5000 devices from many customers in one network infrastructure. Rechability is not our only criterium to manage devices and have them in LMS or not.

We have another database from where we import devices into LMS. For this we use the scheduled bulk import that is scheduled for every day.

This database controls generaly if we want to manage devices or not. Devices that we don't want to manage must be deleted in LMS and it's possible that a device is still reachable when we want to remove it from LMS.

So my questions:

Is there a possiblity to delete devices in a similar way as the automatic bulk import works? Maybe via CLI ?

Best Regards

Hendrik

Cisco Employee

Re: Automatic delete devices in DCR

Ah, I understand.  Yes, you can delete devices from the CLI using the dcrcli command:

dcrcli -u admin cmd=del -f dn=DISPLAY_NAME

Where DISPLAY_NAME is the display name of the device.

New Member

Re: Automatic delete devices in DCR

Thanks !

That was exactly I was looking for.

238
Views
0
Helpful
4
Replies
CreatePlease login to create content