The resource cpu weight command assigns CPU weight to a virtual system (VS).
The undo resource cpu weight command restores the default CPU weight of a VS.
By default, CPU weight values assigned to Admin-VS and other VSs are 10 and 5 respectively.
resource cpu weight resValue
undo resource cpu weight
Specifies CPU weight.
The value is an integer ranging from 1 to 10.
Resource template view of admin
3: Management level
Usage Scenario
To assign CPU weight to a VS, run the resource cpu weight command.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] admin [~HUAWEI-admin] virtual-system vs1 [*HUAWEI-admin-vs:vs1] port-mode port [*HUAWEI-admin-vs:vs1] resource cpu weight 1