clear lldp neighbors

clear lldp neighbors [all | port port_list]

Description

Clears the LLDP 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 all Universal switches supported in this document.