Implementation of IEEE 802.1ab (LLDP, Link Layer Discovery Protocol)
lldpd is a 802.1ab implementation (LLDP) to help you locate neighbors of all your equipments.
Why using lldpd
LLDP allows you to know exactly on which port is a server (and reciprocally).
LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.
lldpd is an ISC-licensed implementation of LLDP for various Unixes. It also supports some proprietary protocols.
qpkg implementation :
add in $PATH command lldpcli, lldpctl, lldpd
lldpd daemon is started automatically on start (with basic feature)
many optimisation/option are possible
Usage: lldpd [OPTIONS ...]
Version: lldpd 1.0.1-29-ge86777a
-d Do not daemonize.
-r Receive-only mode
-i Disable LLDP-MED inventory TLV transmission.
-k Disable advertising of kernel release, version, machine.
-S descr Override the default system description.
-P name Override the default hardware platform.
-m IP Specify the IP management addresses of this system.
-u file Specify the Unix-domain socket used for communication with lldpctl(8).
-H mode Specify the behaviour when detecting multiple neighbors.
-I iface Limit interfaces to use.
-C iface Limit interfaces to use for computing chassis ID.
-L path Override path for lldpcli command.
-O file Override default configuration locations processed by lldpcli(8) at sta rt.
-M class Enable emission of LLDP-MED frame. 'class' should be one of:
1 Generic Endpoint (Class I)
2 Media Endpoint (Class II)
3 Communication Device Endpoints (Class III)
4 Network Connectivity Device
-x Enable SNMP subagent.
-X sock Specify the SNMP subagent socket.
Additional protocol support.
-c Enable the support of CDP protocol. (Cisco)
-e Enable the support of EDP protocol. (Extreme)
-f Enable the support of FDP protocol. (Foundry)
-s Enable the support of SONMP protocol. (Nortel)