FortiNAC-F
FortiNAC-F is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks. For legacy FortiNAC articles prior to FortiNAC-F 7.2, see FortiNAC.
FortiElie
Staff
Staff
Article Id 271120
Description This article describes how to add a license to FortiNAC-F 7.* from the CLI when the GUI is not reachable.
Scope FortiNAC-F 7.x.
Solution

Verify that the GUI is not accessible because the license has expired:

 

get system status
Version: FortiNAC-HyperV v7.2.8,build0149,241111 (GA)
Serial-Number: FNVXCATM2000000
License Status: Unlicensed
License Expiration Date: Fri Jan 03 10:15:03 2025
Hostname: fnac
Release Version Information: GA
System Time: Fri Jan 03 15:52:27 2025

 

Download the new license file from the support portal, refer to License Upgrade Guide - FortiNAC-OS.

The license content can be open with a text editor and pasted in FortiNAC CLI by issuing the following command:

execute license add <license file contents>

 

For example:


execute license add FNC:KEg.....E/kg==

license.PNG

 

Note: It will include multiple lines of content approximately 40 lines depending on the emulator resolution. Make sure to copy all the content of the file and in the end press Enter.

 

It is also possible to import the license from an external TFTP server, by using the following command:


execute license import tftp <license-filepath> <remote-host>


For example, assuming the license is in the root directory of the TFTP server:


exec license import tftp FNVXxyz.lic 10.48.48.123

 

tftp.PNG

 

After applying the new license stop/start the NAC application and verify the license again:

 

execute service stop nacapplication
execute service start nacapplication
get system status
Version: FortiNAC-HyperV v7.2.8,build0149,241111 (GA)
Serial-Number: FNVMCATM2000000
License Status: Valid
License Expiration Date: Sat Jan 03 15:56:23 2026
Hostname: fnac
Release Version Information: GA
System Time: Fri Jan 03 16:15:20 2025

 

The GUI should be available after 10 to 15 minutes.