Skip to main content
bds38
New Member
April 9, 2018
Question

LLDP - Displayed Information

  • April 9, 2018
  • 4 replies
  • 83883 views

Hello!

 

I have enabled LLDP between a FortiGate 600D and one of my Cisco switches. Using show lldp neighbor on the Cisco switch displays some pretty useful information: 

 

Device ID           Local Intf     Hold-time  Capability      Port ID FGT61E4Q16001015    Gi6/0/43       117        R               wan1

 

As you can see from the information, the Cisco switch knows it is connected to wan1 through port Gi6/0/43. I can also run other commands to get more detail.

 

However, the FortiGate side shows quite a bit of information in the User and Device -> Device inventory section but nothing particularly useful. I can see the device name, the MAC, operating system etc but I cannot find any information about which ports are in use (which is really what I am after).

 

Does anyone know of a way to display this information or a CLI command that shows it? I couldn't find anything after quite a bit of digging.

    4 replies

    emnoc
    New Member
    April 9, 2018

    Did you try any of the lldp dump commands

     

    cli-cmds

    diag switch-controller  dump lldp neighbors-summary

    diag switch-controller  dump lldp neighbors-detail

     

    ken

     

    bds38
    bds38Author
    New Member
    April 10, 2018

    Hi Emnoc,

     

    Thanks for the reply - I can't get those CLI commands to work. 

    I can get as far as diag switch-controller  dump but lldp isn't an option. Instead I get:

     

    fw-test (root) # diag switch-controller dump?

     

    vlan_config         configured switch-controller vlan info switch_config          configured managed-switch info mac_hosts          cached kernel mac hosts mac_hosts_switch_port          Display FortiSwitch port of detected devices device_access_list          cached device access list client          running clients port-stats          Managed FortiSwitch port statistics. trunk-state          Managed FortiSwitch trunk status. mac-addr          Managed FortiSwitch MAC address list.

    tsilvey
    New Member
    August 14, 2019

    I believe that the LLDP portion of this command was added in 6.x as I see it on my 6.x devices but not my 5.x devices.

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!