Specifications

set cdp auth
5-4 Discovery Protocol Configuration
set cdp auth
UsethiscommandtosetaglobalCDPauthenticationcode.
Syntax
set cdp auth auth-code
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
Theauthenticationcodevaluedeterminesaswitch’sCDPdomain.Iftwoormoreswitcheshave
thesameCDPauthenticati oncode,theywillbeenteredintoeachothersCDPneighbortables.If
theyhavedifferentauthenticationcodes,theyareindifferentdomainsandwillnotbeentered
intoeachothersCDPneighbor
tables.
Aswitchwiththedefaultauthenticationcode(16nullcharacters)willrecognizeallswitches,no
matterwhattheirauthenticationcode,andenterthemintoitsCDPneighbortable.
Example
ThisexampleshowshowtosettheCDPauthenticationcodeto1,2,3,4,5,6,7,8:
D2(su)->set cdp auth 1,2,3,4,5,6,7,8:
set cdp interval
Usethiscommandtosetthemessageintervalfrequency(inseconds)oftheCDPdiscovery
protocol.
Syntax
set cdp interval frequency
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
authcode SpecifiesanauthenticationcodefortheCDPprotocol.Thiscanbeupto16
hexadecimalvaluesseparatedbycommas.
frequency SpecifiesthetransmitfrequencyofCDPmessagesinseconds.Validvalues
arefrom5to900seconds.