Content deleted Content added
No edit summary |
|||
(36 intermediate revisions by 20 users not shown) | |||
Line 1:
{{short description|Protocol used by network devices for advertising their identity}}
{{Redirect|LLDP|the
{{Internet protocol suite|link=LLDP}}
The '''Link Layer Discovery Protocol''' ('''LLDP''') is a vendor-neutral [[link layer]] protocol used by [[network device]]s for advertising their identity, capabilities, and neighbors on an [[IEEE 802]] [[local area network]], principally [[wired Ethernet]].<ref>{{cite web▼
▲The '''Link Layer Discovery Protocol''' ('''LLDP''') is a vendor-neutral [[link layer]] protocol used by [[network device]]s for advertising their identity, capabilities, and neighbors on
|title=802.1AB-REV - Station and Media Access Control Connectivity Discovery
|url=http://www.ieee802.org/1/pages/802.1AB-rev.html
|publisher=IEEE
|
}}</ref> The protocol is formally referred to by the IEEE as ''Station and Media Access Control Connectivity Discovery'' specified in '''IEEE 802.1AB'''
LLDP performs functions similar to several [[proprietary protocol]]s, 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 [[
* System name and description
* [[Port (computer networking)|Port]] name and description
Line 23 ⟶ 25:
==Applications==
The Link Layer Discovery Protocol may be used as a component in [[network management]] and [[network monitoring]] 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]] requirements. The '''{{visible anchor|
|title=DCB Capabilities Exchange Protocol Base Specification, Rev 1.01
|url=http://www.ieee802.org/1/files/public/docs2008/az-wadekar-dcbx-capability-exchange-discovery-protocol-1108-v1.01.pdf
Line 35 ⟶ 36:
LLDP is used to advertise [[power over Ethernet]] capabilities and requirements and negotiate power delivery.
===Media endpoint discovery extension {{anchor|LLPD-MED}} ===▼
''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, [[802.1q|Layer 2 Priority]] and [[Differentiated services]] (Diffserv) 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.▼
* 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]] (TIA) in April 2006.<ref name="tia1057">{{cite web▼
| url=http://www.tiaonline.org/standards/technology/voip/documents/ANSI-TIA-1057_final_for_publication.pdf▼
| title=ANSI/TIA-1057 standard▼
| archive-url = https://web.archive.org/web/20101008234510/https://tiaonline.org/standards/technology/voip/documents/ANSI-TIA-1057_final_for_publication.pdf
| archive-date = 2010-10-08
}}</ref>▼
== System Capability Codes ==
{| class="wikitable"
|+
!Code
!Capability
|-
|B
|Bridge (Switch)
|-
|C
|DOCSIS Cable Device
|-
|O
|Other
|-
|P
|Repeater
|-
|R
|Router
|-
|S
|Station
|-
|T
|Telephone
|-
|W
|WLAN Access Point
|}
==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 [[
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.
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.<ref>IEEE 802.1AB-2016 chapter 8.4</ref>
Accordingly, an Ethernet frame containing an LLDPDU has the following structure:
Line 56 ⟶ 102:
! Time to live TLV
! Optional TLVs
! Optional End of LLDPDU TLV
! [[Frame check sequence]]
|-
|
| align="left" | {{MACaddr|01:80:c2:00:00:0e}}, or<br /> {{MACaddr|01:80:c2:00:00:03}}, or<br /> {{MACaddr|01:80:c2:00:00:00}}
| Station's address
| 0x88CC
Line 84 ⟶ 130:
! TLV type !! TLV name !! Usage in LLDPDU
|-
| 0 || End of LLDPDU ||
|-
| 1 || Chassis ID || Mandatory
Line 124 ⟶ 170:
|}
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
▲==Media endpoint discovery extension {{anchor|LLPD-MED}} ==
▲''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, [[802.1q|Layer 2 Priority]] and [[Differentiated services]] (Diffserv) 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]] (PoE) 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]] (TIA) in April 2006.<ref name="tia1057">{{cite web
▲ | url=http://www.tiaonline.org/standards/technology/voip/documents/ANSI-TIA-1057_final_for_publication.pdf
▲ | title=ANSI/TIA-1057 standard
▲}}</ref>
==Notes==
Line 151 ⟶ 181:
*[https://www.eetimes.com/document.asp?doc_id=1272069 Tutorial on the Link Layer Discovery Protocol] on [[EE Times]]
* [http://www.ieee802.org/1/pages/802.1ab.html 802.1AB - Station and Media Access Control Connectivity Discovery] on [[IEEE 802.1]]
*[https://
[[Category:Device discovery protocols]]
[[Category:Ethernet standards]]
Line 159 ⟶ 188:
[[Category:Link protocols]]
[[Category:Logical link control]]
|