Manoj Reddy's Reference Guide

cdp holdtime

To specify the amount of time the receiving device should hold a CDP packet from your router before discarding it, use thecdp holdtime global configuration command. Use the no form of this command to revert to the default setting.

cdp holdtime seconds

no cdp holdtime

Syntax Description

seconds 

Specifies the hold time to be sent in the CDP update packets.

Defaults

180 seconds

Command Modes

Global configuration

Command History

ReleaseModification
10.3

This command was introduced.

Usage Guidelines

CDP packets are sent with time-to-live, or hold time, that is nonzero after an interface is enabled and a hold time of 0 immediately before an interface is idled down.

The CDP hold time must be set to a higher number of seconds than the time between CDP transmissions, which is set using the cdp timer command.

Examples

In the following example, the CDP packets being sent from your router should be held by the receiving device for 60 seconds before being discarded. You might want to set the hold time lower than the default setting of 180 seconds if information about your router changes often and you want the receiving devices to purge this information more quickly.

cdp holdtime 60

Related Commands

CommandDescription
cdp timer Specifies how often the Cisco IOS software sends CDP updates.
show cdp "Displays global CDP information, including timer and hold-time information."

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.