Skip to main content
DaveG-PW
Visitor III
August 6, 2025
Solved

LLDP Issues

  • August 6, 2025
  • 1 reply
  • 1392 views

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?

 

Best answer by ebilcari

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]

1 reply

ebilcari
Staff
ebilcariAnswer
Staff
August 6, 2025

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]

Emirjon
DaveG-PW
DaveG-PWAuthor
Visitor III
August 6, 2025

Fantastic, that worked and I was able to obtain the information I needed.