
set cdp state
Enterasys G-Series CLI Reference 3-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:
G3(su)->set cdp state enable
This
example
shows
how
to
enable
the
CDP
for
port
ge
.1.2:
G3(su)->set cdp state enable ge.1.2
This
example
shows
how
to
disable
the
CDP
for
port
ge
.1.2:
G3(su)->set cdp state disable ge.1.2
set cdp auth
Use
this
command
to
set
a
global
CDP
authentication
code.
Syntax
set cdp auth
auth-code
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 3-4.
Port
Port designation. For a detailed description of possible
port-string
values, refer to
“
Port String Syntax Used in the CLI
” on page 4-1.
Status
Whether CDP is enabled, disabled or auto-enabled on the port.
Table 3-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
4
‐
1.
Summary of Contents for G3G170-24
Page 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Page 2: ......
Page 30: ...xxviii...
Page 100: ...set ssl 2 56 Basic Configuration...
Page 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Page 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Page 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Page 384: ...clear nodealias config 11 34 Logging and Network Management...
Page 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Page 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Page 524: ...traceroute ipv6 17 10 IPv6 Management...
Page 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...