Skip to main content
DaveG-PW
Visitor III
Aug 6, 2025 11:43 AM UTC
Solved

LLDP Issues

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?

 

ebilcari
ebilcariAnswer
Staff
Aug 6, 2025 11:55 AM UTC

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

2 replies

ebilcari
Staff
ebilcariAnswer
Staff
Aug 6, 2025 11:55 AM UTC

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]

Translate
Emirjon
DaveG-PW
DaveG-PWAuthor
Visitor III
Aug 6, 2025 12:16 PM UTC

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

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024