Setting LLDP frame transmission parameters
About setting LLDP frame transmission parameters
The Time to Live TLV carried in an LLDPDU determines how long the device information carried in
the LLDPDU can be saved on a recipient device.
By setting the TTL multiplier, you can configure the TTL of locally sent LLDPDUs. The TTL is
expressed by using the following formula:
TTL = Min (65535, (TTL multiplier × LLDP frame transmission interval + 1))
As the expression shows, the TTL can be up to 65535 seconds. TTLs greater than 65535 will be
rounded down to 65535 seconds.
Procedure
1.
Enter system view.
system-view
2.
Set the TTL multiplier.
lldp hold-multiplier value
The default setting is 4.
3.
Set the LLDP frame transmission interval.
lldp timer tx-interval interval
The default setting is 30 seconds.
4.
Set the token bucket size for sending LLDP frames.
lldp max-credit credit-value
The default setting is 5.
5.
Set the number of LLDP frames sent each time fast LLDP frame transmission is triggered.
lldp fast-count count
The default setting is 4.
6.
Set the fast LLDP frame transmission interval.
lldp timer fast-interval interval
The default setting is 1 second.
Setting the timeout for receiving LLDP frames
About the timeout for receiving LLDP frames
This feature allows the device to detect the presence of directly connected neighbors by setting the
timeout timer for receiving LLDP frames. If an interface has not received any frames when the
timeout timer expires, the device reports a no LLDP neighbor event to the NETCONF module.
Restrictions and guidelines
To avoid misdetection, make sure the timeout for receiving LLDP frames is greater than the LLDP
frame transmission interval.
Procedure
1.
Enter system view.
system-view
2.
Set the timeout for receiving LLDP frames.
lldp timer rx-timeout timeout
15