Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
DaveG-PW
New Contributor III

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?

 

1 Solution
ebilcari
Staff
Staff

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
If you have found a solution, please like and accept it to make it easily accessible for others.

View solution in original post

2 REPLIES 2
ebilcari
Staff
Staff

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
If you have found a solution, please like and accept it to make it easily accessible for others.
DaveG-PW
New Contributor III

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

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors