Fortinet black logo

CLI Reference

add-vm-license

add-vm-license

Add a VM license to the FortiManager.

This command is only available on FortiManager VM models.

Syntax

execute add-vm-license <vm_license>

Variable

Description

<vm_license>

The VM license string.

Example

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

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

QAAAAJ09s+LTe...ISJTTYPcKoDmMa6

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

add-vm-license

add-vm-license

Add a VM license to the FortiManager.

This command is only available on FortiManager VM models.

Syntax

execute add-vm-license <vm_license>

Variable

Description

<vm_license>

The VM license string.

Example

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

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

QAAAAJ09s+LTe...ISJTTYPcKoDmMa6

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