Technical Tip: How to capture LLDP (Link Layer Discovery Protocol) packet in a FortiGate
| Description | This article describes how to capture LLDP (Link Layer Discovery Protocol) packets to investigate the issue further in a FortiGate . |
| Scope | FortiGate. |
| Solution |
diagnose sniffer packet any "ether proto 0x88CC" 4 0 l
The output of the command above would look something like the following:
diagnose sniffer packet any "ether proto 0x88cc" 4 0 l
Note: If a PCAP (Wireshark) format of capture is required, change the verbose level in the above command to 6 from 4.
diagnose sniffer packet any "ether proto 0x88cc" 6 0 l
To stop the sniffer, press Ctrl + C. The Sniffer will run until stopped.
Debug command:
diagnose debug application lldptx -1
Diagnose command:
diagnose lldprx port neighbor
Related articles: |
