Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer Last Updated : 27 Aug, 2019 Comments Improve Suggest changes Like Article Like Report Layer 2 or the Datalink layer provides physical addressing and access to media. It defines how data is to be formatted for transmission and how access to the network is to be controlled. It also provides error detection, ensuring data on higher layers is formatted correctly for transmission. Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer are layer 2 (Datalink layer) protocols. They both help to discover how devices are connected to each other in a network. They both run independently of protocols IPv4/IPv6. They also help to verify and create documentation. Cisco Discovery Protocol (CDP): CDP is a Cisco proprietary protocol developed by Cisco Systems. It is used to discover other Cisco devices and can be used to share information such as OS version IP address, etc. CDP uses multicast frames for transmission and doesn't rely on higher layer protocols. It can also be used for On Demand Routing to include routing information in CDP announcements so that dynamic routing protocols do not need to be used in simple networks. Link Layer Discovery Protocol (LLDP): LLDP on the other hand is the industry standard version of CDP. It is used by network devices for advertising themselves and their neighbors on a local area network based on IEEE 802 technology. Consider the following diagram: In the above diagram: connection 1 is possible as the connection is between 2 Cisco devices and both would use CDP to discover their neighbors and share their information. The same goes for connection 2 which is between 2 non Cisco devices. It will be using LLDP instead of CDP to discover its neighbors. A Cisco device cannot locate a non Cisco device using CDP and vice versa. Therefore, we can say that connection 3 is not possible. Comment More infoAdvertise with us Next Article Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer L lemilxavier Follow Improve Article Tags : Computer Networks Data Link Layer Similar Reads Difference Between Network Layer Protocols and Application Layer Protocols Protocols are the set of rules that govern communication between devices in computer network. These rules command how devices should send and receive data over a network. Protocols are typically organized into layers, with each layer serving a specific purpose and working in conjunction with the oth 5 min read Link Layer Discovery Protocol (LLDP) LLDP stands for Link Layer Discovery Protocol. It is an open IEEE-standard (802.1AB) Layer 2 protocol. LLDP is the open-source alternative for CDP (Cisco Discovery Protocol) which is also a device discovery protocol that runs over Layer 2 (the data link layer) only on Cisco-manufactured devices (rou 6 min read Difference Between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP) The main difference between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP) is that High-level Data Link Control is the bit-oriented protocol, on the other hand, Point-to-Point Protocol is the byte-oriented protocol. Another difference between HDLC and PPP is that HDLC is imple 5 min read What is Cisco Discovery Protocol (CDP)? Usually, most networks have several routers or switches, and to make management of networks easy, net maps or network maps are used that tells us what type of devices are present in the network and how all the devices are connected with each other, the IP addresses they are using and the information 4 min read Logical Link Control and Adaptation Protocol (L2CAP) The Logical Link Control and Adaptation Protocol (L2CAP) is a layer in the Bluetooth stack that provides crucial services for communication between Bluetooth devices. L2CAP offers segmentation and reassembly services for large packets to be transmitted across Bluetooth links and also allows for the 4 min read Like