clear lldp neighbors

Clears the Link Layer Discovery Protocol (LLDP) neighbor information on all or specified ethernet interfaces.

Syntax

clear lldp neighbors [ interface ethernet slot/port ]

Parameters

ethernet
Use this parameter to specify an ethernet interface, followed by the slot or port number.
slot
Specifies a valid slot number.
port
Specifies a valid port number.

Modes

Privileged EXEC mode

Usage Guidelines

If the interface parameter is not specified, this command clears the LLDP neighbor information received on all the interfaces.

Examples

To clear the LLDP neighbor information for all interfaces:

device# clear lldp neighbors
 

To clear LLDP neighbor information on a specific ethernet interface:

device# clear lldp neighbors interface ?
Possible completions:
ethernet   Ethernet interface
device# clear lldp neighbors interface ethernet ?
Description: The list of Ethernet interfaces.
Possible completions:
  1/1
  1/2
  1/3
  1/4
  1/5
  1/6
  1/8
  1/9
  1/10
  1/11
  1/12
  1/13
  1/14
  1/15
  1/16
  1/17
  1/18
  1/19
  1/20
  1/21
  1/22
  1/23
  1/24
  1/25
  1/29
  1/30
  1/31
device# clear lldp neighbors interface ethernet 1/24
device#