esxcli random
esxcli network vswitch standard policy failover set --active-uplinks=vmnic0,vmnic1 -v vSwitch0
esxcli network vswitch standard portgroup add --portgroup-name=Prod-789 --vswitch-name=vSwitch0
esxcli network vswitch standard portgroup add --portgroup-name=Prod-787 --vswitch-name=vSwitch0
esxcli network vswitch standard portgroup set --portgroup-name=Prod-789 --vlan-id=789
esxcli network vswitch standard portgroup set --portgroup-name=Prod-787 --vlan-id=787
esxcli network vswitch standard portgroup add --portgroup-name=VMotion1 --vswitch-name=vSwitch0
esxcli network vswitch standard portgroup set --portgroup-name=VMotion1 --vlan-id=722
esxcli network ip interface add --interface-name=vmk1 --portgroup-name=VMotion1
esxcli network ip interface ipv4 set --interface-name=vmk1 --ipv4=10.232.x.x --netmask=255.255.254.0 --type=static
vim-cmd hostsvc/vmotion/vnic_set vmk1
esxcli network ip dns search add --domain=corp.test.com
esxcli network ip dns server add --server=10.196.x.x
esxcli network ip dns server add --server=10.196.x.x
vim-cmd hostsvc/enable_ssh
vim-cmd hostsvc/start_ssh
Comments
Post a Comment