- Enterasys Ethernet Switches Reference Manual

set cdp state
D-Series CLI Reference 3-3
set cdp state
UsethiscommandtoenableordisabletheCDPdiscoveryprotocolononeormoreports.
Syntax
set cdp state {auto | disable | enable} [port-string]
Parameters
Defaults
Ifportstringisnotspecified,theCDPstatewillbegloballyset.
Mode
Switchcommand,readwrite.
Examples
ThisexampleshowshowtogloballyenableCDP:
D2(su)->set cdp state enable
ThisexampleshowshowtoenabletheCDPforportge.1.2:
D2(su)->set cdp state enable ge.1.2
ThisexampleshowshowtodisabletheCDPforportge.1.2:
D2(su)->set cdp state disable ge.1.2
set cdp auth
UsethiscommandtosetaglobalCDPauthenticationcode.
Syntax
set cdp auth auth-code
Status Whether CDP is enabled, disabled or auto-enabled on the port.
Table 3-8 show cdp Output Details (Continued)
Output Field What It Displays...
auto|disable|
enable
Autoenables,disablesorenables theCDPprotocolonthespecifiedport(s).
Inautoenablemode,whichisthedefaultmodeforallports,aport
automaticallybecomesCDPenableduponreceivingitsfirstCDPmessage.
portstring (Optional)EnablesordisablesCDPonspecificport(s).For
adetailed
descriptionofpossibleportstringvalues,referto
Port String Syntax Used in
the CLI
onpage41.