LLDP Protocol Features

LLDP allows stations attached to an IEEE 802 LAN to advertise to other stations attached to the same LAN, the major capabilities provided by the system incorporating that station, the management address or addresses of the entity or entities that manage these capabilities, and the identification of the station's point of attachment to the LAN required by the management entity or entities.

The information distributed via this protocol is stored on the receiving device in a standard MIB, so that the information can be accessed by a Network Management System (NMS).

The LLDP protocol uses an LLDP agent entity that implements LLDP for a particular MAC service access point (MSAP) associated with a port.

LLDP does not contain a mechanism for soliciting specific information from other LLDP agents, nor does it provide a specific means of confirming the receipt of information. LLDP allows the transmitter and the receiver to be enabled separately; therefore, the local LLDP agent can be configured to transmit only, receive only, or both transmit and receive LLDP information.

LLDP agents transmit and receive LLDP Data Units (LLDPDUs). The LLDPDU contains an LLDP frame whose information fields are a sequence of variable-length information elements. Each element includes type, length, and value fields (known as TLVs).

Each LLDPDU contains four mandatory TLVs and can contain optional TLVs as selected by network management. Figure: LLDPDU Format shows the LLDPDU format.

Figure: LLDPDU Format

The chassis ID TLV identifies the chassis containing the Ethernet port responsible for transmitting the LLDPDU. The port ID TLV identifies the Ethernet port responsible for transmitting the LLDPDU. The chassis ID and the port ID values are concatenated to form a logical identifier (the MSAP identifier) that is used by the recipient to identify the sending LLDP agent and associated port. Both the chassis ID and port ID values can be defined in a number of ways. Once selected, however, the chassis ID and port ID value combination remains the same as long as the particular port remains operable.

The Time To Live TLV indicates the number of seconds (from 0 to 65535) that the receiving LLDP agent should consider the information contained in the received LLDPDU to be valid. The Time To Live TLV is calculated by the formula tx-interval ✕ tx-hold-multiplier. The associated information is automatically discarded by the receiving LLDP agent if the sender fails to update it before this time. A zero value indicates that any information pertaining to this LLDPDU identifier is to be discarded immediately. A TTL value of zero can be used, for example, to signal that the sending port has initiated a port shutdown procedure.

The End of LLDPDU TLV marks the end of the LLDPDU.

The implementation defaults to setting the port-id field in the LLDP OAMPDU to tx-local. This encodes the port-id field as ifindex (subtype 7) of the associated port, which is required to support some releases of the NSP NFM-P. The NSP NFM-P may use the ifindex value to properly build the Layer 2 topology network map. However, this numerical value is difficult to interpret or readily identify the LLDP peer when reading the CLI or MIB value without using the NSP NFM-P. Including the port-desc option as part of the tx-tlv configuration allows a Nokia remote peer supporting port-desc preferred display logic to display the value in the port description TLV instead of the port-id field value. This does not change the encoding of the port-id field. The port-id field value continues to represent the ifindex. In some environments, it may be important to select the specific port information that is carried in the port-id field. The operator has the ability to control the encoding of the port-id information and the associated subtype using the port-id-subtype option. Three options are supported for the port-id-subtype:

IPv6 (address subtype 2) and IPv4 (address subtype 1) LLDP system management addresses are supported.