To reset CDP traffic counters to zero (0), use the clear cdp counters privileged EXEC command.
clear cdp counters
This command has no arguments or keywords.
Privileged EXEC
Release | Modification | 10.3 | This command was introduced. |
---|
The following example clears the CDP counters. The show cdp trafficoutput shows that all of the traffic counters have been reset to zero (0).
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
Command | Description |
---|---|
clear cdp table | Clears the table that contains CDP information about neighbors. |
show cdp traffic | Displays traffic information from the CDP table. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.