< Home

display lldp local

Function

The display lldp local command displays the global LLDP information or the LLDP information on a specified interface.

Format

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

Parameters

Parameter Description Value

interface interface-type interface-number

Displays the LLDP information on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If no interface is specified, the command displays LLDP information on all the interfaces with LLDP enabled.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display lldp local command displays the global LLDP information or the LLDP information on an interface.
  • The global LLDP information includes system information, MED system information, system configuration, and data statistics on the peer device.
  • The LLDP information on an interface includes the interface information and MED interface information.

To verify the LLDP information and Layer 2 information of the system and interfaces, run this command.

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.

Example

# Display the global LLDP information, S5720-56C-HI-AC is used as an example.

<HUAWEI> display lldp local
System information                                                              
--------------------------------------------------------------------------
Chassis type   :MAC address                                                      
Chassis ID     :00e0-11fc-1710                                                  
System name    :HUAWEI       
System description  :Huawei Switch S5720-56C-HI-AC 
Huawei Versatile Routing Platform Software  
VRP (R) software, Version 5.170 (S5720 V200R019C10) 
Copyright (C) 2000-2019 HUAWEI TECH Co., Ltd.                                                                                       
System capabilities supported   :bridge router                                                                                      
System capabilities enabled     :bridge router                                                                                      
LLDP Up time   :2019-02-28 11:53:20
                                                                                
MED system information                                                         
--------------------------------------------------------------------------
Device class   :Network Connectivity                                            
(MED inventory information of master board)                                     
HardwareRev       :VER.B                                              
FirmwareRev       :NA                                                         
SoftwareRev       :Version 5.170 V200R019C10                                  
SerialNum         :NA                                                           
Manufacturer name :HUAWEI TECH CO., LTD                                                           
Model name        :NA                                                           
Asset tracking identifier :NA
                                                   
System configuration
--------------------------------------------------------------------------
LLDP Status                     :enabled             (default is enabled)
LLDP Message Tx Interval        :30                  (default is 30s)
LLDP Message Tx Hold Multiplier :4                   (default is 4)
LLDP Refresh Delay              :2                   (default is 2s)
LLDP Tx Delay                   :2                   (default is 2s)
LLDP Notification Interval      :5                   (default is 5s)
LLDP Notification Enable        :enabled             (default is enabled)
Management Address              :IP:10.10.10.1  MAC:000b-09e6-3da1

Remote Table Statistics:
--------------------------------------------------------------------------
Remote Table Last Change Time   :0 days, 0 hours, 4 minutes, 15 seconds                                                             
Remote Neighbors Added          :5                                                                                                  
Remote Neighbors Deleted        :0                                                                                                  
Remote Neighbors Dropped        :0                                                                                                  
Remote Neighbors Aged           :0                                                                                                  
Total Neighbors                 :5                                                                                                  
                                                                                                                                    
Port information:      
--------------------------------------------------------------------------                                                 
Interface GigabitEthernet0/0/1:                              
LLDP Enable Status       :enabled             (default is enabled)             
Total Neighbors          :1                                                     
                                                                                
Port ID subtype     :Interface name                                              
Port ID             :GigabitEthernet0/0/1             
Port description    :GigabitEthernet0/0/1
                                                                                
Port and protocol VLAN ID(PPVID)   :0  
Port and protocol VLAN supported   :No
Port and protocol VLAN enabled     :No 
Port VLAN ID(PVID)  :1                                                          
VLAN name of VLAN 1:VLAN 0001
    
Protocol identity   :STP RSTP/MSTP LACP EthOAM CFM                              
                                                                                
Auto-negotiation supported    :Yes                                              
Auto-negotiation enabled      :Yes                                              
OperMau   :speed(1000)/duplex(Full)     
                                                                                
Power port class         :PD                                                    
PSE power supported      :No                                                    
PSE power enabled        :No                                                    
PSE pairs control ability:No                                                    
Power pairs              :Unknown                                               
Port power classification:Unknown                                               
                                                                                
Link aggregation supported:Yes                                                  
Link aggregation enabled :No                                                    
Aggregation port ID      :0                                                     
Maximum frame Size       :1526                                                  

EEE support              :Yes
Transmit Tw              :36
Receive Tw               :36
Fallback Receive Tw      :36
Echo Transmit Tw         :36
Echo Receive Tw          :36
                                                                                
MED port information                                                            
                                                                                
Media policy type   :Unknown                                                    
Unknown Policy      :Yes                                                        
VLAN tagged         :No                                                         
Media policy VlanID           :0                                                
Media policy L2 priority      :0                                                
Media policy Dscp             :0                                                
                                                                                
Power Type               :Unknown                                               
PoE PSE power source     :Unknown                                               
Port PSE Priority        :Unknown                                               
Port Available power value:0.2(w)                                               
                                                                                
  ---- More ----                                                                
Table 1 Description of the display lldp local command output.

Item

Description

System information

Global LLDP information.

Chassis type

Type of the Device ID:
  • Chassis component: chassis alias
  • Interface alias: interface alias
  • Port component: interface or backplane alias
  • MAC address: MAC address
  • Network address: network address
  • Interface name: name of the interface
  • Locally assigned: name of the local device

Chassis ID

Device ID.

System name

Name of the device.

System description

Description of the device.

Huawei Versatile Routing Platform Software

-

VRP (R) software, Version

Versions of the VRP and the software of the device.

Copyright (C) 2000-2013 HUAWEI TECH Co., Ltd.

Huawei copyright.

System capabilities supported

Capabilities supported of the local device, including:
  • bridge: bridge device
  • router: router

System capabilities enabled

Capabilities enabled on the local device.

LLDP Up time

Time when LLDP is enabled.

MED system information

MED TLV information of the device.

Device class

Type of the device.

MED inventory information of master board

-

HardwareRev

Hardware version of the device.

FirmwareRev

Firmware version of the device.

SoftwareRev

Software version of the device.

SerialNum

Serial number of the device.

NOTE:

If the decimal value of a serial number is not in the range of 32 to 126, the serial number is displayed in octal notation.

Manufacturer name

Name of the manufacturer.

Model name

Name of a model.

Asset tracking identifier

Asset tracking ID.

System configuration

Global LLDP configuration.

LLDP Status

Whether LLDP is enabled globally on the switch:
  • Enabled
  • Disabled

You can run the lldp enable (system view) command to configure this parameter.

default is x

Default value x.

LLDP Message Tx Interval

Interval for sending LLDP packets of the device, in seconds.

You can run the lldp message-transmission interval command to configure this parameter.

LLDP Message Tx Hold Multiplier

Hold time multiplier of local device information stored on neighbors.

You can run the lldp message-transmission hold-multiplier command to configure this parameter.

LLDP Refresh Delay

Delay in re-enabling the LLDP function on the switch, in seconds.

You can run the lldp restart-delay command to configure this parameter.

LLDP Tx Delay

Delay in sending LLDP packets on the switch, in seconds.

You can run the lldp message-transmission delay command to configure this parameter.

LLDP Notification Interval

Delay in sending the neighbor change traps to the NMS on the switch, in seconds.

You can run the lldp trap-interval command to configure this parameter.

LLDP Notification Enable

Whether the function of sending LLDP traps to the NMS is enabled on the switch:
  • enabled
  • disabled

You can run the snmp-agent trap enable feature-name lldptrap command to configure this parameter.

Management Address

LLDP management address of the switch.

You can run the lldp management-address command to configure this parameter.

If an invalid management address is used, the inactive field is added for this address. For example, if 10.1.1.1 is an invalid management address, the displayed information is as follows: Management Address :IP:10.10.10.1, 10.1.1.1 (inactive) MAC:000b-09e6-3da1

Remote Table Statistics

Statistics about LLDP neighbors.

Remote Table Last Change Time

Time that elapsed since the latest modification of remote data.

Remote Neighbors Added

Number of added LLDP neighbors.

Remote Neighbors Deleted

Number of deleted LLDP neighbors.

Remote Neighbors Dropped

Number of devices that do not set up LLDP neighbor relationships because the number of neighbors has reached the maximum value.

Remote Neighbors Aged

Number of LLDP neighbors that are aged out and deleted.

Total Neighbors

Number of LLDP neighbors.

Port information

LLDP information on the interface.

LLDP Enable Status

Whether LLDP is enabled on the interface:
  • Enabled
  • Disabled

You can run the lldp enable (system view) and lldp enable (interface view) commands to configure this parameter.

Total Neighbors

Number of LLDP neighbors on the interface.

Port ID subtype

Type of the interface ID.
  • Interface alias: interface alias
  • Port component: interface or backplane alias
  • MAC address: MAC address
  • Network address: network address
  • Interface name: name of the interface
  • Agent circuit ID: circuit ID of the DHCP agent
  • Locally assigned: name of the local device

Port ID

Interface ID.

Port description

Interface description.

Port and protocol VLAN ID(PPVID)

Protocol VLAN ID of a port.

Port and protocol VLAN supported

Whether PPVID is supported:

  • Yes: PPVID is supported.
  • No: PPVID is not supported.

Port and protocol VLAN enabled

Whether PPVID is enabled:

  • Yes: PPVID is enabled.
  • No: PPVID is disabled.

Port VLAN ID(PVID)

The default VLAN ID of the interface.

VLAN name of VLAN 1

Name of a VLAN to be advertised, which is configured using the lldp tlv-enable dot1-tlv command. If no VLAN name is specified, the default VLAN name is advertised and displayed.

Protocol identity

Protocol ID.

Auto-negotiation supported

Whether the interface supports auto-negotiation:
  • Yes
  • No

Auto-negotiation enabled

Whether the interface is enabled with auto-negotiation:
  • Yes
  • No

You can run the negotiation auto command to configure this parameter.

OperMau

Rate and duplex mode of the interface.

Power port class

PoE type of the interface:
  • PSE: power-sourcing equipment
  • PD: powered device

PSE power supported

Whether the PSE power is supported.
  • Yes: PSE power is supported.
  • No: PSE power is not supported.

PSE power enabled

Whether the PSE power is enabled.
  • Yes: enabled
  • No: disabled

PSE pairs control ability

Whether the PSE twisted pair control is supported.
  • Yes: PSE twisted pair control is supported.
  • No: PSE twisted pair control is not supported.

Power pairs

PoE remote power supply mode.
  • Signal: power supply mode of signal lines
  • Spare: power supply mode of spare signal lines
  • Unknown: an unknown remote power supply mode

Port power classification

PD power control level on the interface:
  • Class0: indicates level 1.
  • Class1: indicates level 2.
  • Class2: indicates level 3.
  • Class3: indicates level 4.
  • Class4: indicates level 5.
  • Unknown: indicates an unknown level.

Link aggregation supported

Whether the interface supports link aggregation.

  • Yes: The interface supports link aggregation.
  • No: The interface does not support link aggregation.

Link aggregation enabled

Whether link aggregation is enabled on the interface.

  • Yes: enabled
  • No: disabled

Aggregation port ID

ID of an aggregated interface, If link aggregation is disabled, the value of this field is 0.

Maximum frame Size

Maximum size of a frame supported by the interface.

You can run the jumboframe enable command to configure this parameter.

EEE support

Whether the interface supports energy efficient Ethernet (EEE):
  • Yes
  • No

Transmit Tw

Amount of time the sender waits before starting sending data after leaving lower power consumption mode (LPI mode).

Receive Tw

Amount of time the receiver expects the sender to wait before starting sending data after leaving LPI mode.

Fallback Receive Tw

Additional information provided to the sender.

Echo Transmit Tw

Transmit Tw value specified in the Echo message sent from the remote end.

Echo Receive Tw

Receive Tw value specified in the Echo message sent from the remote end.

MED port information

-

Media policy type

Type of the media policy:
  • Voice
  • Voice Signaling
  • Guest Voice
  • Guest Voice Signaling
  • Softphone Voice
  • Video Conferencing
  • Streaming Video
  • Video Signaling
  • Unknown

Unknown Policy

Whether the type of the media policy is unknown:

  • Yes: unknown
  • Defined: known
  • Unknown indicates that the Media policy VlanID, Media policy L2 priority and Media policy Dscp value fields are ignored.

VLAN tagged

Whether to add tag to the packets of the voice VLAN:

  • Yes: Adds a VLAN tag to packets of the voice VLAN.
  • No: Not to add a VLAN tag to packets of the voice VLAN.

Media policy VlanID

ID of the voice VLAN.

Media policy L2 priority

802.1p priority.

Media policy Dscp

DSCP value.

Power Type

Power supply type:
  • PSE: power-sourcing equipment
  • PD: powered device
  • Unknown: an unknown power supply type

Layer 3 interfaces do not support PoE TLV, so this parameter is not displayed on Layer 3 interfaces.

PoE PSE power source

Type of the PSE:
  • Primary: indicates primary power supply.
  • Backup: indicates backup power supply.
  • Unknown: indicates an unknown type of PSE.

Layer 3 interfaces do not support PoE TLV, so this parameter is not displayed on Layer 3 interfaces.

Port PSE Priority

PSE priority of an interface:
  • Unknown: indicates an unknown priority.
  • Critical: indicates the highest priority.
  • High: indicates the medium priority.
  • Low: indicates the lowest priority.

Layer 3 interfaces do not support PoE TLV, so this parameter is not displayed on Layer 3 interfaces.

Port Available power value

Port power supply.

Layer 3 interfaces do not support PoE TLV, so this parameter is not displayed on Layer 3 interfaces.

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