Hot!LLDP - Displayed Information

Author
bds38
New Member
  • Total Posts : 7
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/01/07 02:33:59
  • Status: offline
2018/04/09 03:28:50 (permalink)
0

LLDP - Displayed Information

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.
#1

3 Replies Related Threads

    emnoc
    Expert Member
    • Total Posts : 5366
    • Scores: 351
    • Reward points: 0
    • Joined: 2008/03/20 13:30:33
    • Location: AUSTIN TX AREA
    • Status: offline
    Re: LLDP - Displayed Information 2018/04/09 03:48:04 (permalink)
    0
    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
     

    PCNSE,  NSE , Forcepoint ,  StrongSwan Specialist
    #2
    bds38
    New Member
    • Total Posts : 7
    • Scores: 0
    • Reward points: 0
    • Joined: 2016/01/07 02:33:59
    • Status: offline
    Re: LLDP - Displayed Information 2018/04/10 01:33:50 (permalink)
    0
    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.
    #3
    tsilvey
    New Member
    • Total Posts : 10
    • Scores: 2
    • Reward points: 0
    • Joined: 2008/05/26 19:42:13
    • Status: offline
    Re: LLDP - Displayed Information 2019/08/14 09:00:54 (permalink)
    0
    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.
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 5.5