show cdp

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

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 7‐1.

 

 

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

:auto-enable

CDP Global Status

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 6‐1 provides an explanation of the command output.

Table 6-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 6-3.

 

 

CDP Versions

CDP version number(s) supported by the switch.

Supported

 

 

 

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 6-5.

6-2 Discovery Protocol Configuration

Page 134
Image 134
Enterasys Networks 9034313-07 manual Show cdp Output Details