show cdp
Syntax
show cdp [port-string]
Parameters
port‐string
Defaults
If port‐string is not specified, all CDP information will be displayed.
Mode
Switch command, read‐only.
Example
This example shows how to display CDP information for ports
G3(su)->show cdp ge.1.1-9
CDP Global Status
CDP Version Supported
CDP Hold Time
CDP Authentication Code
CDP Transmit Frequency
Port
-----------------
ge.1.1
ge.1.2
ge.1.3
ge.1.4
ge.1.5
ge.1.6
ge.1.7
ge.1.8
ge.1.9
Table
3‐1 provides an explanation of the command output.
Table 3-1 show cdp Output Details
Output Field
CDP Global Status
CDP Versions
Supported
CDP Hold Time
CDP Authentication
Code
3-2 Discovery Protocol Configuration
(Optional) Displays CDP status for a specific port. For a detailed description
of possible port‐string values, refer to "Port String Syntax Used in the CLI"
on page 4‐1.
:auto-enable
:30 hex
:180
:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 hex
:60
Status
auto-enable
auto-enable
auto-enable
auto-enable
auto-enable
auto-enable
auto-enable
auto-enable
auto-enable
What It Displays...
Whether CDP is globally auto-enabled, enabled or disabled. The default state of
auto-enabled can be reset with the set cdp state command. For details, refer to
cdp
state" on page 3-3.
CDP version number(s) supported by the switch.
Minimum time interval (in seconds) at which CDP configuration messages can be
set. The default of 180 seconds can be reset with the set cdp hold-time command.
For details, refer to
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
auth" on page 3-3.
"set cdp
hold-time" on page 3-5.
ge
.1.1 through
ge
.1.9:
"set cdp
"set