A SERVICE OF

logo

set cdp hold-time
D-Series CLI Reference 3-5
set cdp hold-time
UsethiscommandtosettheholdtimevalueforCDPdiscoveryprotocolconfigurationmessages.
Syntax
set cdp hold-time hold-time
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Example
ThisexampleshowshowtosetCDPholdtimeto60seconds:
D2(su)->set cdp hold-time 60
clear cdp
UsethiscommandtoresetCDPdiscoveryprotocolsettingstodefaults.
Syntax
clear cdp {[state] [port-state port-string] [interval] [hold-time] [auth-code]}
Parameters
Defaults
Atleastoneoptionalparametermustbeentered.
Mode
Switchcommand,readwrite.
Example
ThisexampleshowshowtoresettheCDPstatetoautoenabled:
D2(su)->clear cdp state
holdtime SpecifiestheholdtimevalueforCDPmessagesinseconds.Validvaluesare
from15to600.
state (Optional)ResetstheglobalCDPstatetoautoenabled.
portstateportstring (Optional)Resetstheportstateonspecificport(s)toautoenabled.
interval (Optional)Resetsthemessagefrequencyintervalto60seconds.
holdtime (Optional)Resetstheholdtimevalueto180seconds.
authcode (Optional)Resetstheauthenticationcodeto16
bytesof00(000000
0000000000).