clear lldp
To reset Link Layer Discovery Protocol (LLDP) traffic counters or LLDP neighbor information, use the
clear
lldp
command in EXEC configuration mode.
clear lldp
{
counters| table
}
Syntax Description
Specifies that LLDP traffic counters are cleared.
counters
Specifies that LLDP information in the neighbor table is cleared.
table
Command Default
LLDP traffic counters are not reset, and LLDP neighbor information is not cleared.
Command Modes
EXEC (#)
Command History
Modification
Release
This command was introduced.
Release 4.1.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
To reset counters from the
show lldp traffic
command, use the
clear lldp counters
command. To clear
neighbor information displayed by the
show lldp neighbors
command, use the
clear lldp table
command.
Task ID
Operation
Task ID
read, write
ethernet-services
Examples
The following example shows how to clear the LLDP counters and display LLDP traffic. The output from
the
show lldp traffic
command shows that all the traffic counters have been reset to zero.
RP/0/RSP0/CPU0:router#
clear lldp counters
RP/0/RSP0/CPU0:router#
show lldp traffic
LLDP traffic statistics:
Total frames out: 0
Total entries aged: 0
Total frames in: 0
Total frames received in error: 0
Total frames discarded: 0
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
79
Ethernet Interface Commands on the Cisco ASR 9000 Series Router
clear lldp