clear lldp neighbors

clear lldp neighbors [all | port port_list]

Description

Clears the LLDP (Link Layer Discovery Protocol) neighbor information collected for one or all ports on the switch.

Syntax Description

port_list Specifies one or more ports or slots and ports.

Default

N/A.

Usage Guidelines

LLDP neighbor information for each port is automatically cleared after the period defined by the TTL TLV if no update LLDP protocol data unit (LLDPDU) is received. This command immediately clears the LLDP neighbor information for the specified ports.

Example

The following command clears the LLDP information collected for all ports on the switch:

clear lldp neighbors all

History

This command was first available in ExtremeXOS 12.4.4.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.