display lldp neighbor-information
Use display lldp neighbor-information to display the LLDP information received from the neighboring devices.
Syntax
display lldp neighbor-information [ [ [ interface interface-type interface-number ] [ agent { nearest-bridge | nearest-customer | nearest-nontpmr } ] [ verbose ] ] | list [ system-name system-name ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number. If you do not specify this option, the command displays the LLDP information that all ports receive from the neighboring devices.
agent: Specifies an agent type. If you do not specify an agent type, the command displays the LLDP information that all LLDP agents receive from the neighboring devices.
nearest-bridge: Specifies nearest bridge agents.
nearest-customer: Specifies nearest customer bridge agents.
nearest-nontpmr: Specifies nearest non-TPMR bridge agents.
verbose: Displays the detailed LLDP information that the local device receives from the neighboring devices. If you do not specify this keyword, the command displays the brief LLDP information that the local device receives from the neighboring devices.
list: Displays the LLDP information that the local device receives from the neighboring devices in the form of a list.
system-name system-name: Displays the LLDP information that the local device receives from a neighboring device specified by its system name. The system-name argument is a string of 1 to 255 characters. If you do not specify this option, the command displays the LLDP information that the local device receives from all neighboring devices in a list.
Examples
# Display the detailed LLDP information that the nearest bridge agents on all ports received from the neighboring devices.
<Sysname> display lldp neighbor-information agent nearest-bridge verbose LLDP neighbor-information of port 1[]: LLDP agent nearest-bridge: LLDP Neighbor index : 1 Update time : 0 days, 0 hours, 1 minutes, 1 seconds Chassis type : MAC address Chassis ID : 000f-0055-0002 Port ID type : Interface name Port ID : Time to live : 121 Port description : Interface System name : Sysname System description : HPE Comware Platform Software, Software Version 7.1.070, Release 1308 HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A Copyright (c) 2010-2017 Hewlett Packard Enterprise Develo pment LP System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 Management address : 192.168.1.55 Management address interface type : IfIndex Management address interface ID : Unknown Management address OID : 0 Port VLAN ID(PVID): 1 Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID : 52 Management VLAN ID : 5 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : Speed(1000)/Duplex(Full) Power port class : PD PSE power supported : Yes PSE power enabled : Yes PSE pairs control ability : Yes Power pairs : Signal Port power classification : Class 0 Power type : Type 2 PD Power source : PSE and local Power priority : High PD requested power value : 21.1 w PSE allocated power value : 15.3 w Maximum frame size : 10000
# Display the detailed LLDP information that all LLDP agents on all ports received from the neighboring devices.
<Sysname> display lldp neighbor-information verbose LLDP neighbor-information of port 1[]: LLDP agent nearest-bridge: LLDP Neighbor index : 1 Update time : 0 days, 0 hours, 1 minutes, 1 seconds Chassis type : MAC address Chassis ID : 000f-0055-0002 Port ID type : Interface name Port ID : Time to live : 121 Port description : Interface System name : Sysname System description : HPE Comware Platform Software, Software Version 7.1.070, Release 1308 HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A Copyright (c) 2010-2017 Hewlett Packard Enterprise Develo pment LP System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 Management address : 192.168.1.55 Management address interface type : IfIndex Management address interface ID : Unknown Management address OID : 0 Port VLAN ID(PVID): 1 Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID : 52 Management VLAN ID : 5 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : Speed(1000)/Duplex(Full) Power port class : PD PSE power supported : Yes PSE power enabled : Yes PSE pairs control ability : Yes Power pairs : Signal Port power classification : Class 0 Power type : Type 2 PD Power source : PSE and local Power priority : High PD requested power value : 21.1 w PSE allocated power value : 15.3 w Maximum frame size : 10000 LLDP neighbor-information of port 1[]: LLDP agent nearest-nontpmr: LLDP Neighbor index : 1 Update time : 0 days, 0 hours, 1 minutes, 1 seconds Chassis type : MAC address Chassis ID : 000f-0055-0002 Port ID type : Interface name Port ID : Time to live : 121 Port description : Interface System name : Sysname System description : HPE Comware Platform Software, Software Version 7.1.070, Release 1308 HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A Copyright (c) 2010-2017 Hewlett Packard Enterprise Develo pment LP System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 Management address : 192.168.1.55 Management address interface type : IfIndex Management address interface ID : Unknown Management address OID : 0 Port VLAN ID(PVID): 1 Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID : 52 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : Speed(1000)/Duplex(Full) Power port class : PD PSE power supported : Yes PSE power enabled : Yes PSE pairs control ability : Yes Power pairs : Signal Port power classification : Class 0 Power type : Type 2 PD Power source : PSE and local Power priority : High PD requested power value : 21.1 w PSE allocated power value : 15.3 w Maximum frame size : 10000
# Display the brief LLDP information that all LLDP agents on all ports received from the neighboring devices.
<Sysname> display lldp neighbor-information LLDP neighbor-information of port 52[]: LLDP agent nearest-bridge: LLDP neighbor index : 3 ChassisID/subtype : 0011-2233-4400/MAC address PortID/subtype : 000c-29f5-c71f/MAC address Capabilities : Bridge, Router, Customer Bridge LLDP neighbor index : 6 ChassisID/subtype : 0011-2233-4400/MAC address PortID/subtype : 000c-29f5-c715/MAC address Capabilities : None CDP neighbor-information of port 52[]: LLDP agent nearest-bridge: CDP neighbor index : 4 Chassis ID : SEP00260B5C0548 Port ID : Port 1 CDP neighbor index : 5 Chassis ID : 0011-2233-4400 Port ID : LLDP neighbor-information of port 52[]: LLDP agent nearest-nontpmr: LLDP neighbor index : 6 ChassisID/subtype : 0011-2233-4400/MAC address PortID/subtype : 000c-29f5-c715/MAC address Capabilities : None
# Display the brief LLDP information that all LLDP agents received from all neighboring devices in a list.
<Sysname> display lldp neighbor-information list Chassis ID : * -- --Nearest nontpmr bridge neighbor # -- --Nearest customer bridge neighbor Default -- -- Nearest bridge neighbor System Name Local Interface Chassis ID Port ID System1 GE1/0/1 000f-e25d-ee91 GigabitEthernet1/0/1
Table 58: Command output
Field | Description | |
---|---|---|
LLDP neighbor-information of port 1 | LLDP information received through port 1. | |
Update time | Time when LLDP information about a neighboring device was last updated. | |
LLDP mac type | Type of the neighbor MAC address:
| |
Chassis type | Chassis ID type:
| |
Chassis ID | ID that identifies the LLDP sending device, which can be a MAC address, a network address, an interface, or some other value, depending on the chassis ID type of the neighboring device. | |
Port ID type | Port ID type:
| |
Port ID | Value of the type of the port ID. | |
System name | System name of the neighboring device. | |
System description | System description of the neighboring device. | |
System capabilities supported | Capabilities supported on the neighboring device:
| |
System capabilities enabled | Capabilities enabled on the neighboring device:
| |
Management address OID | Management address object ID. | |
Link aggregation supported | Indicates whether link aggregation is supported. | |
Link aggregation enabled | Indicates whether link aggregation is enabled. | |
Aggregation port ID | Member port ID, which is 0 when link aggregation is disabled. | |
Auto-negotiation supported | Indicates whether autonegotiation is supported on the port. | |
Auto-negotiation enabled | Indicates whether autonegotiation is enabled on the port. | |
OperMau | Speed and duplex state on the port. | |
Power port class | PoE port class:
| |
PSE power supported | Indicates whether the device can operate as a PSE. | |
PSE power enabled | Indicates whether the device is operating as a PSE. | |
PSE pairs control ability | Indicates whether the pair selection ability is available. | |
Power pairs | Power supply mode:
| |
Port power classification | Power class of the PD:
| |
Power type | Power supply type:
| |
Power source | Power source:
| |
Power priority |
| |
PD requested power value | PD requested power in watts. | |
PSE allocated power value | PSE allocated power in watts. | |
PoE PSE power source | PSE power source type:
| |
PoE PD power source | PD power source type:
| |
Port PSE priority | PoE power supply priority of PSE ports:
| |
Port PD priority | PoE power receiving priority of PD ports:
| |
Port available power value | Available PoE power on PSE ports, or power needed on PD ports, in watts. | |
TLV type | Unknown basic TLV type. | |
TLV information | Information contained in the unknown basic TLV type. | |
Unknown organizationally-defined TLV | Unknown organizationally specific TLV. | |
TLV OUI | OUI of the unknown organizationally specific TLV. | |
TLV subtype | Unknown organizationally specific TLV subtype. | |
Index | Unknown organization index. | |
Capabilities | Capabilities enabled on the neighboring device:
| |
Local Interface | Local port that receives the LLDP information. | |
Chassis ID : * -- -- Nearest nontpmr bridge neighbor #-- -- Nearest customer bridge neighbor | Chassis ID flag:
|