Fortinet white logo
Fortinet white logo

Inject a FortiFlex license with the CLI

Inject a FortiFlex license with the CLI

For general virtual machine targets, such as FortiGate VM, the token can be inject with the execute vm-license command.

To inject a FortiFlex license with the FortiFlex CLI:

To inject a FortiFlex license into a VM instance with the CLI:

execute vm-license <license_token>

Example:

exec vm-license 58923569A3FFB7F46879

To inject a FortiFlex license via web proxy:

execute vm-license <license_token> <proxy>

The following are examples of the syntax for <proxy>:

http://user:password@proxyip:proxyport

user:password@proxyip:proxyport

The following shows examples for each command:

exec vm-license 58923569A3FFB7F46879 http://qa:123456@10.1.100.74:8080

exec vm-license 95D87F50C075C6F20EE7 hazel:123456@10.1.100.74:8080

Inject a FortiFlex license with the CLI

Inject a FortiFlex license with the CLI

For general virtual machine targets, such as FortiGate VM, the token can be inject with the execute vm-license command.

To inject a FortiFlex license with the FortiFlex CLI:

To inject a FortiFlex license into a VM instance with the CLI:

execute vm-license <license_token>

Example:

exec vm-license 58923569A3FFB7F46879

To inject a FortiFlex license via web proxy:

execute vm-license <license_token> <proxy>

The following are examples of the syntax for <proxy>:

http://user:password@proxyip:proxyport

user:password@proxyip:proxyport

The following shows examples for each command:

exec vm-license 58923569A3FFB7F46879 http://qa:123456@10.1.100.74:8080

exec vm-license 95D87F50C075C6F20EE7 hazel:123456@10.1.100.74:8080