Wiremaps is an application that gathers layer 2 wiring information on a network using protocols like LLDP, EDP, CDP, and SONMP. It also gathers information from the FDB (MAC-port table on switches), the ARP table (MAC-IP table), and some miscellaneous information like interface names.
lldpd is an implementation of IEEE 802.1ab that provides LLDP sending and reception, It supports VLANs and includes an SNMP subagent that can interface to an SNMP agent through the AgentX protocol. LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices. The daemon is also able to deal with CDP, FDP, SONMP, and EDP protocols. It also handles the LLDP-MED extension.