lldp timer

Syntax

lldp timerno 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 oflldp 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 forlldp timeris applied before the value oflldp txdelay. This can result in a configuration error if the saved configuration has a value oflldp timerthat is not four times the value oflldp txdelayin 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 oflldp txdelayin the running configuration.

Thenoform of this command sets the update interval to its default value of 30 seconds.

Command context

config

Parameters

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

更新时间间隔设置为默认值f 30 seconds:

switch(config)#no lldp timer