Operating System - HP-UX
1847442 Members
2710 Online
110265 Solutions
New Discussion

Re: Cisco Discovery Protocol

 
SergoB
New Member

Cisco Discovery Protocol

Hi all. I'm new in this forum. I'm have 1 question. HP-UX b 11.11 support Cisco Discovery Protocol (CDP protocol) or not? If yes how we can
run to use this protocol? Regards.
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: Cisco Discovery Protocol

The default configuration of HP-UX does not have any tools to read any CDP protocol messages. There is no functionality for sending CDP messages either.

However, HP-UX does not _prevent_ you from sending or receiving CDP messages: you'll just have to find a suitable application to do so.

HP-UX Internet Express package (available for free at software.hp.com) contains tcpdump, which can be used to read CDP messages. You don't need to install the entire Internet Express package to get tcpdump: just the tcpdump package (ixTcpdump) and its single dependency, the libpcap library (ixLibpcap) are enough to use tcpdump.

To capture and interpret a single CDP packet from lan0 using tcpdump, you could use this command:

tcpdump -nn -v -i lan0 -s 1500 -c 1 'ether[20:2] == 0x2000'

I'm not aware of any HP-UX application that could be used to _send_ CDP messages from a HP-UX machine. Maybe someone else knows about that?

MK
MK
VK2COT
Honored Contributor

Re: Cisco Discovery Protocol

Hello,

Network Node Manager supports topology discovery via CDP.

There are couple of open-source tools that
claim support for Unices (including HP-UX):

Send Cisco Discovery Protocol: http://sourceforge.net/projects/scdp/

Cisco Discovery Protocol Reporter: http://sourceforge.net/projects/cdpr/

And you can certainly use tools like
wireshark and ethereal to analyze network
protocols... There are many others.

Be aware of certain vulnerabilities that
were reported for CDP in the past:

http://search.securityfocus.com/swsearch?sbm=%2F&metaname=alldoc&query=Cisco+CDP&x=0&y=0

Cheers,

VK2COT
VK2COT - Dusan Baljevic