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.
scitlak
Staff
Staff
Article Id 281081
Description

This article describes how to import some data to the FortiNAC-F directory by importing a Certificate via CLI or upgrading the FortiNAC-F via CLI. 
Similarly, it is necessary to export some data from FortiNAC-F, for example, when it takes a Packet Sniffing with Tcpdump.

Scope FortiNAC-F 7.2 and above.
Solution
  1.  Importing some data to the FortiNAC-F.

After installing a TFTP server on a host that is reachable by FortiNAC-F with port 69, it is possible to execute the below command on FortiNAC-F CLI in order to import a file from the TFTP server. It is necessary to execute the command if the user is/home/admin directory:

 

execute enter-shell

tftp -gr <filename> <TFTP Server IP>:69

 

File Importing example:

 

tftp-import.png

 

  1. Exporting some data from the FortiNAC-F.

As explained above,  a TFTP server that is reachable by FortiNAC-F is necessary. It is possible to execute the below command in order to export a file from FortiNAC-F to the TFTP server:

 

execute enter-shell

tftp <TFTP Server IP> 69 -m binary -c put <filename>

 

File Exporting example:

 

exporting-tftp.png