Usage of Cisco Discovery Protocol in my application

Unanswered Question
Aug 6th, 2009

How should i use the Cisco Discovery Protocol - CDP in my application to get the details of system in the network.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 2 (1 ratings)
Istvan_Rabai Thu, 08/06/2009 - 01:06

I know 3 applications for the CDP protocol:


You can use the 'show cdp neighbors' to see what devices are connected to your local device and what are the local and remote ports.

The 'show cdp neighbor detail' command will also display an ip address from the neighbor. You can use it to telnet to the neighbor devices.

This way you can discover your network without physically seeing it.

2. Cisco switches discover Cisco IP phones connected to the switch using the CDP protocol. Switches then make a decision about CoS trusting depending on the configuration of the specific switch port.

3. You can use CDP to configure On-demand routing (ODR) in simple hub-and spoke topologies.



s.ayodhya Thu, 08/06/2009 - 01:18

Thanks, i am new to this field. So can you provide me further details, in terms of implementation or some links where i can refer actual usage/implementation of this protocol in applications.



dhananjoy chowdhury Thu, 08/06/2009 - 03:13


What application / scription language you are using for accessing the Cisco device for running the commands?

OR to rephrase the question... how is your application connecting to the cisco device.

s.ayodhya Thu, 08/06/2009 - 04:04


I need to start the application development, i am planning to develop it using VB, will this support? and i am looking for all basic information and suggestions, for ex: How to connect to a device, Do i need to install any software in my system and so on. I am a beginner here.


This Discussion