12-23-2006 12:49 PM
I am interested in running a Cdp neighbor for various switches within the enterprise and make this report available at any time. I was hoping Ciscoworks can perform this function on a timed basis for accuracy. Does anyone know how to accomplish this? Thanks in advance...
12-23-2006 04:53 PM
Getting at this information is not difficult, but getting a scheduled report that contains this information is not obvious.
To get the information and export it manually, you can go to Campus Manager > Home, and click on the Data Collection result link. That will pop up a window that lists all the devices managed by Campus Manager, and their neighbors. You can then print or export this report.
To schedule the export of this data, you will need to use the Campus Manager Data Extraction Engine (i.e. the cmexport command), and run an l2topology report. For example:
cmexport l2topology -u admin -p admin
This will produce an XML dump of the layer 2 topology information, including neighbor information. This XML data can be parsed into any format desired. Plus, since cmexport is a CLI command, it can be scheduled using UNIX cron/at or Windows at.
12-23-2006 06:22 PM
Thank you very much for this info... it'll be very useful in determining neighbors for Distribution switches. In a campus environment with many uplinks,fast accurate information is vital.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide