Link Layer Discovery Protocol (LLDP) | 325
Figure 18-10. Viewing LLDP Interface Configurations
Viewing Information Advertised by Adjacent LLDP Agents
To display brief information about adjacent devices, use the show lldp neighbors command (Figure 18-11).
To display all of the information that neighbors are advertising, use the
show lldp neighbors detail command
(Figure 18-12).
Figure 18-11. Viewing Brief Information Advertised by Adjacent LLDP Agents
R1(conf-lldp)#exit
R1(conf)#interface tengigabitethernet 1/31
R1(conf-if-te-1/31)#show config
!
interface TenGigabitEthernet 1/31
no ip address
!
no shutdown
R1(conf-if-te-1/31)#protocol lldp
R1(conf-if-te-1/31-lldp)#show config
!
protocol lldp
R1(conf-if-te-1/31-lldp)#
R1(conf-if-te-1/31-lldp)#end
R1(conf-if-te-1/31)#do show lldp neighbors
Loc PortID Rem Host Name Rem Port Id Rem Chassis Id
-------------------------------------------------------------------------
Te 0/2 - 00:00:c9:b1:3b:82 00:00:c9:b1:3b:82
Te 0/3 - 00:00:c9:ad:f6:12 00:00:c9:ad:f6:12