261
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[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 : GigabitEthernet1/0/1
Time to live : 121
Port description : GigabitEthernet1/0/1 Interface
System name : Sysname
System description : HPE Comware Platform Software, Software Version 7.1.070,
Release 3207
HPE 5130-24G-4SFP+ EI Switch