Figure 13-11. Example of Show CDP with the Default CDP Configuration
Figure 13-12. Example of CDP Neighbors Table Listing
The following example shows the default CDP configuration.
Viewing the Switch's Current CDP Neighbors Table. 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.
[ [e] port-numb [detail] ]
Lists the CDP device connected to the specified port.
(Allows only one port at a time.) Using detail provides
a longer list of details on the CDP device the switch
detects on the specified port.
[detail [ [e] port-num ] ]
Provides a list of the details for all of the CDP devices
the switch detects. Using port-num produces a list of
details for the selected port.
Figure 13-12 lists two CDP devices that the switch has detected by receiving
their CDP packets.
Configuring for Network Management Applications
LLDP (Link-Layer Discovery Protocol)
CDP Enable/Disab e on the Switch
l
Per-Port CDP Enable/Disable
13-53