< Home

display lldp statistics

Function

The display lldp statistics command displays statistics about LLDP packets sent and received by all or a specified interface.

Format

display lldp statistics [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays statistics about LLDP packet sent and received by a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If no interface is specified, the command displays statistics about LLDP packets on all interfaces.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To display the LLDP packet statistics within a specified period of time, run the reset lldp statistics command to clear the existing statistics first, and then run the display lldp statistics command to display the new statistics.

Prerequisites

  1. LLDP has been enabled globally using the lldp enable command.
  2. LLDP has been enabled on the interface using the lldp enable command.

Precautions

If the LLDP function is enabled globally but disabled on an interface, the packet statistics on the interface are 0.

Example

# Display the statistics about LLDP packets sent and received by all interfaces.

<HUAWEI> display lldp statistics
LLDP statistics global Information:                                             
Statistics for GigabitEthernet0/0/1:                                            
Transmitted Frames Total: 2839                                                  
Received Frames Total:    2728      Frames Discarded Total:  0                  
Frames Error Total:       0         TLVs Discarded Total:    0                  
TLVs Unrecognized Total:  0         Neighbors Expired Total: 0                  
Table 1 Description of the display lldp statistics command output

Item

Description

LLDP statistics global Information

Statistics about LLDP packets.

Statistics for x

Statistics about LLDP packets received and sent by the x interface.

Transmitted Frames Total

Number of sent LLDP packets.

Received Frames Total

Number of received LLDP packets.

Frames Discarded Total

Number of discarded LLDP packets.

Frames Error Total

Number of received errored LLDP packets.

TLVs Discarded Total

Number of discarded TLVs.

TLVs Unrecognized Total

Number of unknown TLVs.

Neighbors Expired Total

Number of aged-out neighbors.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >