Skip to main content
zendodg
Staff
Staff
July 22, 2026

Troubleshooting Tip: Troubleshooting FortiGate embedded Issues with FortiSwitch

  • July 22, 2026
  • 0 replies
  • 313 views

Description

This article describes the steps to troubleshoot FortiNAC issues with FortiSwitch. The issue is that FortiNAC does not work as expected, and this article provides a comprehensive solution to identify and resolve the root cause of the issue.

Scope

FortiSwitch, FortiOS v7.4 and above.

Solution

Possible causes include FortiOS not recognizing/identifying devices connected to FortiSwitch ports configured in embedded NAC mode, or devices remain stuck in the onboarding VLAN and never get matched to their target NAC policy.
This involves the 'fortilinkd' daemon (FortiLink backend), the 'cid' scanner (device identification), and the 'iotd' daemon (FortiGuard query service).

Check any crashes on FortiGate to validate any issue on any of these daemons:

diagnose debug crashlog read


If there no detection at all, traffic from the device is not reaching the FortiGate. The CID scanner is passive, so it can only scan traffic that arrives at the FortiGate. If the device only sends ARP or no traffic routes through the FortiGate, no identification occurs.

Enable cid + iotd debugging to see the identification process:

diagnose debug console timestamp enable
diagnose cid debug start
diagnose debug appl cid -1
diagnose debug appl iotd -1
diagnose debug enable


When the device is recognized, check if the device is kept on the onboarding VLAN.

diagnose switch-controller mac-device nac onboarding


Check if the device matches any FortiNAC policy:

diagnose switch-controller mac-device nac known
diagnose switch-controller nac-tag get


Check dynamic firewall addresses (FortiNAC populates these):

diagnose firewall dynamic list
diagnose firewall dynamic address


Check configuration synchronization and connection info on FortiGate:

execute switch-controller get-conn-status    
execute switch-controller get-sync-status all  


Note:
The FortiNAC feature was designed for untagged traffic only. This is for security purposes to avoid any devices getting access to the network. It was enforced in the v7.4.x release.

    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!