Monitoring and Maintaining CDP
Table 45: Commands for Displaying CDP Information
Command
clear cdp counters
clear cdp table
show cdp
show cdp entry entry-name [version]
[protocol]
show cdp interface [interface-id]
show cdp neighbors [interface-id]
[detail]
show cdp traffic
Related Topics
Configuring CDP Characteristics, on page 432
CDP Overview, on page 431
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Description
Resets the traffic counters to zero.
Deletes the CDP table of information about neighbors.
Displays global information, such as frequency of transmissions
and the holdtime for packets being sent.
Displays information about a specific neighbor.
You can enter an asterisk (*) to display all CDP neighbors, or
you can enter the name of the neighbor about which you want
information.
You can also limit the display to information about the protocols
enabled on the specified neighbor or information about the version
of software running on the device.
Displays information about interfaces where CDP is enabled.
You can limit the display to the interface about which you want
information.
Displays information about neighbors, including device type,
interface type and number, holdtime settings, capabilities,
platform, and port ID.
You can limit the display to neighbors of a specific interface or
expand the display to provide more detailed information.
Displays CDP counters, including the number of packets sent
and received and checksum errors.
Monitoring and Maintaining CDP
441