l
An LLDP device advertises its information to direct-connected neighbor devices
periodically. It also receives, refreshes and saves the advertisements from neighbor
devices. The device scans the CACHE every second. If no new packet is received
during the hole-time period, the information is aged.
l
LLDP defines a general advertisement set, a transport advertisement protocol and a
method of storing all received advertisements. A device that wants to advertise its
information can put several advertisements in a LAN packet. The mode to transmit
the packets is the TLV field. The information includes the chassis ID (mandatory), port
ID (mandatory), system name, system function, system description and some other
attributes.
Chassis ID is the first mandatory TLV in an LLDPDU. It is the unique ID of a
à
device that supports to send LLDPDUs. It is recommended to use the chassis
MAC address as the chassis ID for a switch, and use the loopback address or an
interface IP address as the chassis ID for a router.
Port ID is the second mandatory TLV in an LLDPPDU. It is the unique ID of port
à
that sends LLDPDUs. For a switch, it is recommended to use the port name as
the port ID, such as fei4/1.
TTL is the third mandatory TLV in an LLDPPDU. It is the living time (in the unit
à
of second) of an LLDPPDU received by the peer. When a peer receives an
LLDPPDU of which the TTL is 0, the device deletes all related information.
End of LLDPDU is the last mandatory TLV in an LLDPPDU. It defines the end of
à
an LLDPPDU.
14.2 Configuring LLDP
This procedure describes how to configure basic attributes and functions for the LLDP.
Steps
1. Configure LLDP.
To configure LLDP on ZXR10 ZSR V2, perform the following steps.
Step
1
SJ-20140504150128-007|2014-05-10 (R1.0)
Command
lldp
ZXR10(config)#
14-3
ZTE Proprietary and Confidential
Chapter 14 LLDP Configuration
Function
This enters LLDP configuration
mode.