Fortinet black logo

CLI Reference

fmupdate

fmupdate

Import or export packages using the FTP, SCP, or FTFP servers, and import database files from a CD-ROM.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <remote_file> <ip> <port> <remote_path> <user> <password>

execute fmupdate {ftp | scp | tftp} export <type> <remote_file> <ip> <port> <remote_path> <user> <password>

execute fmupdate {ftp | tftp} fds-export <objid> <remote_file> <ip> <remote_path> <user> <password>

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.

<type>

Select the type of file to export or import:

  • import: av-ips, fct-av, url, spam, file-query, license-fgt, license-fct, custom-url, domp, or geoip.
  • export: url, spam, file-query, license-package, license-info-in-xml, custom-url, domp, or geoip.

<remote_file>

Update manager packet file name on the server or host.

<objid>

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

<ip>

Enter the FQDN or the IP address of the server.

<port>

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

<remote_path>

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.

<user>

Enter the user name to log into the FTP server or SCP host

<password>

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

fmupdate cdrom

Import database files from a CD-ROM. The CD-ROM must be mounted first.

This command is only available on FortiAnalyzer models that have CD-ROM drives.

Syntax

execute fmupdate cdrom import <type> <string>

execute fmupdate cdrom list <folder>

execute fmupdate cdrom mount

execute fmupdate cdrom unmount

Variables

Description

import

Import database files.

<type>

Set the packet type: url, spam, or file-query.

<string>

The FortiGuard packet file name on the CD TFTP driver.

list

List the packets in a specific folder.

<folder>

The name of the folder to list.

mount

Mount the CD-ROM.

unmount

Unmount the CD-ROM.

fmupdate

fmupdate

Import or export packages using the FTP, SCP, or FTFP servers, and import database files from a CD-ROM.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <remote_file> <ip> <port> <remote_path> <user> <password>

execute fmupdate {ftp | scp | tftp} export <type> <remote_file> <ip> <port> <remote_path> <user> <password>

execute fmupdate {ftp | tftp} fds-export <objid> <remote_file> <ip> <remote_path> <user> <password>

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.

<type>

Select the type of file to export or import:

  • import: av-ips, fct-av, url, spam, file-query, license-fgt, license-fct, custom-url, domp, or geoip.
  • export: url, spam, file-query, license-package, license-info-in-xml, custom-url, domp, or geoip.

<remote_file>

Update manager packet file name on the server or host.

<objid>

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

<ip>

Enter the FQDN or the IP address of the server.

<port>

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

<remote_path>

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.

<user>

Enter the user name to log into the FTP server or SCP host

<password>

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

fmupdate cdrom

Import database files from a CD-ROM. The CD-ROM must be mounted first.

This command is only available on FortiAnalyzer models that have CD-ROM drives.

Syntax

execute fmupdate cdrom import <type> <string>

execute fmupdate cdrom list <folder>

execute fmupdate cdrom mount

execute fmupdate cdrom unmount

Variables

Description

import

Import database files.

<type>

Set the packet type: url, spam, or file-query.

<string>

The FortiGuard packet file name on the CD TFTP driver.

list

List the packets in a specific folder.

<folder>

The name of the folder to list.

mount

Mount the CD-ROM.

unmount

Unmount the CD-ROM.