Fortinet white logo
Fortinet white logo

CLI Reference

fmupdate

fmupdate

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

Syntax

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

execute fmupdate {fgd-db-merge | ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password> [base64 | delta]

execute fmupdate {fgd-db-merge | ftp | scp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password> [base64 | delta]

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

Variables

Description

{fgd-db-merge | ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp. Select fgd-db-merge to merge the FortiGuard database immediately.

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

    • som = som.dat default download list

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

    • som = som.dat default download list

<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

[base64 | delta]

Optionally, export in base64 format or include delta object.

fmupdate

fmupdate

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

Syntax

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

execute fmupdate {fgd-db-merge | ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password> [base64 | delta]

execute fmupdate {fgd-db-merge | ftp | scp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password> [base64 | delta]

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

Variables

Description

{fgd-db-merge | ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp. Select fgd-db-merge to merge the FortiGuard database immediately.

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

    • som = som.dat default download list

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

    • som = som.dat default download list

<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

[base64 | delta]

Optionally, export in base64 format or include delta object.