The clear lldp neighbor command clears Link Layer Discovery Protocol (LLDP) neighbor information about a specific or all interfaces.
Usage Scenario
Before you view LLDP neighbor information learned for a specified period of time or by a specified interface, run the clear lldp neighbor command to clear existing LLDP neighbor information about all interfaces or the specified interface.
Prerequisites
LLDP has been globally enabled using the lldp enable command in the system view, and LLDP has also been enabled on interfaces using the lldp enable command in the interface view.