clear cdp neighbor

clear cdp neighbor [device id device_id | all]

Description

Clears the CDP neighbor information.

Syntax Description

device id Specifies the Device Identifier to be used in CDP.
device_id Specifies the Device Identifier of neighbor.
all Specifies all CDP neighbors.

Default

N/A.

Usage Guidelines

Use this command to clear the CDP neighbor information.

Example

The following command clears all CDP neighbor associations:

clear cdp neighbor all

History

This command was first available in ExtremeXOS 15.4.

Platform Availability

This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.