![Cisco ASR 14000 Series Скачать руководство пользователя страница 54](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667054.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
CDP Commands on Cisco IOS XR Software
cdp holdtime
SMR-52
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
cdp holdtime
To specify the time for which the receiving device should hold a Cisco Discovery Protocol (CDP) packet
from your networking device before discarding it, use the
cdp holdtime
command in global
configuration mode. To remove the
cdp holdtime
global configuration command from the configuration
file and restore the system to its default condition with respect to this command, use the
no
form of this
command.
cdp holdtime
seconds
no cdp holdtime
Syntax Description
Defaults
seconds
: 180
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
CDP packets are sent with a time-to-live value, or holdtime, that is nonzero after an interface is enabled.
The CDP holdtime must be set to a higher number of seconds than the time between CDP transmissions,
which is set using the
command.
Task ID
Examples
The following example shows how to specify that the CDP packets sent from the networking device are
held by the receiving device for 60 seconds before being discarded. You might want to set the holdtime
lower than the default setting of 180 seconds if information about your networking device changes often
and you want the receiving devices to purge this information more quickly.
RP/0/RP0/CPU0:router(config)#
cdp holdtime 60
The following example shows how to use the
no
form of the command to set the holdtime to the default
of 180 seconds:
RP/0/RP0/CPU0:router(config)#
no cdp holdtime
seconds
Holdtime to be sent in the CDP update packets. Range is 10 seconds to 255
seconds.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
cdp
read, write