Changing the time-to-live for transmitted advertisements (CLI)

For more information, see Time-to-Live for transmitted advertisements.

Syntax:


lldp holdtime-multiplier <2-10>

Changes the multiplier an LLDP switch uses to calculate the Time-to-Live for the LLDP advertisements it generates and transmits to LLDP neighbors. When the Time-to-Live for a given advertisement expires, the advertised data is deleted from the neighbor switch's MIB.

(Default: 4; Range 2–10)

Example:

If the refresh-interval on the switch is 15 seconds and the holdtime-multiplier is at the default, the Time-to-Live for advertisements transmitted from the switch is 60 seconds (4 x 15).

To reduce the Time-to-Live, you could lower the holdtime-interval to 2, which would result in a Time-to-Live of 30 seconds.

switch(config)# lldp holdtime-multiplier 2