Purpose
Command or Action
(Optional)
Displays LLDP configurations.
switch#
show lldp
{
interface
|
neighbors
[
detail
|
interface
|
system-detail
] |
timers
|
traffic
}
Step 4
This example shows how to set an interface to transmit LLDP packets:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
lldp transmit
This example shows how to configure an interface to disable LLDP:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
no lldp transmit
switch(config-if)#
no lldp receive
This example shows how to display LLDP interface information:
switch#
show lldp interface ethernet 1/2
tx_enabled: TRUE
rx_enabled: TRUE
dcbx_enabled: TRUE
Port MAC address:
00:0d:ec:a3:5f:48
Remote Peers Information
No remote peers exist
This example shows how to display LLDP neighbor information:
switch#
show lldp neighbors
LLDP Neighbors
Remote Peers Information on interface Eth1/40
Remote peer's MSAP: length 12 Bytes:
00
c0
dd
0e
5f
3a
00
c0
dd
0e
5f
3a
LLDP TLV's
LLDP TLV type:Chassis ID
LLDP TLV Length: 7
LLDP TLV type:Port ID
LLDP TLV Length: 7
LLDP TLV type:Time to Live
LLDP TLV Length: 2
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 55
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 5
LLDP TLV type:END of LLDPDU
LLDP TLV Length: 0
Remote Peers Information on interface Eth1/34
Remote peer's MSAP: length 12 Bytes:
00
0d
ec
a3
27
40
00
0d
ec
a3
27
69
LLDP TLV's
LLDP TLV type:Chassis ID
LLDP TLV Length: 7
LLDP TLV type:Port ID
LLDP TLV Length: 7
LLDP TLV type:Time to Live
LLDP TLV Length: 2
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 55
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 5
LLDP TLV type:END of LLDPDU
LLDP TLV Length: 0
Remote Peers Information on interface Eth1/33
Remote peer's MSAP: length 12 Bytes:
00
0d
ec
a3
27
40
00
0d
ec
a3
27
68
LLDP TLV's
LLDP TLV type:Chassis ID
LLDP TLV Length: 7
LLDP TLV type:Port ID
LLDP TLV Length: 7
LLDP TLV type:Time to Live
LLDP TLV Length: 2
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 55
LLDP TLV type:LLDP Organizationally Specific
LLDP TLV Length: 5
LLDP TLV type:END of LLDPDU
LLDP TLV Length: 0
This example shows how to display the system details about LLDP neighbors:
switch#
sh lldp neighbors system-detail
Capability codes:
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
109
Configuring LLDP
Configuring Interface LLDP