I have cause to pull some information from a device connected to one of our switches (FortiSwitch 124F-FPOE), which are connected to / managed by our ForiGate's.
Commands such as diagnose lldprx neighbor summary work fine in the CLI of the FortiGate, however it then only see's the devices connected directly to it. If I open the CLI on the switch and run the same command I get.
command parse error before 'lldprx'
Command fail. Return code -61
I then tried to enable LLDP in case it was off and that was causing the first error, however I have tried going to both config system global and config system settings and running set lldp-reception enable but I just get a similar error.
command parse error before 'lldp-reception'
Command fail. Return code -61
Any idea what I'm doing wrong?
Solved! Go to Solution.
The commands on FSW are not identical to the one used in FGT. You can try the following:
# get switch lldp neighbors-summary
# get switch lldp neighbors-detail
Or directly from FGT CLI:
# diagnose switch-controller switch-info lldp neighbors-summay [SW serial]
The commands on FSW are not identical to the one used in FGT. You can try the following:
# get switch lldp neighbors-summary
# get switch lldp neighbors-detail
Or directly from FGT CLI:
# diagnose switch-controller switch-info lldp neighbors-summay [SW serial]
Fantastic, that worked and I was able to obtain the information I needed.
User | Count |
---|---|
2561 | |
1357 | |
796 | |
650 | |
455 |
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 2025 Fortinet, Inc. All Rights Reserved.