Create a new switch
esxcfg-vswitch -a vSwitch0
Create a new portgroup
esxcfg-vswitch -p "Service Console" vSwitch0
Assign NIC
esxcfg-vswitch –L vmnic0 vSwitch0
Assign a vswif interface and set Ip address Subnet
esxcfg-vswif –a vswif0 -p "Service Console" i XXX.XXX.XXX.XXX –n 255.255.255.0