display lldp neighbor-information

Use display lldp neighbor-information to display the LLDP information carried in LLDP TLVs that the local device receives 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 this option is not specified, this command displays the LLDP information that all ports receive from the neighboring devices.

agent: Specifies an agent by its type and number. If no agent type is specified, 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 this keyword is not specified, this 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 this option is not specified, this 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. (DCBX is IEEE Std 802.1Qaz-2011.)

<Sysname> display lldp neighbor-information agent nearest-bridge verbose
LLDP neighbor-information of port 1[Ten-GigabitEthernet1/0/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             : Ten-GigabitEthernet1/0/1
 Time to live        : 120
 Port description    : Ten-GigabitEthernet1/0/1 Interface
 System name         : Sysname
 System description  : HPE Comware Platform Software
 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
 DCBX Control info:
 Oper version       : Standard
 DCBX ETS configuration info:
  CBS                : False
  Max TCs            : 8
  CoS     Local priority      Percentage        TSA
   0            0                 15            ETS
   1            1                 0             SP
   2            2                 15            ETS
   3            3                 14            ETS
   4            4                 14            ETS
   5            5                 14            ETS
   6            6                 14            ETS
   7            7                 14            ETS
 DCBX ETS recommendation info:
  CoS     Local priority      Percentage        TSA
   0            0                 15            ETS
   1            1                 0             SP
   2            2                 15            ETS
   3            3                 14            ETS
   4            4                 14            ETS
   5            5                 14            ETS
   6            6                 14            ETS
   7            7                 14            ETS
 DCBX PFC info:
  P0-0     P1-1     P2-1     P3-1     P4-0     P5-0     P6-0     P7-0
  Number of traffic classes supported: 8
  Value of MBC: 0
 DCBX APP info:
  Selected Field              Protocol ID Priority
  UDP/DCCP                   100         0x3
  TCP/SCTP                    200         0x3
  Ethertype                   0x1234      0x3
  Ethertype                   0x8906      0x3
 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 12: VLAN 0012
 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
 Link aggregation supported : Yes
 Link aggregation enabled   : Yes
 Aggregation port ID        : 52
 Maximum frame size         : 1500

# Display the detailed LLDP information that all LLDP agents on all ports received from the neighboring devices. (DCBX is IEEE Std 802.1Qaz-2011.)

<Sysname> display lldp neighbor-information verbose
LLDP neighbor-information of port 1[Ten-GigabitEthernet1/0/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             : Ten-GigabitEthernet1/0/1
 Time to live        : 121
 Port description    : Ten-GigabitEthernet1/0/1 Interface
 System name         : Sysname
 System description  : HPE Comware Platform Software
 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
 DCBX control info:
  Oper version       : Standard
 DCBX ETS configuration info:
  CBS                : False
  Max TCs            : 8
  CoS     Local Priority      Percentage        TSA
   0            0                 15            ETS
   1            1                 0             SP
   2            2                 15            ETS
   3            3                 14            ETS
   4            4                 14            ETS
   5            5                 14            ETS
   6            6                 14            ETS
   7            7                 14            ETS
 DCBX ETS recommendation info:
  CoS     Local Priority      Percentage        TSA
   0            0                 15            ETS
   1            1                 0             SP
   2            2                 15            ETS
   3            3                 14            ETS
   4            4                 14            ETS
   5            5                 14            ETS
   6            6                 14            ETS
   7            7                 14            ETS
 DCBX PFC info:
  P0-0     P1-1     P2-1     P3-1     P4-0     P5-0     P6-0     P7-0
  Number of traffic classes supported: 8
  Value of MBC: 0
 DCBX APP info:
  Selected Field  Protocol ID  Priority
  UDP/DCCP        100          0x3
  TCP/SCTP        200          0x3
  Ethertype       0x1234       0x3
  Ethertype       0x8906       0x3
 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 12: VLAN 0012
 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
 Link aggregation supported : Yes
 Link aggregation enabled   : Yes
 Aggregation port ID        : 52
 Maximum frame size         : 1500
LLDP neighbor-information of port 1[Ten-GigabitEthernet1/0/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             : Ten-GigabitEthernet1/0/1
 Time to live        : 121
 Port description    : Ten-GigabitEthernet1/0/1 Interface
 System name         : Sysname
 System description  : HPE Comware Platform Software
 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
 Port and protocol VLAN ID(PPVID) : 12
 Port and protocol VLAN supported : Yes
 Port and protocol VLAN enabled   : Yes
 VLAN name of VLAN 12: VLAN 0012 
 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
 Link aggregation supported : Yes
 Link aggregation enabled   : Yes
 Aggregation port ID        : 52
 Maximum frame size         : 1500

# 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[Ten-GigabitEthernet1/0/3]:
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[Ten-GigabitEthernet1/0/3]:
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             : Ten-GigabitEthernet1/0/4

LLDP neighbor-information of port 52[Ten-GigabitEthernet1/0/3]:
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              XGE1/0/1            000f-e25d-ee91    Ten-GigabitEthernet1/0/5
System2              XGE1/0/2            000f-e25d-ee92*   Ten-GigabitEthernet1/0/6
System3              XGE1/0/3            000f-e25d-ee93#   Ten-GigabitEthernet1/0/7

Table 60: 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.

Chassis type

Chassis ID type:

  • Chassis component.

  • Interface alias.

  • Port component.

  • MAC address.

  • Network address (ipv4).

  • Interface name.

  • Locally assigned—Locally-defined chassis type other than those listed above.

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 type of the neighboring device.

Port ID type

Port ID type:

  • Interface alias.

  • Port component.

  • MAC address.

  • Network address (ipv4).

  • Interface name.

  • Agent circuit ID.

  • Locally assigned—Locally-defined port ID type other than those listed above.

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:

  • Repeater—Signal repeating is supported.

  • Bridge—Switching is supported.

  • WlanAccessPoint—The neighboring device can serve as a wireless AP.

  • Router—Routing is supported.

  • Telephone—The neighboring device can serve as a telephone.

  • DocsisCableDevice—The neighboring device can serve as a DOCSIS-compliant cable device.

  • StationOnly—The neighboring device can serve as a station only.

  • Customer Bridge—The customer bridge function is enabled.

  • Service Bridge—The service bridge function is enabled.

  • TPMR—The TPMR function is enabled.

  • Other—Functions other than those listed above are supported.

System capabilities enabled

Capabilities enabled on the neighboring device:

  • Repeater—Signal repeating is enabled.

  • Bridge—Switching is enabled.

  • WlanAccessPoint—The neighboring device is serving as a wireless AP.

  • Router—Routing is enabled.

  • Telephone—The neighboring device is serving as a telephone.

  • DocsisCableDevice—The neighboring device is serving as a DOCSIS-compliant cable device.

  • StationOnly—The neighboring device is serving as a station only.

  • Customer Bridge—The customer bridge function is enabled.

  • Service Bridge—The service bridge function is enabled.

  • TPMR—The TPMR function is enabled.

  • Other—Functions other than those listed above are supported.

Management address OID

Management address object ID.

DCBX control info

Displayed as version information in IEEE Std 802.1Qaz-2011.

Oper version

DCBX version number.

Sequence number

Number of DCBX TLV content changes.

Acknowledge number

Times of synchronizing configurations by the peer device.

DCBX ETS info

CoS-to-local priority mapping and bandwidth allocation.

Percentage

Percentage of bandwidth allocated.

P0- P1- P2- P3- P4- P5- P6- P7-

Number of supported priorities configured by using the priority-flow-control no-drop dot1p dot1p-list command on the neighbor.

Number of traffic classes supported

Capability set supported by PFC (displayed only in Rev 1.01 and IEEE Std 802.1Qaz-2011).

CoS map

Application protocol-to-CoS mapping.

CBS

Indicates whether the token bucket mechanism is supported on the port:

  • False—The token bucket mechanism is not supported.

  • True—The token bucket mechanism is supported.

Max TCs

Maximum number of priorities supported.

TSA

Transmission selection algorithm.

Value of MBC

MBC indicates the ability of packets to bypass MACsec. It is 1-bit long.

  • 0—Packets can bypass MACsec when MACsec is disabled.

  • 1—Packets cannot bypass MACsec when MACsec is disabled.

Port and protocol VLAN ID(PPVID)

Port protocol VLAN ID.

Port and protocol VLAN supported

Indicates whether protocol VLAN is supported on the port.

Port and protocol VLAN enabled

Indicates whether protocol VLAN is enabled on the port.

VLAN name of VLAN 12

Name of VLAN 12.

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 sourcing equipment.

  • PD—Powered device.

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:

  • Signal—Uses data pairs to supply power.

  • Spare—Uses spare pairs to supply power.

Port power classification

Power class of the PD:

  • Class 0.

  • Class 1.

  • Class 2.

  • Class 3.

  • Class 4.

Link aggregation supported

Indicates whether link aggregation is supported.

Link aggregation enabled

Indicates whether link aggregation is enabled.

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:

  • Repeater—Signal repeating is enabled.

  • Bridge—Switching is enabled.

  • WlanAccessPoint—The neighboring device is serving as a wireless AP.

  • Router—Routing is enabled.

  • Telephone—The neighboring device is serving as a telephone.

  • DocsisCableDevice—The neighboring device is serving as a DOCSIS-compliant cable device.

  • StationOnly—The neighboring device is serving as a station only.

  • Other—Functions other than those listed above are supported.

  • None—The neighboring device does not advertise this TLV.

Local Interface

Local port that receives the LLDP information.

Chassis ID : * -- -- Nearest nontpmr bridge neighbor

#-- -- Nearest customer bridge neighbor

Chassis ID flag:

  • An asterisk (*) indicates the nearest non-TPMR bridge neighbor.

  • A pound sign (#) indicates the nearest customer bridge neighbor.