C Commands
clear cdp
51
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
clear cdp
To clear Cisco Discovery Protocol (CDP) statistics on an interface, use the clear cdp command.
clear cdp {counters [interface interface] | table [interface interface]}
Syntax Description
Defaults None
Command Modes Any command mode
Supported User Roles network-admin
network-operator
vdc-admin
vdc-operator
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to clear CDP statistics on an interface:
switch(config)# clear cdp counters
switch(config)#
Related Commands
counters Clears CDP counters on all interfaces.
interface
interface
(Optional) Clears CDP counters on an interface.
table Clears CDP cache on all interfaces.
Release Modification
4.0(1) This command was introduced.
Command Description
enable cdp Enables CDP on an interface.