EasyManua.ls Logo

H3C MSR 810 - Set Vnc VM; Set Vtap VM

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...
28
set vnc vm
Use set vnc vm to configure the VNC parameters for connecting to a VM.
Syntax
set vnc vm vm-name { vncport vncport | delpasswd | listen ip-address |
setpasswd password }
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.
vncport vncport: Sets the VNC port number, in the range of 0 to 99.
setpassword password: Sets the VNC login password. The password argument is a
case-sensitive string of 6 to 15 characters.
listen ip-address: Specifies an IP address on the device for connecting to the VM. If you
specify 0.0.0.0, any IP address on the device can be used to connect to the VM.
delpasswd: Deletes the VNC login password.
Usage guidelines
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
# Configure VNC parameters for VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] set vnc vm centos7 vncport 12
[Sysname-vmm] set vnc vm centos7 setpasswd 12344556
[Sysname-vmm] set vnc vm centos7 delpasswd
[Sysname-vmm] set vnc vm centos7 listen 172.33.3.158
set vtap vm
Use set vtap vm to specify the VLAN to which a vTap interface belongs.
Syntax
set vtap vm vm-name mac mac-address vlan vlan-id
Views
VMM view
Predefined user roles
network-admin

Related product manuals