Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Link Layer Discovery Protocol

From Wikipedia, the free encyclopedia
Protocol used by network devices for advertising their identity
"LLDP" redirects here. For the left lateral decubitus position, seeLying (position).
Internet protocol suite
Application layer
Transport layer
Internet layer
Link layer

TheLink Layer Discovery Protocol (LLDP) is a vendor-neutrallink layer protocol used bynetwork devices for advertising their identity, capabilities, and neighbors on alocal area network based onIEEE 802 technology, principallywired Ethernet.[1] The protocol is formally referred to by the IEEE asStation and Media Access Control Connectivity Discovery specified inIEEE 802.1AB with additional support in IEEE 802.3 section 6 clause 79.[2]

LLDP performs functions similar to severalproprietary protocols, such asCisco Discovery Protocol,Foundry Discovery Protocol,Nortel Discovery Protocol andLink Layer Topology Discovery.

Information gathered

[edit]

Information gathered with LLDP can be stored in the devicemanagement information base (MIB) and queried with theSimple Network Management Protocol (SNMP) as specified inRFC 2922. The topology of an LLDP-enabled network can be discovered bycrawling the hosts and querying this database. Information that may be retrieved include:

Applications

[edit]

The Link Layer Discovery Protocol may be used as a component innetwork management andnetwork monitoring applications.

One such example is its use indata center bridging requirements. TheData Center Bridging Capabilities Exchange Protocol (DCBX) is a discovery and capability exchange protocol that is used for conveying capabilities and configuration of the above features between neighbors to ensure consistent configuration across the network.[3]

LLDP is used to advertisepower over Ethernet capabilities and requirements and negotiate power delivery.

Media endpoint discovery extension

[edit]

Media Endpoint Discovery is an enhancement of LLDP, known asLLDP-MED, that provides the following facilities:

  • Auto-discovery of LAN policies (such as VLAN,Layer 2 Priority andDifferentiated services (Diffserv) settings) enablingplug and play networking.
  • Device location discovery to allow creation of location databases and, in the case ofVoice over Internet Protocol (VoIP),Enhanced 911 services.
  • Extended and automated power management ofPower 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 theTelecommunications Industry Association (TIA) in April 2006.[4]

System Capability Codes

[edit]
CodeCapability
BBridge (Switch)
CDOCSIS Cable Device
OOther
PRepeater
RRouter
SStation
TTelephone
WWLAN Access Point

Frame structure

[edit]

LLDP information is sent by devices from each of their interfaces at a fixed interval, in the form of anEthernet frame. Each frame contains one LLDP Data Unit (LLDPDU). Each LLDPDU is a sequence oftype–length–value (TLV) structures.

The Ethernet frame used in LLDP typically has its destinationMAC address set to a specialmulticast address that802.1D-compliant bridges do not forward. Other multicast and unicast destination addresses are permitted. TheEtherType field is set to 0x88cc.

Each LLDP frame starts with the following mandatory TLVs:Chassis ID,Port ID, andTime-to-Live. The mandatory TLVs are followed by any number of optional TLVs. The frame optionally ends with a special TLV, namedend of LLDPDU in which both thetype andlength fields are 0.[5]

Accordingly, an Ethernet frame containing an LLDPDU has the following structure:

LLDP Ethernet frame structure
PreambleDestination MACSource MACEthertypeChassis ID TLVPort ID TLVTime to live TLVOptional TLVsOptional End of LLDPDU TLVFrame check sequence
01:80:C2:00:00:0E, or
01:80:C2:00:00:03, or
01:80:C2:00:00:00
Station's address0x88CCType=1Type=2Type=3Zero or more complete TLVsType=0, Length=0

Each of the TLV components has the following basic structure:

TLV structure
TypeLengthValue
7 bits9 bits0-511 octets
TLV type values[6]
TLV typeTLV nameUsage in LLDPDU
0End of LLDPDUOptional
1Chassis IDMandatory
2Port IDMandatory
3Time To LiveMandatory
4Port descriptionOptional
5System nameOptional
6System descriptionOptional
7System capabilitiesOptional
8Management addressOptional
9–126Reserved-
127Custom TLVsOptional

Custom TLVs[note 1] are supported via a TLV type 127. The value of a custom TLV 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:

Organizationally specific TLV
TypeLengthOrganizationally unique identifier (OUI)Organizationally defined subtypeOrganizationally defined information string
7 bits—1279 bits24 bits8 bits0-507 octets

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.

Notes

[edit]
  1. ^TermedOrganizationally Specific TLVs by IEEE 802.1AB

References

[edit]
  1. ^"802.1AB-REV - Station and Media Access Control Connectivity Discovery". IEEE. Retrieved2009-10-17.
  2. ^"IEEE 802.1AB-2016 - IEEE Standard for Local and metropolitan area networks - Station and Media Access Control Connectivity Discovery".
  3. ^Qlogic; et al."DCB Capabilities Exchange Protocol Base Specification, Rev 1.01"(PDF). IEEE 802.
  4. ^"ANSI/TIA-1057 standard"(PDF). Archived fromthe original(PDF) on 2010-10-08.
  5. ^IEEE 802.1AB-2016 chapter 8.4
  6. ^IEEE 802.1AB8.4 Basic TLV Format

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Link_Layer_Discovery_Protocol&oldid=1244855229"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp