LLDP

Link Layer Discovery Protocol (LLDP) (also known as 802.1ab) is an industry-standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's Discovery Protocol (EDP) and Cisco Discovery Protocol (CDP). The goal of LLDP is to provide an inter-vendor-compatible mechanism to deliver Link-Layer notifications to adjacent network devices.

An LLDP device advertises itself to adjacent (neighbor) devices by transmitting LLDP data packets on all interfaces on which outbound LLDP is enabled and reading LLDP advertisements from neighbor devices on ports on which inbound LLDP is enabled. Inbound packets from neighbor devices are stored in a LLDP Management Information Base (MIB). This information can then be queried by other devices through SNMP.

lldp block

 

LLDP information is used by network management tools to create accurate physical network topologies by determining which devices are neighbors and through which interfaces they connect. LLDP operates at layer 2 and requires an LLDP agent to be active on each interface that sends and receives LLDP advertisements. LLDP advertisements can contain a variable number of TLV (type, length, value) information elements. Each TLV describes a single attribute of a device such as: system capabilities, management IP address, device ID, port ID. LLDP is useful in obtaining information about an external power device, such as a Wireless Access Point (WAP). 

WAPs are treated as external devices that are configured using the LLDP profile to set up inventory information, (e.g., manufacturer’s name) and LLDP-MED Power extensions, if the device fully supports those extensions, which will designate peak power required by the device.

Moreover, LLDP also supports Time-To-Live (TTL) mechanism which helps prevent loops in redundant networks by limiting the number of hops a packet can travel before being discarded. This ensures efficient use of network resources while improving overall network stability. 

LLDP supports a defined set of attributes that it uses to discover neighbor devices and are referred to as TLVs which are as follows:

Devices running LLDP, on one of their interfaces, uses TLVs to receive and send information to their neighbors. These devices store the information of neighboring devices in a local table that can be accessed using Simple Network Management Protocol (SNMP). Information stored by the devices includes:

LLDP-MED

LLDP-MED (ANSI/TIA-1057/D6) extends the LLDP (IEEE 802.1AB) industry standard to support advanced features on the network edge for Voice Over IP (VoIP) endpoint devices with specialized capabilities and LLDP-MED standards-based functionality. LLDP-MED in the switches uses the standard LLDP commands described earlier in this section, with some extensions, and also introduces new commands unique to LLDP-MED operation. The show commands described elsewhere in this section are applicable to both LLDP and LLDP-MED operation. LLDP-MED enables:

LLDP Frame Format

In 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.


lldp-tlv

LLDP Profile Attributes

The following LLDP profile attributes are available for user creation and editing.

Admin State

Standard Type-Length-Value Activation

Standard Parameters

IEEE 802.1 Type-Length-Values Activation (TLV)

IEEE 802.3 Type-Length-Values Activation

LLDP-MED Type-Length-Values Activation

LLDP-MED Parameters

Notification Activation

VLAN Assignment for VoIP Phone