FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
kmody
Staff
Staff
Article Id 353964
Description

This article describes how to handle a scenario where L2 polling fails to update host information on FortiSwitches in FortiLink mode due to spaces in the switch name.

Scope All FortiNAC versions.
Solution
  1. FortiNAC and FortiSwitch in FortiLink mode require API integrations as explained in the integration doc.
  2. If there are spaces in the name of the FortiSwitch, it causes an 'Illegal Character Exception' error and the API call does not complete. This is where the FortiNAC is unable to get the L2 host information on L2 polling. The error in the FortiNAC logs can be seen below:

 

Screenshot 2024-10-29 171415.png

 

To fix the issue:

 

  1. Remove the spaces from the FortiSwitches manually from the FortiGate. This can be done via the FortiGate GUI under WiFi & Switch Controller -> Managed FortiSwitches.
  2. Character Restrictions can be set up in the FortiGate to avoid this issue using Technical Tip: Naming rules and character restrictions.