request vmhost mode
Syntax
request vmhost mode [compute | hybrid | throughput | mode-name]
Description
Select the operational mode of the device from a pre-defined list of modes (compute, hybrid, or throughput) or specify a mode-name for a custom mode.
Starting from Junos OS Release 19.3R1, if the same physical CPU is used for both VNFs and the Junos OS or device components, the request to change the mode fails and an error message is displayed. For example:
root> request vmhost mode throughput error: Mode cannot be changed; Reason: Reserved CPUs conflict with VNF cpu pinnings: 3
When you upgrade the software image that has a VNF CPU conflict to Junos OS Release 19.3R1 by using the CLI upgrade option, the upgrade succeeds and the VNF configuration is applied. The VNF CPU conflict is reported by JDM only if you issue a
commit
command. You must modify the VNF configurations accordingly.
Required Privilege Level
maintenance
Sample Output
request vmhost mode compute
user@host> request vmhost mode compute warning: Device will be rebooted to change the mode from hybrid to compute Do you want to continue? [yes,no] (no)
Release Information
The request vmhost mode
command is introduced in Junos OS Release 19.1R1.
The request vmhost mode mode-name
command is
introduced in Junos OS Release 21.1R1 for NFX250 NextGen and NFX350 devices.