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

Seed File update LMS 3.1

I'm trying to automate a way to update the cdp seed file entry. I have a script that runs on LMS2.6 that updates the DeviceDiscovery.properties with entries changed in the servers hosts file.

With version 3.1 it doesn't appear that this file is used, instead it looks like an XML file is generated (which I've been seeing issues with, another conversation). Can you tell me a little more about that XML file and how it gets generated, is there a place on the server side that I can update the seed instead of going through the GUI?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Seed File update LMS 3.1

The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.

4 REPLIES
Cisco Employee

Re: Seed File update LMS 3.1

The XML file is generated by adjusting the Discovery settings under Common Services > Device and Credentials > Device Discovery. The file is NMSROOT/conf/csdiscovery/CSDiscovery-config.xml. This file is used for ad hoc Discoveries, but not when Discovery is scheduled, as different jobs may use different settings.

While I don't recommend modifying this file directly, you could certainly do it provided you do not corrupt the syntax. CDP seeds are added as sub-elements of the CDP Module element. A seed device imported from Campus Discovery would look like:

...

New Member

Re: Seed File update LMS 3.1

Ok, thanks. What file is used for scheduled discoveries?

Cisco Employee

Re: Seed File update LMS 3.1

The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.

New Member

Re: Seed File update LMS 3.1

One last question: After several days I've gone back to take a look at the seed file entries, CDP seeds look good, and the Global entries that I deleted have returned, are the global seeds kept in a different location? I see them in the CSDiscovery-config.xml file under /conf/csdiscovery, but I didn't put them back in there....

271
Views
0
Helpful
4
Replies