The display lldp local command displays the global LLDP information or the LLDP information on a specified interface.
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Displays the LLDP information on a specified interface.
If no interface is specified, the command displays LLDP information on all the interfaces with LLDP enabled. |
- |
Usage Scenario
To verify the LLDP information and Layer 2 information of the system and interfaces, run this command.
Prerequisites
# 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 ----
Item |
Description |
---|---|
System information |
Global LLDP information. |
Chassis type |
Type of the Device ID:
|
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:
|
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:
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:
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:
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.
|
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:
|
Port and protocol VLAN enabled |
Whether PPVID is enabled:
|
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:
|
Auto-negotiation enabled |
Whether the interface is enabled with auto-negotiation:
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 supported |
Whether the PSE power is supported.
|
PSE power enabled |
Whether the PSE power is enabled.
|
PSE pairs control ability |
Whether the PSE twisted pair control is supported.
|
Power pairs |
PoE remote power supply mode.
|
Port power classification |
PD power control level on the interface:
|
Link aggregation supported |
Whether the interface supports link aggregation.
|
Link aggregation enabled |
Whether link aggregation is enabled on the interface.
|
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):
|
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:
|
Unknown Policy |
Whether the type of the media policy is unknown:
|
VLAN tagged |
Whether to add tag to the 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:
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:
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:
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. |