CDP confusion

Unanswered Question
Feb 22nd, 2009
User Badges:
  • Gold, 750 points or more

Hello,


Can some one post the link or good documentation where I can find information about how CDP works and what i can do with the help of it? How CDP learns the hostname of remote devices and all?


thanks,

Devang Patel

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.3 (3 ratings)
Loading.
Harold Ritter Wed, 02/18/2009 - 06:51
User Badges:
  • Cisco Employee,

Devang,


There is not interaction between the hostname resolution used by the router and the hostname received via CDP. So you can't use the CDP hostname to telnet to the remote device unless this hostname is also configured in your DNS or locally on the router using the "ip host" command.


Regards

devang_etcom Sun, 02/22/2009 - 18:16
User Badges:
  • Gold, 750 points or more

Hritter,


Thanks for your input! I had some strange situation in switching environment, under show cdp nei details I was able to see the IP address of VLAN interface but when I tried to telnet it I wasnt able to do that but when I tried using device name I was able to. but the hostname bind to different IP address in DNS system. Finally i did trace route and I found router is trying to telnet the CDP neighbor via WAN link not the directly connected ethernet where it learned neighbor using CDP... so that stuff create confusion in my mind!


thanks again!

Devang Patel

Leo Laohoo Sun, 02/22/2009 - 17:33
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Configuring Cisco Discovery Protocol on Cisco Routers and Switches Running Cisco IOS

http://www.cisco.com/en/US/tech/tk962/technologies_tech_note09186a00801aa000.shtml


Hope this helps.

devang_etcom Sun, 02/22/2009 - 17:55
User Badges:
  • Gold, 750 points or more

Thanks all of you for links! so here we can see the neighbor IP address as well as host name! so I can telnet to device using hostname also there I dont need to have any kind of DNS name server configuration to resolve right? as CDP is learning it using the TLV! right!!!


thanks,

Devnag Patel

Actions

This Discussion