set cdp state
SecureStack C3 Configuration Guide
6-3
set cdp state
Use
this
command
to
enable
or
disable
the
CDP
discovery
protocol
on
one
or
more
ports.
Syntax
set cdp state
{
auto
|
disable | enable
}
[port-string]
Parameters
Defaults
If
port
‐
string
is
not
specified,
the
CDP
state
will
be
globally
set.
Mode
Switch
command,
read
‐
write.
Examples
This
example
shows
how
to
globally
enable
CDP:
C3(su)->set cdp state enable
This
example
shows
how
to
enable
the
CDP
for
port
ge.1.2:
C3(su)->set cdp state enable
ge.
1.2
This
example
shows
how
to
disable
the
CDP
for
port
ge.1.2:
C3(su)->set cdp state disable
ge.
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-1.
Status
Whether CDP is enabled, disabled or auto-enabled on the port.
Table 6-1
show cdp Output Details (Continued)
Output Field
What It Displays...
auto
|
disable
|
enable
Auto
‐
enables,
disables
or
enables
the
CDP
protocol
on
the
specified
port(s).
In
auto
‐
enable
mode,
which
is
the
default
mode
for
all
ports,
a
port
automatically
becomes
CDP
‐
enabled
upon
receiving
its
first
CDP
message.
port
‐
string
(Optional)
Enables
or
disables
CDP
on
specific
port(s).
For
a
detailed
description
of
possible
port
‐
string
values,
refer
to
“
Port
String
Syntax
Used
in
the
CLI
”
on
page
7
‐
1.
Summary of Contents for SECURESTACK C3
Page 2: ......
Page 34: ...xxxii...
Page 40: ...Getting Help xxxviii About This Guide...
Page 126: ...clear license 4 6 Activating Licensed Features...
Page 132: ...set port inlinepower 5 6 Configuring System Power and PoE...
Page 228: ...clear port protected name 7 60 Port Configuration...
Page 270: ...clear snmp interface 8 42 SNMP Configuration...
Page 396: ...clear port txq 12 10 Port Priority Configuration...
Page 414: ...ip igmp robustness 13 18 IGMP Configuration...
Page 542: ...clear arpinspection statistics 17 32 DHCP Snooping and Dynamic ARP Inspection...
Page 546: ...Enabling Router Configuration Modes 18 4 Preparing for Router Mode...
Page 640: ...traceroute ipv6 21 10 IPv6 Management...
Page 698: ...show ipv6 dhcp binding 24 20 DHCPv6 Configuration...
Page 746: ...show ipv6 ospf virtual link 25 48 OSPFv3 Configuration...
Page 834: ...ip access group 26 88 Authentication and Authorization Configuration...
Page 848: ...TACACS Configuration clear tacacs interface 27 14...
Page 866: ...sFlow Configuration show sflow agent 28 18...
Page 872: ...Index 4...