2-1047
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands show port cdp
show port cdp
To display the port CDP enable state and the message interval, use the show port cdp command.
show port cdp [mod[/port]]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines If you do not specify a mod value, the ports on all modules are shown.
If you do not specify a port value, all the ports on the module are shown.
Examples This example shows how to display CDP information for all ports:
Console> show port cdp
CDP : enabled
Message Interval : 60
Hold Time : 180
Version : V2
Port CDP Status
-------- ----------
1/1 enabled
1/2 enabled
Console>
Table 2 -72 describes the fields in the show port cdp command output.
mod (Optional) Number of the module.
port (Optional) Number of the port on the module.
Table2-72 show port cdp Command Output Fields
Field Description
CDP Status of whether CDP is enabled or not.
Message-Interval Interval between CDP message exchange with a neighbor.
Hold Time Hold time setting.
Version CDP version.
Port Module and port number.
CDP Status CDP status of the port (enabled, disabled).