
132
Syntax
display lldp neighbor-information
[
brief
|
interface interface-type interface-number
[
brief
] |
list
[
system-name
system-name
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
brief
: Displays the summary of LLDP information sent from the neighboring devices. If this keyword
is not specified, this command displays detailed LLDP information sent from the neighboring
devices.
interface interface-type interface-number
: Displays the LLDP information sent from the neighboring
devices received through a port specified by its type and number. If this option is not specified, this
command displays the LLDP information sent from the neighboring devices received through all
ports.
list
: Displays the LLDP information sent from the neighboring devices in the form of a list.
system-name
system-name
: Displays the LLDP information sent from a neighboring device
specified by its system name. The
system-name
argument is a character string of 1 to 255
characters. If this option is not specified, this command displays the LLDP information sent from all
neighboring devices in a list.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the LLDP information sent from the neighboring devices received through all ports.
<Sysname> display lldp neighbor-information
LLDP neighbor-information of port 1[Ethernet1/1]:
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 : Ethernet1/1
Port description : Ethernet1/1 Interface
System name : H3C
System description : H3C Comware Platform Software
System capabilities supported : Bridge,Router
System capabilities enabled : Bridge,Router
Management address type : ipv4
Management address : 192.168.1.55
Management address interface type : IfIndex