Fortinet white logo
Fortinet white logo

CLI Reference

vm

vm

Every Fortinet VM includes a 15-day trial license. During this time the FortiMail VM operates in evaluation mode.

Before using the FortiMail VM you must activate it by installing a valid license.

Depending how your FortiMail VM is licensed, there two ways to you can install the license and activate the VM:

  • If you get the license file from Fortinet Customer Service & Support portal upon registration, you can fetch the license file from the server where it is stored and install it.

  • Starting from v7.6.2, FortiMail supports FortiFex tokens. FortiFlex (formerly Flex-VM) is a subscription service to configure and manage VM usage entitlements. Subscribers can create multiple sets of a single VM entitlement that corresponds to a licensed virtual machine. Each entitlement contains a base VM and one service bundle. Usage entitlements require a unique token to be installed on every VM. Once the VM configurations are defined and VM entitlements are created in the FortiFlex portal, a token is also generated. For details, see the FortiFlex documentation. Then you can enter the token as described below.

Syntax

execute vm license <filename> {ftp | scp | tftp}

execute vm forticare-license <token>

Variable

Description

Default

license <filename> {ftp | scp | tftp}

Specify the license file name and the storage server IP address.

forticare-license <token>

Enter the FortiFlex token you copied from the FortiFlex portal.

vm

vm

Every Fortinet VM includes a 15-day trial license. During this time the FortiMail VM operates in evaluation mode.

Before using the FortiMail VM you must activate it by installing a valid license.

Depending how your FortiMail VM is licensed, there two ways to you can install the license and activate the VM:

  • If you get the license file from Fortinet Customer Service & Support portal upon registration, you can fetch the license file from the server where it is stored and install it.

  • Starting from v7.6.2, FortiMail supports FortiFex tokens. FortiFlex (formerly Flex-VM) is a subscription service to configure and manage VM usage entitlements. Subscribers can create multiple sets of a single VM entitlement that corresponds to a licensed virtual machine. Each entitlement contains a base VM and one service bundle. Usage entitlements require a unique token to be installed on every VM. Once the VM configurations are defined and VM entitlements are created in the FortiFlex portal, a token is also generated. For details, see the FortiFlex documentation. Then you can enter the token as described below.

Syntax

execute vm license <filename> {ftp | scp | tftp}

execute vm forticare-license <token>

Variable

Description

Default

license <filename> {ftp | scp | tftp}

Specify the license file name and the storage server IP address.

forticare-license <token>

Enter the FortiFlex token you copied from the FortiFlex portal.