Use the CLI console to inject the licensing token into FortiGate-VM. You are not required to inject the token after you update a configuration.
You cannot download a VM license file you created in Flex-VM from FortiCloud > Assets > Manage/View Assets.
- Ensure the FortiGate-VM can connect to directregistration.fortinet.com.
exec ping directregistration.fortinet.com
- Inject the token into the virtual machine.
exec vm-license <License File Token>
This operation will reboot the system !
Do you want to continue? (y/n)
The virtual machine installs the VM license and reboots.
- Verify the token was injected into the virtual machine.
diag debug vm-print-license
After the token is injected into the virtual machine, a strikethrough appears across the License File Token in the Virtual Machine Details.