Management and Configuration Guide K/KA/KB.15.15

Example
Example 96 Show CDP with the default CDP configuration
This example shows the default CDP configuration.
(HP_Switch_name#) show cdp
Global CDP information
Enable CDP [Yes] : Yes (Receive Only)
Port CDP
---- --------
1 enabled
2 enabled
3 enabled
. .
. .
. .
Viewing the current CDP neighbors table of the switch
Devices are listed by the port on which they were detected.
Syntax
show cdp neighbors
Lists the neighboring CDP devices the switch detects, with a subset of the information collected
from the device's CDP packet.
Lists the CDP device connected to the specified port. (Allows only
one port at a time.)
[ [ e ] port-numb [ detail ] ]
Using detail provides a longer list of details on the CDP device
the switch detects on the specified port.
Provides a list of the details for all of the CDP devices the switch
detects.
[ detail [ [ e ]port-num ] ]
Using port-num produces a list of details for the selected port.
236 Configuring for Network Management Applications