|
NAMEcdpd —
Send CDP/LLDP packets over ethernet.
SYNOPSIS
DESCRIPTIONThecdpd utiliy used to advertize your host over
ethernet networks using CDP (Cisco Discovery Protocol) and LLDP (Link Layer
Discovery Protocol, 802.1ab) protocols.
The options are as follows:
DIAGNOSTICSWhen everything is ok, andcdpd program is started with
(default) daemon mode, it justs daemonises with return code 0. In case of
errors they are printed to stderr and program exists with non-zero status.
Most errors caused by the fact that the cdpd needs
access to /dev/bpf*, so it must be started by root, and Berkeley Packet Filter
must be enabled in kernel (by adding pseudo-device bpf into
kernel configuration for old FreeBSD, for example).
ADDITIONAL NOTESome people proposed option of collecting information from an ethernet interfaces to have some table like cisco 'show cdp nei' command output. But, as you can retrieve this information from modern tcpdump program (with -nvi <interface> -s 1500 ether dst 01:00:0c:cc:cc:cc flags) and as this feature leads to expensive CPU usage, this feature will not be implemented in cdpd.The same trick can be used to detect LLDP neighbors, the only difference is that destination MAC address is ether dst 01:80:c2:00:00:0e BUGSWhen running on Solaris, self mac-address is not determined correctly, so it announced via LLDP as 00:00:00:00:00:00. This can be fixed.SEE ALSOhttp://www.cisco.com/ for information about Cisco Discovery Protocol.http://www.ieee802.org/1/pages/802.1ab.html http://en.wikipedia.org/wiki/Link_Layer_Discovery_Protocol for information on LLDP/802.1AB. http://www.tcpdump.org/ - tcpdump home page. AUTHORAlexandre Snarskii, <snar@snar.spb.ru>
Visit the GSP FreeBSD Man Page Interface. |