Fortiswitch topology?
-
Hello,
I seem to have issues to get topology info out of our Fortiswitches, one thing i noticed compared to our cisco is the Interface showing [ 0] in the FDB tab of the switches.
Not sure where to start really, including maybe relevant topology info from the log filethank you
2026.05.21 16:40:51.115 *D* [topology.fdb ] NetworkDeviceDriver::getForwardingDatabase(SW03 [36061]): 0 entries read from dot1qTpFdbTable 2026.05.21 16:40:51.318 *D* [topology.fdb ] NetworkDeviceDriver::getForwardingDatabase(SW03 [36061]): 190 entries read from dot1dTpFdbTable 2026.05.21 16:40:51.318 *D* [poll.topology ] Switch forwarding database retrieved for node SW03 [36061] 2026.05.21 16:40:51.318 *D* [topology.link ] BuildLinkLayerNeighborList(SW03 [36061]): building link level topology 2026.05.21 16:40:51.318 *D* [topology.driver ] Collecting topology information from driver GENERIC for node SW03 [36061] 2026.05.21 16:40:51.318 *D* [topology.driver ] Driver for node SW03 [36061] cannot provide link layer topology information 2026.05.21 16:40:51.318 *D* [topology.lldp ] Collecting LLDP topology information for node SW03 [36061] 2026.05.21 16:40:51.365 *D* [topology.lldp ] 144 entries in LLDP-MIB connection database for node SW03 [36061] 2026.05.21 16:40:51.365 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW11 [35567] 2026.05.21 16:40:51.365 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=39 2026.05.21 16:40:51.365 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=39 doRemoteLookup=false 2026.05.21 16:40:51.365 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 39 not found in local LLDP port info cache 2026.05.21 16:40:51.365 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=39 2026.05.21 16:40:51.365 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW11 [35567] 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.412 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35567 (node) ifRemote=27 ifLocal=0 2026.05.21 16:40:51.412 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW12 [35601] 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=40 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=40 doRemoteLookup=false 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 40 not found in local LLDP port info cache 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=40 2026.05.21 16:40:51.412 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW12 [35601] 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.475 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35601 (node) ifRemote=51 ifLocal=0 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindRemoteNode(SW03 [36061]): remoteIdSubType=macAddress(4) remoteId=4@7818EC6DA88D: FindNodeByLLDPId failed, fallback to interface MAC address ("78:18:EC:6D:A8:8D") 2026.05.21 16:40:51.475 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode FW05[31449] 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=42 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=42 doRemoteLookup=false 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 42 not found in local LLDP port info cache 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=42 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid and remote interface is not known 2026.05.21 16:40:51.475 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=31449 (node) ifRemote=21 ifLocal=0 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindRemoteNode(SW03 [36061]): remoteIdSubType=macAddress(4) remoteId=4@7818EC6DD00B: FindNodeByLLDPId failed, fallback to interface MAC address ("78:18:EC:6D:D0:0B") 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindRemoteNode(SW03 [36061]): remoteIdSubType=macAddress(4) remoteId=4@7818EC6DD00B: FindNodeByLLDPId and FindNodeByMAC failed, fallback to sysName (FW06") 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindRemoteNode(SW03 [36061]): remoteIdSubType=macAddress(4) remoteId=4: FindAccessPointByMAC failed, fallback to sysName ("FW06") 2026.05.21 16:40:51.475 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remote node not found 2026.05.21 16:40:51.475 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW05 [36103] 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=44 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=44 doRemoteLookup=false 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 44 not found in local LLDP port info cache 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=44 2026.05.21 16:40:51.475 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW05 [36103] 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.537 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=36103 (node) ifRemote=25 ifLocal=0 2026.05.21 16:40:51.537 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW07 [35448] 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=45 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=45 doRemoteLookup=false 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 45 not found in local LLDP port info cache 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=45 2026.05.21 16:40:51.537 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW07 [35448] 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.584 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35448 (node) ifRemote=52 ifLocal=0 2026.05.21 16:40:51.584 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW09 [36232] 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=46 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=46 doRemoteLookup=false 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 46 not found in local LLDP port info cache 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=46 2026.05.21 16:40:51.584 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW09 [36232] 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.615 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=36232 (node) ifRemote=52 ifLocal=0 2026.05.21 16:40:51.615 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW13 [35954] 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=47 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=47 doRemoteLookup=false 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 47 not found in local LLDP port info cache 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=47 2026.05.21 16:40:51.615 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW13 [35954] 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.678 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35954 (node) ifRemote=52 ifLocal=0 2026.05.21 16:40:51.678 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW15 [35836] 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=48 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=48 doRemoteLookup=false 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 48 not found in local LLDP port info cache 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=48 2026.05.21 16:40:51.678 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW15 [35836] 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.819 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35836 (node) ifRemote=52 ifLocal=0 2026.05.21 16:40:51.819 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW18 [35718] 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=49 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=49 doRemoteLookup=false 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 49 not found in local LLDP port info cache 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=49 2026.05.21 16:40:51.819 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW18 [35718] 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.883 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=35718 (node) ifRemote=52 ifLocal=0 2026.05.21 16:40:51.883 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW04 [36019] 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=50 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=50 doRemoteLookup=false 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 50 not found in local LLDP port info cache 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=50 2026.05.21 16:40:51.883 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW04 [36019] 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.930 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=36019 (node) ifRemote=21 ifLocal=0 2026.05.21 16:40:51.930 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): remoteNode=SW04 [36019] 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is available, value=50 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): localPort=50 doRemoteLookup=false 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): port number 50 not found in local LLDP port info cache 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): cannot find interface with dot1dBasePort=50 2026.05.21 16:40:51.930 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): lldpRemLocalPortNum is invalid, attempt to find matching information on remote node SW04 [36019] 2026.05.21 16:40:51.961 *D* [topology.lldp ] FindLocalInterfaceIndex(SW03 [36061], LLDP-MIB): ifLocal=0 after lookup on remote node 2026.05.21 16:40:51.961 *D* [topology.lldp ] ProcessLLDPConnectionEntry(SW03 [36061], LLDP-MIB): added connection: objectId=36019 (node) ifRemote=22 ifLocal=0 2026.05.21 16:40:51.961 *D* [topology.lldp ] Finished collecting LLDP topology information for node SW03 [36061] 2026.05.21 16:40:51.961 *D* [poll.topology ] Node::addHostConnections(SW03 [36061]): FDB retrieved 2026.05.21 16:40:51.961 *D* [topology.link ] BuildLinkLayerNeighborList(SW03 [36061]): 0 connections found 2026.05.21 16:40:51.961 *D* [poll.topology ] Link layer topology retrieved for node SW03 [36061] (0 connections found) 2026.05.21 16:40:51.961 *D* [poll.topology ] Link layer topology processed for node SW03 [36061] 2026.05.21 16:40:51.961 *D* [poll.topology ] Finished topology poll of node SW03 [36061] 2026.05.21 16:40:57.754 *D* [obj.sync ] Object SW03 [36061] modified with flags 00100000 -
Hi,
Is it possible that you could provide remote access to some lab fortiswitch so our developers could talk to it to improve the drivers?
Or at least please share output of
snmpwalk -v2c -c <community> <switch_ip> 1.0.8802.1.1.2.1.3.7.1
snmpwalk -v2c -c <community> <switch_ip> 1.3.6.1.2.1.17.1.4.1.2
snmpwalk -v2c -c <community> <switch_ip> 1.3.6.1.2.1.2.2.1.2
snmpget -v2c -c <community> <switch_ip> 1.3.6.1.2.1.1.2.0 -
Hello,
thank you very much. I'm sure something can be arranged, would this be about snmp access or something more.
In the meanwhile I've uploaded the info asked for, I've used nxsnmpwalk/get if that ok, data is from a fortiswitch 1024E.thank you,
regards
-
Hi!
I've added driver for FortiSwitch devices, it will be part of release 6.2.0 (should be ready in early June). If we will make another patch release for 6.1 we likely backport it too.
Could you please show how hardware inventory view looks like for the switch?
Is "Ports" view already working? If not we might add physical port marking to the driver.Best regards,
Victor -
-
Fixes were made to Fortinet driver. If you are on Linux, you can build current netxms server from master branch to test it on your devices - compilation docs are here: https://github.com/netxms/netxms/blob/master/CONTRIBUTING.md#️-development-setup
Or just wait for the release of v. 6.2
-
Could you please export or show screenshot of interfaces view? I'm interested only in columns with interface name, description, index, and type. Looks like we have to add physical port mapping on the driver level.
-
-
Just added physical interface marking in FortiSwitch driver.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

