lldp timer

Syntax

lldp timer <TIME>

no lldp timer

Description

Sets the interval (in seconds) at which local LLDP information is updated and TLVs are sent to neighboring network devices by the LLDP agent. The minimum setting for this timer must be four times the value of lldp txdelay.

For example, this is a valid configuration:

  • lldp timer = 16
  • lldp txdelay = 4

And, this is an invalid configuration:

  • lldp timer = 5
  • lldp txdelay = 2
NOTE:

When copying a saved configuration to the running configuration, the value for lldp timer is applied before the value of lldp txdelay. This can result in a configuration error if the saved configuration has a value of lldp timer that is not four times the value of lldp txdelay in the running configuration.

For example, if the saved configuration has the settings:

  • lldp timer = 16
  • lldp txdelay = 4

And the running configuration has the settings:

  • lldp timer = 30
  • lldp txdelay = 7

Then you will see an error indicating that certain configuration settings could not be applied, and you will have to manually adjust the value of lldp txdelay in the running configuration.

The no form of this command sets the update interval to its default value of 30 seconds.

Command context

config

Parameters

<TIME>

Specifies the update interval (in seconds). Range: 5 to 32768. Default: 30.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting the update interval to 7 seconds:

switch(config)# lldp timer 7 

Setting the update interval to the default value of 30 seconds:

switch(config)# no lldp timer