< Home

display lldp neighbor

Function

The display lldp neighbor command displays information about neighboring device of all interfaces or a specified interface.

Format

display lldp neighbor [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays information about neighboring devices of a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If no interface is specified, the command displays information about neighboring devices of all interfaces with LLDP enabled.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

  1. LLDP has been enabled globally using the lldp enable command.
  2. LLDP has been enabled on the interface using the lldp enable command.

Example

# 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)                                                    
Table 1 Description of the display lldp neighbor command output

Item

Description

Neighbor index

Index of a neighbor.

Chassis type

ID sub-types of a neighboring device:
  • Chassis component: chassis alias
  • Interface alias: interface alias
  • Port component: interface or backplane alias
  • MAC address: MAC address
  • Network address: network address
  • Interface name: name of the interface
  • Locally assigned: name of the local device

Chassis Id

ID of a neighboring device.

Port ID type

ID sub-type of a neighboring interface:
  • Interface alias: interface alias
  • Port component: interface or backplane alias
  • MAC address: MAC address
  • Network address: network address
  • Interface name: name of the interface
  • Agent circuit ID: circuit ID of the DHCP agent
  • Locally assigned: name of the local device

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):
  • other: other capabilities
  • repeater: repeater
  • bridge: bridge device
  • wlanAccessPoint: wireless access point
  • router: router
  • telephone: wireless device
  • docsisCableDevice: management station
  • stationOnly: base station

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).
  • other: other capabilities
  • repeater: repeater
  • bridge: bridge device
  • wlanAccessPoint: wireless access point (AP)
  • router: router
  • telephone: wireless device
  • docsisCableDevice: management station
  • stationOnly: base station

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:
  • Yes: PPVID is supported.
  • No: PPVID is not supported.
Port and protocol VLAN enabled Whether PPVID is enabled:
  • Yes: PPVID is enabled.
  • No: PPVID is disabled.

VLAN name of VLAN 1

Name of VLAN 1.

Protocol identity

Protocol ID.

Auto-negotiation supported

Whether the interface supports auto-negotiation:
  • Yes: Auto-negotiation is supported.
  • No: Auto-negotiation is not supported.

Auto-negotiation enabled

Whether the interface is enabled with auto-negotiation:
  • Yes: enabled.
  • No: disabled.

OperMau

Transmission rate and duplex mode of the interface.

Power port class

PoE type:
  • PSE: power-sourcing equipment.
  • PD: powered device.

PSE power supported

Whether the PSE power is supported.
  • Yes: PSE power is supported.
  • No: PSE power is not supported.

PSE power enabled

Whether the PSE power is enabled.
  • Yes: enabled.
  • No: disabled.

PSE pairs control ability

Whether the PSE control is supported.
  • Yes: PSE control is supported.
  • No: PSE control is not supported.

Power pairs

PoE remote power supply mode.
  • Signal: power supply mode of signal lines.
  • Spare: power supply mode of spare signal lines.
  • Unknown: an unknown remote power supply mode.

Port power classification

PD power control level on the interface:
  • Class0: indicates level 1.
  • Class1: indicates level 2.
  • Class2: indicates level 3.
  • Class3: indicates level 4.
  • Class4: indicates level 5.
  • Unknown: indicates an unknown control level.
Power type The power supply type:
  • Type 1 PD: indicates the PD that does not support IEEE 802.3at.
  • Type 1 PSE: indicates the PSE that does not support IEEE 802.3at.
  • Type 2 PD: indicates the PD that supports IEEE 802.3at.
  • Type 2 PSE: indicates the PSE that supports IEEE 802.3at.
Power source The power supply source.
Power priority The power supply priority of an interface:
  • low
  • high
  • Critical
  • unknown
PD requested power value -
PSE allocated power value -
PD requested power mode A value -
PD requested power mode B value -
Power class
  • When the power type is PD this field shall be set to the requested Class of the PD.
  • When the power type is PSE this field shall be set to the PSEs assigned Class.
Power typex
  • Type 1 PSE
  • Type 1 PD
  • Type 2 PSE
  • Type 2 PD
  • Type 3 PSE
  • Type 3 single-signature PD
  • Type 4 PSE
  • Type 4 single-signature PD
  • Type 3 dual-signature PD
  • Type 4 dual-signature PD
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:
  • Alternative A
  • Alternative B
  • Alternative A and Alternative B
  • Unknown
PSE Autoclass support Whether PSE supports Autoclass:
  • PSE supports Autoclass
  • PSE does not support Autoclass
PD 4PID
  • PD supports powering of both Modes
  • PD does not support powering of both Modes
PD Load
  • PD is dual-signature and power demand on Mode A and Mode B are electrically isolated
  • PD is single-signature or dual-signature and power demand on Mode A and Mode B are not electrically isolated
Autoclass completed Whether Autoclass is completed:
  • Autoclass measurement completed
  • Autoclass idle
Autoclass request Whether the interface has received Autoclass request:
  • PD requests Autoclass measurement
  • Autoclass idle
Power down Whether the interface powers down.
Power capability
Power supply mode supported by the PD:
  • AF: 802.3af
  • AT: 802.3at
  • BT_60: 802.3bt with the 60 W supply power
  • BT_90: 802.3bt with the 90 W supply power
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.

  • Yes: The interface supports link aggregation.
  • No: The interface does not support link aggregation.

Link aggregation enabled

Whether link aggregation is enabled on an interface.

  • Yes: The interface supports link aggregation.
  • No: The interface does not support link aggregation.

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:
  • Voice.
  • Voice Signaling.
  • Guest Voice.
  • Guest Voice Signaling.
  • Softphone Voice.
  • Video Conferencing.
  • Streaming Video.
  • Video Signaling.
  • unknown indicates that the type of the media policy is unknown.

Unknown Policy

Whether the type of the media policy is unknown:

  • Yes: unknown
  • Defined: known
  • Unknown indicates that the Media policy VlanID, Media policy L2 priority and Media policy Dscp value fields are ignored.

VLAN tagged

Whether to add tag to the packets of the voice VLAN:

  • Yes: Adds a VLAN tag to packets of the voice VLAN.
  • No: Not to add a VLAN tag to 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:
  • PSE: power-sourcing equipment.
  • PD: powered device.
  • Unknown: indicates an unknown power supply type.

PoE PSE power source

Type of the PSE:
  • Primary: indicates primary power supply.
  • Backup: indicates backup power supply.
  • Unknown: indicates an unknown type of PSE.

Port PSE Priority

PSE priority of an interface:
  • Unknown: indicates an unknown priority.
  • Critical: indicates the highest priority.
  • High: indicates the medium priority.
  • Low: indicates the lowest priority.

Port Available power value

Port power supply

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