Command:

clear cdp table


Mode:

Router#


Syntax:

clear cdp table

 

Syntax Description:

This command has no arguments or keywords.

Command Description:

 

To clear the table that contains Cisco Discovery Protocol (CDP) information about neighbors, use the clear cdp table Privileged EXEC command.


Example:

The following example clears the CDP table. The output of the show cdp neighbors command shows that all information has been deleted from the table:

Router# clear cdp table

CDP-AD: Deleted table entry for neon.cisco.com, interface Ethernet0

CDP-AD: Deleted table entry for neon.cisco.com, interface Serial0

 

Router# show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

S - Switch, H - Host, I - IGMP

 Device ID Local Intrfce Holdtme Capability  Platform  Port ID


Misconceptions:

           None.


Related Commands:

show cdp neighbors

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

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