display lldp tlv-config

Function

The display lldp tlv-config command displays statistics about optional TLVs that all interfaces send or optional type-length-values (TLVs) that a specified interface sends.

Format

display lldp tlv-config [ interface { interface-type interface-number | interface-name } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Displays statistics about optional TLVs that a specified interface sends.

If this parameter is not specified, statistics about optional TLVs that all interface send will be displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
lldp read

Usage Guidelines

Usage Scenario

To view information about optional TLVs that a device can send, run the display lldp tlv-config command. The command output helps you check whether TLVs that need to be sent are configured or whether TLVs that do not need to be sent have been deleted.

Prerequisites

LLDP has been globally enabled using the lldp enable command in the system view, and LLDP has also been enabled on interfaces using the lldp enable command in the interface view.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the optional TLVs that can be sent by GE 0/1/1.
<HUAWEI> display lldp tlv-config interface GigabitEthernet 0/1/1
LLDP tlv-config of port [GigabitEthernet 0/1/1]:
-----------------------------------------------------
Name                                Status    Default
-----------------------------------------------------
                                                     
Basic optional TLV:                                  
-------------------------------------------------
Port Description TLV                Yes       Yes    
System Name TLV                     Yes       Yes    
System Description TLV              Yes       Yes    
System Capabilities TLV             Yes       Yes    
Management Address TLV              Yes       Yes    
                                                     
IEEE 802.1 extend TLV:                               
-------------------------------------------------
Port VLAN ID TLV                    Yes       Yes    
Port And Protocol VLAN ID TLV       Yes       Yes    
VLAN Name TLV                       Yes       Yes    
Protocol Identity TLV               No        No     
                                                     
IEEE 802.3 extend TLV:                               
-------------------------------------------------
MAC-Physic TLV                      Yes       Yes    
Link Aggregation TLV                Yes       Yes    
Maximum Frame Size TLV              Yes       Yes
Table 1 Description of the display lldp tlv-config command output
Item Description
LLDP tlv-config of port

Information about optional TLVs that can be advertised.

Name

TLV type:

  • Basic optional TLV:
  • Port Description TLV.
  • System Name TLV.
  • System Description TLV.
  • System Capabilities TLV.
  • Management-address TLV.
  • IEEE 802.1 extend TLV:
  • Port VLAN TLV.
  • Port And Protocol VLAN ID TLV.
  • VLAN Name TLV.
  • Protocol Identity TLV.
  • IEEE 802.3 extend TLV:
  • MAC-Physic TLV.
  • Link Aggregation TLV.
  • Maximum Frame Size TLV.
Status

Whether an interface can advertise TLVs of specified types:

  • Yes.
  • No.
Default

Whether an interface can advertise TLVs of specified types by default:

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