ArticleslgStudy

science

Link Layer Discovery Protocol

Link Layer Discovery Protocol is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Link Layer Discovery Protocol rather than just read about it. In short: The Link Layer Discovery Protocol (LLDP) is a link-layer protocol used by network devices for advertising their identity, capabilities, and neighbors on a local area network based on IEEE 802 technology, principally wired Ethernet. The protocol is defined in technical standards and is formally referred to by the IEEE as Station and Media Access Control Connectivity Discovery specified in IEEE 802.1AB with additional…

Key takeaways

  • Link Layer Discovery Protocol belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Link Layer Discovery Protocol to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Link Layer Discovery Protocol from memory before moving on to harder problems.

Reference excerpt

The Link Layer Discovery Protocol (LLDP) is a link-layer protocol used by network devices for advertising their identity, capabilities, and neighbors on a local area network based on IEEE 802 technology, principally wired Ethernet. The protocol is defined in technical standards and is formally referred to by the IEEE as Station and Media Access Control Connectivity Discovery specified in IEEE 802.1AB with additional support in IEEE 802.3 section 6 clause 79. LLDP performs functions similar to several proprietary protocols, such as Cisco Discovery Protocol, Foundry Discovery Protocol, Nortel Discovery Protocol and Link Layer Topology Discovery.

Information gathered Information gathered with LLDP can be stored in the device management information base (MIB) and queried with the Simple Network Management Protocol (SNMP) as specified in RFC 2922. The topology of an LLDP-enabled network can be discovered by crawling the hosts and querying this database. Information that may be retrieved includes:

System name and description Switch port name and description VLAN name IP management address System capabilities (switching, routing, etc.) MAC/PHY information MDI power Link aggregation

Applications The Link Layer Discovery Protocol may be used as a component in network management and network monitoring applications. One such example is its use in data center bridging (DCB) requirements. The Data Center Bridging Capabilities Exchange Protocol (DCBX) is a discovery and capability exchange protocol that is used for conveying capabilities and configuration of DCB features between neighbors to ensure consistent configuration across the network. LLDP is used to advertise power over Ethernet capabilities and requirements and negotiate power delivery.

Media endpoint discovery extension Media Endpoint Discovery is an enhancement of LLDP, known as LLDP-MED, that provides the following facilities:

Auto-discovery of LAN policies (such as VLAN, Layer 2 Priority and differentiated services settings) enabling plug and play networking. Device location discovery to allow creation of location databases and, in the case of Voice over Internet Protocol (VoIP), Enhanced 911 services. Extended and automated power management of Power over Ethernet end points. Inventory management, allowing network administrators to track their network devices and determine their characteristics (manufacturer, software and hardware versions, serial or asset number). The LLDP-MED protocol extension was formally approved and published as the standard ANSI/TIA-1057 by the Telecommunications Industry Association in April 2006.

Frame structure LLDP information is sent by devices from each of their interfaces at a fixed interval, in the form of an Ethernet frame. Each frame contains one LLDP Data Unit (LLDPDU). Each LLDPDU is a sequence of type–length–value (TLV) structures. The Ethernet frame used in LLDP typically has its destination MAC address set to a special multicast address that 802.1D-compliant bridges do not forward. Other multicast and unicast destination addresses are permitted. The EtherType field is set to 0x88cc. Each LLDP frame starts with the following mandatory TLVs: Chassis ID, Port ID, and Time-to-Live. The mandatory TLVs are followed by any number of optional TLVs. The frame optionally ends with a special TLV, named end of LLDPDU in which both the type and length fields are 0. Accordingly, an Ethernet frame containing an LLDPDU has the following structure:

Each of the TLV components has the following basic structure:

Organizationally Specific TLVs are supported via a TLV type 127. The value of these TLVs starts with a 24-bit organizationally unique identifier and a 1-byte organizationally specific subtype followed by data. The basic format for an Organizationally Specific TLV is shown below:

According to IEEE Std 802.1AB, §9.6.1.3, "The Organizationally Unique Identifier shall contain the organization's OUI as defined in IEEE Std 802-2001." Each organization is responsible for managing its subtypes.

References

External links Tutorial on the Link Layer Discovery Protocol on EE Times 802.1AB - Station and Media Access Control Connectivity Discovery on IEEE 802.1 Link Layer Discovery Protocol on The Wireshark Wiki

Worked examples

Example 1 — a first encounter with Link Layer Discovery Protocol

Start with the simplest possible case. Write down what Link Layer Discovery Protocol claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Link Layer Discovery Protocol before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Link Layer Discovery Protocol ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Link Layer Discovery Protocol

In research
Link Layer Discovery Protocol appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Link Layer Discovery Protocol in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Link Layer Discovery Protocol is common in secondary-school and first-year university syllabi. It links to neighbouring topics Device discovery protocols, Ethernet standards, IEEE standards, so understanding it makes those chapters shorter.
In everyday life
Look for Link Layer Discovery Protocol outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Link Layer Discovery Protocol” →

How to study Link Layer Discovery Protocol in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Link Layer Discovery Protocol means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Link Layer Discovery Protocol out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Link Layer Discovery Protocol in simple terms?

The Link Layer Discovery Protocol (LLDP) is a link-layer protocol used by network devices for advertising their identity, capabilities, and neighbors on a local area network based on IEEE 802 technology, principally wired Ethernet. The protocol is defined in technical standards and is formally refe…

Why does Link Layer Discovery Protocol matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Link Layer Discovery Protocol?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Link Layer Discovery Protocol.

Tags

  • Device discovery protocols
  • Ethernet standards
  • IEEE standards
  • Link protocols
  • Logical link control

Keep exploring