
Link Layer Discovery Protocol (LLDP) 3
Type Length Values
The LLDP agent transmits and receives information via LLDPDUs. A single
LLDPDU contains multiple advertisement messages, each of which is
communicated within a Type Length Value (TLV). TLVs are short information
elements which communicate complex data, such as variable length strings, in
an organized format. Each TLV advertises a single type of information that
identifies the sending device, for example, its device ID, type, or the address or
addresses.
The following table describes the fields in a TLV.
Each LLDPDU contains at least four mandatory TLVs by default. You can also
configure the switch to send up to five optional additional TLVs.
Mandatory TLVs Mandatory TLVs are sent by default in every LLDPDU. These advertise the
device's MAC Service Access Point (MSAP) identifier, as well as the time
period for which the device's information is valid. All LLDP information
associated with a device is identified with the device's MSAP identifier.
The MSAP identifier is defined by the IEEE Standard 802.1AB-2005 as follows:
“the concatenation of the chassis ID and the port ID is used by LLDP as an
MSAP identifier, to identify the LLDP agent and physical port associated with
an IEEE 802® LAN station” For more information, see the IEEE Standard
802.1AB-2005.
The following table describes mandatory TLVs.
Field Description
Type Identifies the kind of information. It consists of a a 16-bit Type code.
Length Identifies the length of the information. It consists of a 16-bit value that
specifies the number of bytes of data in the Value field.
Value Contains the actual value of the advertised information. This is a variable
length data field.
Mandatory TLV Description
Chassis ID Identifies the device's chassis. It is the MAC address of the
switch, or the MAC address of the port for Eth ports.
PortID Identifies the port that transmitted the LLDPDU.
Time To Live (TTL) Indicates the length of time in seconds for which the
information received in the LLDPDU remains valid. If the
value is greater than zero, the information is stored in the
LLDP remote system MIB. If the value is zero, the
information is no longer valid, and is removed from the MIB.
End of LLDPDU Signals that there are no more TLVs in the LLDPDU.
Comentarios a estos manuales