If the interface parameter is specified, the LLDP neighbor information on the specified interface is
cleared.
If the interface parameter is not specified, the LLDP neighbor information on all interfaces is cleared.
The following example clears the LLDP neighbor information on interface 1.
Ruijie# show lldp neighbors interface GigabitEthernet 0/1
Lldp statistics information of port [GigabitEthernet 0/1]
------------------------------------------------------------
The number of lldp frames transmitted : 0
The number of frames discarded : 0
The number of error frames : 0
The number of lldp frames received : 0
The number of TLVs discarded : 0
The number of TLVs unrecognized : 0
The number of neighbor information aged out : 0
Ruijie# clear lldp table interface GigabitEthernet 0/1
Ruijie# show lldp neighbors interface GigabitEthernet 0/1
Device type. The value ranges from 0 to 2.
0: The device type is DHCP Server.
1: The device type is switch.
2: The device type is LLDP MED terminal.