Specifications

set cdp state
SecureStack B2 Configuration Guide 6-3
set cdp state
UsethiscommandtoenableordisabletheCDPdiscoveryprotocolononeormoreports.
Syntax
set cdp state {auto | disable | enable} [port-string]
Parameters
Defaults
Ifportstringisnotspecified,theCDPstatewillbegloballyset.
Mode
Switchcommand,readwrite.
Examples
ThisexampleshowshowtogloballyenableCDP:
B2(su)->set cdp state enable
ThisexampleshowshowtoenabletheCDPforportfe.1.2:
B2(su)->set cdp state enable fe.1.2
ThisexampleshowshowtodisabletheCDPforportfe.1.2:
B2(su)->set cdp state disable fe.1.2
CDP Authentication
Code
Authentication code for CDP discovery protocol. The default of 00-00-00-00-00-00-
00-00 can be reset using the set cdp auth command. For details, refer to “set cdp
auth” on page 6-4.
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 6-4.
Port Port designation. For a detailed description of possible port-string values, refer to
Port String Syntax Used in the CLI” on page 7-2.
Status Whether CDP is enabled, disabled or auto-enabled on the port.
Table 6-2 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,refertoPortStringSyntaxUsed
intheCLIonpage72.