esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network ip interface list
esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network vswitch standard portgroup add --portgroup-name=VMkernel --vswitch-name=vSwitch0
esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network vswitch standard portgroup list
esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network ip interface add --portgroup-name=VMkernel --interface-name=vmk4
esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network ip interface ipv4 set --interface-name=vmk4 --type=static --ipv4=192.168.1.100 --netmask=255.255.255.0
esxcli --server=<vCenter hostname> --vihost=<ESXi hostname> --username=<vCenter administrative user> network vswitch standard portgroup list
No comments:
Post a Comment