EasyManua.ls Logo

H3C MSR 810 - Set Memory VM; Set Sriov

H3C MSR 810
69 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
25
set memory vm
Use set memory vm to allocate memory to a VM.
Syntax
set memory vm vm-name size size
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
size size: Sets the size of the VM memory, in KB. The value range for the size argument
depends on the memory size of the device.
Usage guidelines
To ensure that a VM can operate, make sure the VM is allocated a minimum of 512 MB of memory.
If you use this command on a running VM, you must restart the VM for the configuration to take effect.
If you use this command on a stopped VM, the configuration takes effect after you start the VM.
Examples
# Allocate 1048576 KB of memory to VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] set memory vm centos7 size 1048576
set sriov
Use set sriov to specify the VLAN to which a VF interface belongs.
Use
undo set sriov to remove a VF interface from a VLAN.
Syntax
set sriov pf pfid vf vfid vlan vlan-id
undo set sriov pf pfid vf vfid
vlan vlan-id
Views
VMM view
Predefined user roles
network-admin
Parameters
pf pfid: Specifies a physical SR-IOV NIC by its PF ID. The value for the pfid argument is 0.
vf vfid: Specifies a vNIC by its VF ID. The value range for the vfid argument is 0 to 7.
vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
Usage guidelines
Make sure the physical NIC network mode is SR-IOV share.

Related product manuals