#add nic to vswitch esxcli network vswitch standard uplink add --vswitch-name=vSwitch0 --uplink-name=vmnic1 #add portgroup to vswitch esxcli network vswitch standard portgroup add -v vSwitch0 -p VLAN-210 esxcli network vswitch standard portgroup set -v 210 -p VLAN-210 #Check network
esxcli network vswitch standard list #Enable a VirtualNic to be used as the vMotion NIC: vim-cmd hostsvc/vmotion/vnic_set vmk0 #Check vSwitch vMotion configuration: vim-cmd hostsvc/vmotion/netconfig_get | grep selectedVnic #rename datastore vim-cmd hostsvc/datastore/rename datastore1 datastore-100
#Check datastore
vim-cmd hostsvc/datastore/listsummary
标签:初始化,network,ESXI,hostsvc,standard,add,vswitch,datastore,VMWARE From: https://www.cnblogs.com/d9394/p/17451268.html