Fortinet black logo

CLI Reference

fmupdate

fmupdate

Import or export packages using the FTP, SCP, or TFTP servers.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password>

execute fmupdate fgd-db-merge {as | av | av2 | fq | iot | wf}

Variables

Description

{ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp.

fds-export

Export the AV-IPS package to the FTP server.

fgd-db-merge {as | av | av2 | fq | iot | wf}

Merge FortiGuard database immediately. Select the database type.

<type>

Select the package type to export or import:

  • import:

    • package = fcp package

    • license = license package

    • custom-url = customized URL database

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

<filename>

Update manager packet file name on the server or host.

<objid>

Enter the object ID (use '-' as a separator).

<server>

Enter the FQDN or the IP address of the server.

<port>

Only available when the file transfer protocol is scp.

Enter the port to connect to on the remote SCP host (1 - 65535).

<directory>

Enter the name of the directory of the file to download from the FTP server or SCP host. If the directory name has spaces, use quotes instead.

<username>

Enter the username to log into the FTP server or SCP host

<password>

Enter the password to log into the FTP server or SCP host

fmupdate

Import or export packages using the FTP, SCP, or TFTP servers.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password>

execute fmupdate fgd-db-merge {as | av | av2 | fq | iot | wf}

Variables

Description

{ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp.

fds-export

Export the AV-IPS package to the FTP server.

fgd-db-merge {as | av | av2 | fq | iot | wf}

Merge FortiGuard database immediately. Select the database type.

<type>

Select the package type to export or import:

  • import:

    • package = fcp package

    • license = license package

    • custom-url = customized URL database

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

<filename>

Update manager packet file name on the server or host.

<objid>

Enter the object ID (use '-' as a separator).

<server>

Enter the FQDN or the IP address of the server.

<port>

Only available when the file transfer protocol is scp.

Enter the port to connect to on the remote SCP host (1 - 65535).

<directory>

Enter the name of the directory of the file to download from the FTP server or SCP host. If the directory name has spaces, use quotes instead.

<username>

Enter the username to log into the FTP server or SCP host

<password>

Enter the password to log into the FTP server or SCP host