Displaying LLDP Neighbors

You can use the below commands to verify LLDP information:

Reference

Command

show lldp neighbors

Description

Display LLDP neighbors

Parameters

None

Mode

EXEC

Example

pbnoscli# show lldp neighbors
Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort    RemoteDevice    RemotePortID    Capability    RemotePortDescr
-----------  --------------  --------------  ------------  -----------------
Ethernet1/1  sonic           etp1            BR            Ethernet0
Ethernet2/1  sonic           etp2            BR            Ethernet4
Ethernet3/1  sonic           etp3            BR            Ethernet8
Ethernet13/1 sonic           hundredGigE13   BR            Ethernet48
Ethernet14/1 sonic           hundredGigE14   BR            Ethernet52
Ethernet15/1 sonic           hundredGigE15   BR            Ethernet56
eth0         HP2848          12              B             12
--------------------------------------------------
Total entries displayed:  7
pbnoscli#  

To display the LLDP neighbor's information in detail, use the following command:

Reference

Command

show lldp neighbors detail

Description

Display LLDP neighbors in detail

Parameters

None

Mode

EXEC

Example

Last updated