12-19
Configuring for Network Management Applicati ons
CDP
Monitoring and Managing
the Switch
Viewing the Switchs Current CDP Configuration
This command lists the switchs global and per-port CDP configuration. (In
the factory default configuration, the switch runs CDP on all ports with a hold
time of 180 seconds and a transmit interval of 60 seconds.)
Syntax: show cdp
This example shows the default CDP configuration.
Figure 12-9. Example of Show CDP with the Default CDP Configuration
Viewing the Current Contents of the Switchs CDP Neighbors Tabl e
This command lists the neighboring CDP devices the switch has detected.
Devices are listed by the port on which they were detected. The entry for a
specific device includes a subset of the information collecte d from the devices
CDP packet. (For more on this topic, see CDP Neighbor Data and MIB
Objects on page 12-25.)
Syntax: show cdp neigbors [detai l]
This example lists six CDP devices (four switches and two workstations) that
the switch has detected by receiving their CDP packets.
CDP Enable/Disable on the Switch
Packet Hold Time in CDP Neighbor Table
Interval for Transmitting Outbound
CDP Packets on All Ports
Per-Port CDP Enable/Disable