display lldp neighbor

Function

The display lldp neighbor command displays Link Layer Discovery Protocol (LLDP) neighbor information about a specific or all interfaces.

Format

display lldp neighbor [ interface { interface-name | interface-type interface-number } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Displays LLDP neighbor information about a specified interface.

If this parameter is not specified, LLDP neighbor information about all interfaces is displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
lldp read

Usage Guidelines

Usage Scenario

To view information about LLDP neighbors, Layer 2 information about these neighbors, and interfaces used by these neighbors to connect to a local device, run the display lldp neighbor command.

Prerequisites

LLDP has been globally enabled using the lldp enable command in the system view, and LLDP has also been enabled on interfaces using the lldp enable command in the interface view.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display LLDP neighbor information about all interfaces on a device.
<HUAWEI> display lldp neighbor
Gigabitethernet0/1/16 has 1 neighbor(s):

Neighbor index                     :1
Chassis type                       :macAddress
Chassis ID                         :00-e0-fc11-1110
Port ID type                       :interfaceName
Port ID                            :Gigabitethernet0/1/16
Port description                   :--
System name                        :HUAWEI
System description                 :Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.200 (NetEngine 8000 F1A-8H20Q V800R021C00SPC100)
Copyright (C) 2012-2020 Huawei Technologies Co., Ltd.
HUAWEI VRP

System capabilities supported      :bridge router
System capabilities enabled        :bridge router
Management address type            :ipv4
Management address                 :10.138.216.1
Expired time                       :104s

Port VLAN ID(PVID)                 :1 
Port and Protocol VLAN ID(PPVID)   :unsupported 
Port and Protocol VLAN supported   :-- 
Port and Protocol VLAN enabled     :-- 
VLAN name of VLAN 1                :VLAN1 
Protocol identity                  :-- 
Auto-negotiation supported         :Yes
Auto-negotiation enabled           :No
OperMau                            :speed (0) /duplex (Auto)
Link aggregation supported         :Yes
Link aggregation enabled           :No
Aggregation port ID                :0
Maximum frame Size                 :9216
Discovered time                    :2015-10-25 09:44:40
Unrecognized basic TLV
  TLV type 9                       :01 02 03 04 05 06 07 08 00 00 00 40
  TLV type 9                       :11 12 13 14 15 16 17 18 00 00 00 40
  TLV type 10                      :00 00 00 00 00 00 00 00 00 00 00 40
  TLV type 126                     :
Table 1 Description of the display lldp neighbor command output
Item Description
Neighbor index

Neighbor index.

Chassis type

ID subtype of an LLDP neighbor:

  • ChassisComponent: chassis alias.
  • interfaceAlias: interface alias.
  • portComponent: interface/backplane alias.
  • macAddress: MAC address.
  • networkAddress: network address.
  • interfaceName: interface name.
  • local: local port name.
Chassis ID

ID of an LLDP neighbor.

Port ID type

ID subtype of an LLDP neighbor interface:

  • interfaceAlias: interface alias.
  • portComponent: interface/backplane alias.
  • macAddress: MAC address.
  • networkAddress: network address.
  • interfaceName: interface name.
  • agentCircuitId: Circuit ID of a DHCP relay agent.
  • local: local name.
Port ID

ID of an LLDP neighbor interface.

Port description

Description of an LLDP neighbor interface.

Port VLAN ID(PVID)

ID of the VLAN to which an LLDP neighbor interface belongs.

Port and Protocol VLAN ID(PPVID)

ID of the protocol VLAN to which an LLDP neighbor interface belongs.

Port and Protocol VLAN supported

Whether protocol VLANs are supported.

Port and Protocol VLAN enabled

Whether protocol VLANs are enabled.

System name

Name of an LLDP neighbor.

System description

Description of an LLDP neighbor.

System capabilities supported

Capabilities supported by an LLDP neighbor:

  • other: other functions.
  • repeater: repeater function.
  • bridge: bridging function.
  • wlanAccessPoint: WLAN access point.
  • router: routing function.
  • telephone: wireless device function.
  • docsisCableDevice: management station function.
  • stationOnly: base station function.
System capabilities enabled

Capabilities enabled on an LLDP neighbor:

  • other: other functions.
  • repeater: repeater function.
  • bridge: bridging function.
  • wlanAccessPoint: WLAN access point.
  • router: routing function.
  • telephone: wireless device function.
  • docsisCableDevice: management station function.
  • stationOnly: base station function.
Management address type

Management IP address type of an LLDP neighbor.

Management address

Management IP address of an LLDP neighbor.

Expired time

Aging time of an LLDP neighbor.

VLAN name of VLAN

Name of VLAN.

Protocol identity

ID of protocol identity.

Auto-negotiation supported

Support for auto-negotiation:

  • Yes: Auto-negotiation is supported.
  • No: Auto-negotiation is not supported.
Auto-negotiation enabled

Auto-negotiation status:

  • Yes: Auto-negotiation is enabled.
  • No: Auto-negotiation is disabled.
OperMau

Self-adaptive rate and duplex status of a local interface.

Link aggregation supported

Support for link aggregation by an LLDP neighbor interface:

  • Yes: The LLDP neighbor interface supports link aggregation.
  • No: The LLDP neighbor interface does not support link aggregation.
Link aggregation enabled

Link aggregation status on an LLDP neighbor interface:

  • Yes: Link aggregation is enabled on the LLDP neighbor interface.
  • No: Link aggregation is disabled on the LLDP neighbor interface.
Aggregation port ID

ID of an aggregated LLDP neighbor interface. The value is 0 if link aggregation is not enabled.

Maximum frame Size

Maximum frame size supported by an LLDP neighbor interface.

Discovered time

Date and time when an LLDP neighbor was discovered.

Unrecognized basic TLV

Basic TLV unrecognized by the local end.

Unrecognized organizationally defined TLV

Organizationally defined TLV unrecognized by the local end.

TLV type

Basic TLV type unrecognized by the local end.

TLV OUI

Identifier of the organizationally defined TLV unrecognized by the local end.

TLV subtype

Sub-type of the organizationally defined TLV unrecognized by the local end.

TLV information

Information about the organizationally defined TLV unrecognized by the local end.

Index

Index of the organizationally defined TLV unrecognized by the local end.

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