Fortinet white logo
Fortinet white 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>

Variables

Description

{ftp | scp | tftp}

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

<type>

Select the type of file to export or import. The following options are available: av-ips, fct-av, url, spam, file-query, license-fgt, license-fct, custom-url, or domp.

<remote_file>

Update manager packet file name on the server or host.

<ip>

Enter the FQDN or the IP address of the server.

<port>

Enter the port to connect to on the remote SCP host. Range: 1 to 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 FortiManager hardware 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>

Variables

Description

{ftp | scp | tftp}

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

<type>

Select the type of file to export or import. The following options are available: av-ips, fct-av, url, spam, file-query, license-fgt, license-fct, custom-url, or domp.

<remote_file>

Update manager packet file name on the server or host.

<ip>

Enter the FQDN or the IP address of the server.

<port>

Enter the port to connect to on the remote SCP host. Range: 1 to 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 FortiManager hardware 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.