Technical Documentation

show lldp statistics

Syntax

show lldp statistics<interface interface-name>

Release Information

Command introduced in JUNOS Release 9.0 for EX Series switches.

The output field Untransmitted added in JUNOS Release 9.6 for EX Series switches.

Description

Display LLDP statistics for all interfaces or for the specified interface.

Note: Because LLDP packets are transmitted and received on member interfaces only, statistics are available only for the member interfaces, not for the aggregated interface.

Options

none

Display LLDP statistics for all interfaces.

interface interface-name

(Optional) Display LLDP statistics for the specified interface.

Required Privilege Level

view

List of Sample Output

show lldp statistics
show lldp statistics interface ge-0/0/2.0

Output Fields

Table 1 lists the output fields for the show lldp statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show lldp statistics Output Fields

Field Name

Field Description

Level of Output

Interface

Name of an interface.

All levels

Received

The total number of LLDP frames received on an interface.

All levels

Unknown-TLVs

The number of unrecognized LLDP TLVs received on an interface.

All levels

With-Errors

The number of invalid LLDP TLVs received on an interface.

All levels

Discarded

The number of LLDP TLVs received and then discarded on an interface.

All levels

Transmitted

The total number of LLDP frames that were transmitted on an interface.

All levels

Untransmitted

The total number of LLDP frames that were untransmitted on an interface.

All levels

Sample Output

show lldp statistics

user@switch> show lldp statistics
Interface    Received  Unknown TLVs  With Errors  Discarded TLVs  
me0.0        0         0             0            0               
ge-0/0/0.0   1         0             0            0               
ge-0/0/1.0   1         0             0            0               
ge-0/0/2.0   1         0             0            0               
ge-0/0/3.0   1         0             0            0               
ge-0/0/4.0   1         0             0            0               
ge-0/0/5.0   1         0             0            0               
ge-0/0/6.0   1         0             0            0               
ge-0/0/7.0   1         0             0            0               
ge-0/0/8.0   0         0             0            0               

Transmitted  Untransmitted
1            0
1            0
1            0
1            0
1            0
1            0
1            0
1            0
1            0
1            0

show lldp statistics interface ge-0/0/2.0

user@switch> show lldp statistics interface ge-0/0/2.0
Interface   Received  Unknown TLVs  With Errors  Discarded TLVs 
ge-0/0/2.0  7         0             0            0               

Transmitted  Untransmitted
7            0

Published: 2010-05-13