set cdp state
SecureStack C2 Configuration Guide 4-3
set cdp state
UsethiscommandtoenableordisabletheCDPdiscoveryprotocolononeormoreports.
Syntax
set cdp state {auto | disable | enable} [port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,theCDPstatewillbegloballyset.
Mode
Switchcommand,read‐write.
Examples
ThisexampleshowshowtogloballyenableCDP:
C2(su)->set cdp state enable
ThisexampleshowshowtoenabletheCDPforportge.1.2:
C2(su)->set cdp state enable ge.1.2
ThisexampleshowshowtodisabletheCDPforportge.1.2:
C2(su)->set cdp state disable ge.1.2
set cdp auth
UsethiscommandtosetaglobalCDPauthenticationcode.
CDP Transmit
Frequency
Frequency (in seconds) at which CDP messages can be transmitted. The default of
60 seconds can be reset with the set cdp interval command. For details, refer to “set
cdp interval” on page 4-4.
Port Port designation. For a detailed description of possible port-string values, refer to
“Port String Syntax Used in the CLI” on page 5-2.
Status Whether CDP is enabled, disabled or auto-enabled on the port.
Table 4-1 show cdp Output Details (Continued)
Output What It Displays...
auto|disable|
enable
Auto‐enables,disablesorenablestheCDPprotocolonthespecifiedport(s).
Inauto‐enablemode,whichisthedefaultmodeforallports,aport
automaticallybecomesCDP‐enableduponreceivingitsfirstCDPmessage.
port‐string (Optional)EnablesordisablesCDPonspecificport(s).For
adetailed
descriptionofpossibleport‐stringvalues,referto
“Port String Syntax Used in
the CLI
”onpage5‐2.