lldp holdtime

Syntax

lldp holdtime <TIME>

no lldp holdtime

Description

Sets the holdtime that is used to calculate the LLDP Time-to-Live value. Time-to-Live defines the length of time that neighbors consider LLDP information sent by this agent as valid. When Time-to-Live expires, the information is deleted by the neighbor. Time-to-live is calculated by multiplying holdtime by the value of lldp timer.

The no form of this command sets the holdtime to its default value of 4.

Command context

config

Parameters

<TIME>

Specifies the holdtime in seconds. Range: 2 to 10. Default: 4.

Authority

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

Examples

Setting the holdtime to 8 seconds:

switch(config)# lldp holdtime 8 

Setting the holdtime to the default value of 4 seconds:

switch(config)# no lldp holdtime