Fortinet black logo

CLI Reference

add-vm-license

add-vm-license

Add a VM license to the FortiAnalyzer.

Syntax

execute add-vm-license <vm license string>

Variable

Description

<vm license string>

The VM license string.

Copy and paste the string from the license file. The license string must be enclosed with double quotes. Do not removed line breaks from the string.

Example

The contents of the license file needs to be in quotes in order for it to work.

execute add-vm-license "-----BEGIN FAZ VM LICENSE-----

QAAAAJ09s+LTe...ISJTTYPcKoDmMa6

-----END FAZ VM LICENSE-----"

This command is only available on FortiAnalyzer VM models.

add-vm-license

Add a VM license to the FortiAnalyzer.

Syntax

execute add-vm-license <vm license string>

Variable

Description

<vm license string>

The VM license string.

Copy and paste the string from the license file. The license string must be enclosed with double quotes. Do not removed line breaks from the string.

Example

The contents of the license file needs to be in quotes in order for it to work.

execute add-vm-license "-----BEGIN FAZ VM LICENSE-----

QAAAAJ09s+LTe...ISJTTYPcKoDmMa6

-----END FAZ VM LICENSE-----"

This command is only available on FortiAnalyzer VM models.