Command:

clear cdp counters

Mode:

Router#


Syntax:

clear cdp counters


Syntax Description:

This command has no arguments or keywords.

Command Description:

To reset Cisco Discovery Protocol (CDP) traffic counters to zero, use the clear cdp counters Privileged EXEC command.


Example:

The following example clears the CDP counters. The show cdp traffic output shows that all of the traffic counters have been reset to zero:

Router#clear cdp counters
Router#show cdp traffic
CDP counters:
Packets output: 0, Input: 0
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0


Misconceptions:

None.


Related commands:

clear cdp table
show cdp traffic

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)