cdp holdtime

To specify the amount of time for which the receiving device should hold a Cisco Discovery Protocol packet from the Cisco CDA server before discarding it, use the cdp holdtime command in the Configuration mode. To revert to the default setting, use the no form of this command.

cdp holdtime seconds

Syntax Description

cdp

The command to configure the Cisco Discovery Protocol parameters.

holdtime

The Cisco Discovery Protocol hold time specified.

seconds

Specifies the hold time, in seconds. Value from 10 to 255 seconds.

Defaults

180 seconds

Command Modes

Configuration

Usage Guidelines

Cisco Discovery Protocol packets transmit with a time to live, or hold time, value. The receiving device will discard the Cisco Discovery Protocol information in the Cisco Discovery Protocol packet after the hold time has elapsed.

The cdp holdtime command takes only one argument; otherwise, an error occurs.

Examples

/admin(config)# cdp holdtime 60

/admin(config)#

Related Commands

Command

Description

cdp timer

Specifies how often the Cisco CDA server sends Cisco Discovery Protocol updates.

cdp run

Enables the Cisco Discovery Protocol.