Skip to main content
kmody
Staff
Staff
October 30, 2024

Technical Tip: L2 polling not updating FortiSwitch information

  • October 30, 2024
  • 0 replies
  • 676 views
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.