The display lldp neighbor command displays information about neighboring device of all interfaces or a specified interface.
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays information about neighboring devices of a specified interface.
If no interface is specified, the command displays information about neighboring devices of all interfaces with LLDP enabled. |
- |
Usage Scenario
Using this command, you can know which neighboring devices are connected to the local device, to which interfaces the neighboring devices are connected, layer 2 information about the neighbors, and whether LLDP configuration is correct.
Prerequisites
# Display information about neighbor devices of interfaces GigabitEthernet0/0/1.
<HUAWEI> display lldp neighbor interface gigabitethernet0/0/1 GigabitEthernet0/0/1 has 1 neighbor(s): Neighbor index : 1 Chassis type :MAC address Chassis ID :00e0-11fc-1710 Port ID type :Interface name Port ID :GigabitEthernet0/0/1 Port description :GigabitEthernet0/0/1 System name :HUAWEI System description :S5720-56C-HI-AC Huawei Versatile Routing Platform Software VRP (R) software,Version 5.160 (S5720 V200R019C10) Copyright (C) 2000-2019 HUAWEI TECH CO., LTD System capabilities supported :bridge router System capabilities enabled :bridge router Management address type :ipv4 Management address value : 127.0.0.1 OID :0.6.15.43.6.1.4.1.2011.5.25.41.1.2.1.1.1. Expired time :104s Port VLAN ID(PVID) :1 Port and protocol VLAN ID(PPVID) :0 Port and protocol VLAN supported :No Port and protocol VLAN enabled :No VLAN name of VLAN 1: VLAN 0001 Protocol identity : 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 Power type :Type 2 PD Power source :PSE Power priority :Low PD requested power value :60.0(w) PSE allocated power value :60.0(w) PD requested power mode A value :30.0(w) PD requested power mode B value :30.0(w) Power class :6 Power typex :Type 3 PSE PSE allocated power mode A value :0.0(w) PSE allocated power mode B value :0.0(w) PSE maximum available power :0.0(w) PSE power pairsx :Unknown PSE Autoclass support :PSE does not supports Autoclass PD 4PID :PD does not supports powering of both Modes PD Load :PD is single-signature or dual-signature and power demand on Mode A and Mode B are not electrically isolated Autoclass completed :Autoclass idle Autoclass request :Autoclass idle Power down :Not power down Power capability :AF AT BT_60 BT_90 Power-up mode :AT Link aggregation supported:Yes Link aggregation enabled :No Aggregation port ID :0 Maximum frame Size :9216 EEE support :Yes Transmit Tw :36 Receive Tw :36 Fallback Receive Tw :36 Echo Transmit Tw :36 Echo Receive Tw :36 MED Device information Device class :Network Connectivity HardwareRev :VER.A FirmwareRev :NA SoftwareRev :Version 5.160 V200R019C10 SerialNum :NA Manufacturer name :HUAWEI TECH CO., LTD Model name :NA Asset tracking identifier :NA Media policy type :Voice Unknown Policy :Defined VLAN tagged :Yes Media policy VlanID :0 Media policy L2 priority :6 Media policy Dscp :46 Power Type :Unknown PoE PSE power source :Unknown Port PSE Priority :Unknown Port Available power value:0.2(w)
Item |
Description |
---|---|
Neighbor index |
Index of a neighbor. |
Chassis type |
ID sub-types of a neighboring device:
|
Chassis Id |
ID of a neighboring device. |
Port ID type |
ID sub-type of a neighboring interface:
|
Port Id |
ID of a neighbor interface. |
Port description |
Description of a neighboring interface. |
System name |
System name of a neighboring device. |
System description |
Description of a neighboring device. |
System capabilities supported |
Capabilities of a neighboring device (at least one capability is supported):
|
System capabilities enabled |
Capabilities enabled on a neighboring device (This field is a subset of the system capabilities supported field, and at least one capability must be enabled).
|
Management address value |
Management address of a neighbor. |
Management address |
Management address of a neighbor. |
OID |
Neighbor management address OID. |
Expired time |
Aging time of a neighbor. |
Port VLAN ID(PVID) |
VLAN ID of an interface. |
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:
|
VLAN name of VLAN 1 |
Name of VLAN 1. |
Protocol identity |
Protocol ID. |
Auto-negotiation supported |
Whether the interface supports auto-negotiation:
|
Auto-negotiation enabled |
Whether the interface is enabled with auto-negotiation:
|
OperMau |
Transmission rate and duplex mode of the interface. |
Power port class |
PoE type:
|
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 control is supported.
|
Power pairs |
PoE remote power supply mode.
|
Port power classification |
PD power control level on the interface:
|
Power type | The power supply type:
|
Power source | The power supply source. |
Power priority | The power supply priority of an interface:
|
PD requested power value | - |
PSE allocated power value | - |
PD requested power mode A value | - |
PD requested power mode B value | - |
Power class |
|
Power typex |
|
PSE allocated power mode A value | - |
PSE allocated power mode B value | - |
PSE maximum available power | The highest power the PSE can grant to the PD. |
PSE power pairsx | The power supply modes that the PSE supports:
|
PSE Autoclass support | Whether PSE supports Autoclass:
|
PD 4PID |
|
PD Load |
|
Autoclass completed | Whether Autoclass is completed:
|
Autoclass request | Whether the interface has received Autoclass request:
|
Power down | Whether the interface powers down. |
Power capability | Power supply mode supported by the PD:
|
Power-up mode | Power supply mode used by the PD. The setting -- indicates that the PD does not notify the switch of the power supply mode in use. |
Link aggregation supported |
Whether link aggregation is supported on the interface.
|
Link aggregation enabled |
Whether link aggregation is enabled on an 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. |
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. |
Device class |
Type of the MED device. |
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. |
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:
|
PoE PSE power source |
Type of the PSE:
|
Port PSE Priority |
PSE priority of an interface:
|
Port Available power value |
Port power supply |