Skip to main content
otsaggos
Staff
Staff
Oct 26, 2022 7:50 AM UTC

Technical Tip: Adding CPU to VM setting

Description This article describes how to check and add/remove CPU in a virtual setting.
Scope FortiGate.
Solution

Sometimes, there is a mismatch between the CPUs showing in the system and those appearing in the license.

 

With the below commands, one can check and adjust accordingly.

 

To check how many CPUs are used:


execute cpu show

 

To add a CPU:


execute cpu add 1

 

Before adding a CPU, it is first necessary to check how many cores the license has. For that, execute this command in the firewall CLI:

 

diagnose debug vm-print-license

Key: yes
Cert: yes
Key2: yes
Cert2: yes
Model: 01 (5)
CPU: 1 -> Number of CPU.
MEM: —
VDOM license:
permanent: 10
subscription: 0

 

In this device license, there is only one CPU, so it is not possible to add one more CPU.

 

To check the license:


diagnose debug vm-print-license


Related article:

Technical Tip: How to add CPU core in FortiGate firewall VM

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024