Fortinet white logo
Fortinet white logo

CLI Reference

vm

vm

Every FortiMail-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 a purchased license and activate the VM:

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

  • Use FortiFlex 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 <file-name_str> {ftp | scp | tftp}

execute vm forticare-license <token>

Variable

Description

Default

license <file-name_str> {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.

Related topics

system vm

factoryreset keeplicense

factoryreset2 keeplicense

vm

vm

Every FortiMail-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 a purchased license and activate the VM:

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

  • Use FortiFlex 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 <file-name_str> {ftp | scp | tftp}

execute vm forticare-license <token>

Variable

Description

Default

license <file-name_str> {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.

Related topics

system vm

factoryreset keeplicense

factoryreset2 keeplicense