CDP Commands
OL-32830-01 Command Line Interface Reference Guide
•
interface-id
—Specifies the interface identifier of the counters that should
be cleared.
Command Mode
Privileged EXEC mode
User Guidelines
Use the command clear cdp counters without parameters to clear all the counters.
Use the clear cdp counters global to clear only the global counters.
Use the clear cdp counters
given interface.
Examples
Example 1. The example clears all the CDP counters:
switchxxxxxx# clear cdp couters
Example 2. The example clears the CDP global counters.
switchxxxxxx# clear cdp couters global
Example 3. The example clears the CDP counters of Ethernet port
switchxxxxxx#
clear cdp couters interface gi11
8.15
clear cdp table
The clear cdp table Global Configuration mode command deletes the CDP Cache
tables.
Syntax
clear cdp table
interface-id
command to clear the counters of the
8
1:
gi1
212