show cdp
10-2 Discovery Protocol Configuration
show cdp
Use this command to display the status of the CDP discovery protocol and message interval on
one or more ports.
Syntax
show cdp [port-string]
Parameters
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 ge.1.1 through ge.1.9:
C3(su)->show cdp ge.1.1-9
CDP Global Status :auto-enable
CDP Version Supported :30 hex
CDP Hold Time :180
CDP Authentication Code :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 hex
CDP Transmit Frequency :60
Port Status
-----------------
ge.1.1 auto-enable
ge.1.2 auto-enable
ge.1.3 auto-enable
ge.1.4 auto-enable
ge.1.5 auto-enable
ge.1.6 auto-enable
ge.1.7 auto-enable
ge.1.8 auto-enable
ge.1.9 auto-enable
Table 10-1 provides an explanation of the command output.
port-string (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 11-1.
Table 10-1 show cdp Output Details
Output Field What It Displays...
CDP Global Status 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 “set
cdp state” on page 10-3.
CDP Versions
Supported
CDP version number(s) supported by the switch.
CDP Hold Time 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 “set cdp hold-time” on page 10-5.