Configuration Guide Configuring LLDP
The default LLDP transmission interval is 30 seconds.
Run the lldp timer tx-interval command to change the LLDP transmission interval.
If the interval is set to a very small value, LLDP packets may be transmitted frequently. If the interval is set to a very large
value, the peer may not discover the local device in time.
Configuring the TLVs to Be Advertised
By default, an interface is allowed to advertise TLVs of all types except Location Identification TLV.
Run the lldp tlv-enable command to change the TLVs to be advertised.
Configuring the LLDP Fast Transmission Count
By default, three LLDP packets are fast transmitted.
Run the lldp fast-count command to change the number of LLDP packets that are fast transmitted.
5.3.3 LLDP Reception Mechanism
A device can discover the neighbor and determine whether to age the neighbor information according to received LLDP
packets.
Working Principle
A device can receive LLDP packets when working in TxRx or Rx Only mode. After receiving an LLDP packet, a device
conducts validity check. After the packet passes the check, the device checks whether the packet contains information about
a new neighbor or about an existing neighbor and stores the neighbor information locally. The device sets the TTL of
neighbor information according to the value of TTL TLV in the packet. If the value of TTL TLV is 0, the neighbor information is
aged immediately.
Related Configuration
Configuring the LLDP Work Mode
The default LLDP work mode is TxRx.
Run the lldp mode txrx or lldp mode rx command to enable the LLDP packet reception function. Run the lldp mode tx or
no lldp mode command to disable the LLDP packet reception function.
In order to enable LLDP packet reception, set the work mode to TxRx or Rx Only. If the work mode is set to Tx Only, the
device can only transmit LLDP packets.