Description |
This article describes the query on the output of 'diagnose lldprx neighbor summary'. |
Scope | FortiGate. |
Solution |
See the following documentation for LLDP reception: https://docs.fortinet.com/document/fortigate/7.0.8/administration-guide/311052/lldp-reception
For example:
# diagnose lldprx neighbor summary
The 'port 23' actually corresponds to the local interface index 23 and not port 23. It is possible to find the interface by running the below:
FG10E0-3 # get sys stat
FG10E0-3 # diag netlink interface list | grep 23
The output corresponds to the local interface index and not the local interface name. Map the output to the correct port by tracking the index in the command 'diag netlink interface list'.
As an improvement to this command, from FortiOS 7.2.1 and 7.0.6 onwards, 'diagnose lldprx neighbor summary' displays not only the local interface index but also an interface name.
FortiOS 6.4 does not have this field and it will not necessary to map the output to the correct port by tracking the index in the command 'diag netlink interface list'.
Other useful commands:
To view the received LLDP information in the CLI:
To view additional information about LLDP neighbors and ports:
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.