DXS-1210 Series Smart Managed Switch CLI Reference Guide
176
25.
Link Layer Discovery Protocol (LLDP)
Commands
25-1
clear lldp counters
This command is used to delete LLDP statistics.
clear lldp counters [all | interface INTERFACE-ID [, | -]]
Parameters
all
Specifies to clear LLDP counter information for all interfaces and
global LLDP statistics.
interface INTERFACE-ID
Specifies the interface to clear LLDP counter information.
,
(Optional) Specifies a series of physical interfaces. No spaces before
and after the comma.
-
(Optional) Specifies a range of physical interfaces. No spaces before
and after the hyphen.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command with the interface keyword to reset LLDP statistics of the specified interface(s). If
the command clear lldp counters is issued with the all keyword to clear global LLDP statistics and
the LLDP statistics on all interfaces.When no optional keyword is selected, only the LLDP global
counters will be cleared.
Example
This example shows how to clear LLDP statistics.
Switch# clear lldp counters all
Switch#
This example shows how to clear port of LLDP statistics.
Switch# clear lldp counters interface ethernet 1/0/1
Switch#
25-2
clear lldp table
This command is used to delete all LLDP information learned from neighboring devices.
clear lldp table {all | interface INTERFACE-ID [, | -]}
Parameters