Debugging LLDP
You can view the TLVs that your system is sending and receiving.
To view the TLVs, use the following commands.
• View a readable version of the TLVs.
debug lldp brief
• View a readable version of the TLVs plus a hexadecimal version of the entire LLDPDU, including unrecognized TLVs.
debug lldp detail
To stop viewing the LLDP TLVs sent and received by the system, use the no debug lldp command.
Figure 70. The debug lldp detail Command — LLDPDU Packet Dissection
Example of debug lldp Command Output with Unrecognized TLVs
The following is an example of LLDPDU with unrecognized TLVs.
NOS(conf)#do debug lldp interface managementethernet 1/1 packet detail rx
NOS(conf)#23:22:29 : Recieved LLDP pkt on Ma 1/1 of length 1514 :
23:22:29 : Packet dump:
23:22:29 : 01 80 c2 00 00 0e 64 00 6a e6 9a 58 88 cc 02 07
23:22:29 : 04 64 00 6a e6 9a 56 04 15 05 47 69 67 61 62 69
23:22:29 : 74 45 74 68 65 72 6e 65 74 20 31 2f 31 32 06 02
23:22:30 : 00 78 12 04 44 65 6c 6c 14 04 44 65 6c 6c 16 04
--Output truncated for brevity--
23:22:40 : TLV: Chassis ID, Len: 7, Subtype: Mac address (4) Value: 64:00:6a:e6:9a:56
23:22:40 : TLV: Port ID, Len: 21, Subtype: Interface name (5) Value: GigabitEthernet 1/12
23:22:40 : TLV: TTL, Len: 2, Value: 120
Link Layer Discovery Protocol (LLDP)
465