display dldp statistics

Syntax

display dldp statistics [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

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 dldp statistics to display DLDP packet statistics passing through a port.

If no port is specified, this command displays DLDP packet statistics passing through all the DLDP-enabled ports.

Examples

# Display DLDP packet statistics passing through all the DLDP-enabled ports.

<Sysname> display dldp statistics
Interface GigabitEthernet1/0/49
 Packets sent : 6
 Packets received : 5
 Invalid packets received : 2
 Loop packets received : 0
 Authentication failed packets received : 0
 Valid packets received : 3

Interface GigabitEthernet1/0/50
 Packets sent : 7
 Packets received : 7
 Invalid packets received : 3
 Loop packets received : 0
 Authentication failed packets received : 0
 Valid packets received : 4

# Display DLDP packet statistics passing through GigabitEthernet 1/0/49.

<Sysname> display dldp statistics gigabitethernet 1/0/49
Interface GigabitEthernet1/0/49
 Packets sent : 6
 Packets received : 5
 Invalid packets received : 2
 Loop packets received : 0
 Authentication failed packets received : 0
 Valid packets received : 3

Table 20: Command output

Field

Description

Interface

Port index

Packets sent

Total number of DLDP packets sent

Packets received

Total number of DLDP packets received

Invalid packets received

Number of the invalid packets received

Loop packets received

Number of the loopback packets received

Authentication failed packets received

Number of the received packets that failed to pass the authentication

Valid packets received

Number of the valid packets received