The Cisco Discovery Protocol (CDP) is a media-independent device discovery protocol that runs on all Cisco manufactured equipment, including routers, bridges, access servers, and switches. In addition, network management applications can retrieve the device type and SNMP-agent address of neighboring Cisco devices. This enables applications to send SNMP queries to neighboring devices. CDP allows network management applications to discover Cisco devices that are neighbors of already known devices, in particular, neighbors running lower-layer, transparent protocols. CDP runs on all media that support Subnetwork Access Protocol (SNAP), including LAN and Frame Relay. CDP runs over the data link layer only. Cisco devices never forward CDP packets. When new CDP information is received, Cisco devices discard old information.
CDPR (Cisco Discovery Protocol Reporter) is used to decode a Cisco Disovery Protocol (CDP) packet, by default it will report the device ID, the IP Address (of the device), and the port number that the machine is connected to. Optionally it will decode the entire CDP packet.
scdp (send CDP packets) This program sends CDP (Cisco Discovery Protocol) packets out on selected interfaces and tells the connected switch (cisco only) where the host is connected.
LLDP (Link Layer Discovery Protocol) is a vendor-neutral Layer 2 protocol that allows a network device to advertise its identity and capabilities on the local network.