display lldp statistics
Syntax
display lldp statistics [ global | interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
global: Displays the global LLDP statistics.
interface interface-type interface-number: Specifies a port by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display lldp statistics to display the global LLDP statistics or the LLDP statistics of a port.
If no keyword or argument is specified, this command displays the global LLDP statistics and the LLDP statistics of all ports.
Examples
# Display the global LLDP statistics and the LLDP statistics of all ports.
<Sysname> display lldp statistics LLDP statistics global Information: LLDP neighbor information last change time:0 days,0 hours,4 minutes,40 seconds The number of LLDP neighbor information inserted : 1 The number of LLDP neighbor information deleted : 1 The number of LLDP neighbor information dropped : 0 The number of LLDP neighbor information aged out : 1 LLDP statistics information of port 1 [Ethernet1/0/1]: The number of LLDP frames transmitted : 0 The number of LLDP frames received : 0 The number of LLDP frames discarded : 0 The number of LLDP error frames : 0 The number of LLDP TLVs discarded : 0 The number of LLDP TLVs unrecognized : 0 The number of LLDP neighbor information aged out : 0 The number of CDP frames transmitted : 0 The number of CDP frames received : 0 The number of CDP frames discarded : 0 The number of CDP error frames : 0
Table 45: Command output
Field | Description |
---|---|
LLDP statistics global information | Global LLDP statistics. |
LLDP neighbor information last change time | Time the neighbor information was last updated. |
The number of LLDP neighbor information inserted | Number of times neighbor information was added. |
The number of LLDP neighbor information deleted | Number of times neighbor information was removed. |
The number of LLDP neighbor information dropped | Number of times neighbor information was dropped due to lack of available memory space. |