Here is a example of using esxi command to create a virtual standard switch, and add the vMotion port group (vlan 100).
##Standard vSwitch Settings
esxcli network vswitch standard add -v vSwitch1
esxcli network vswitch standard uplink add -v vSwitch1 -u vmnic3
esxcli network vswitch standard uplink add -v vSwitch1 -u vmnic4
esxcli network vswitch standard policy failover set -v vSwitch1 -n true -f beacon -l portid -b false -a vmnic3,vmnic4
esxcli network vswitch standard policy security set -v vSwitch1 -p false -m false -f false
esxcli network vswitch standard policy shaping set -v vSwitch1 -e false
esxcli network vswitch standard portgroup add -v vSwitch1 -p VMOTION-10GB
esxcli network vswitch standard portgroup set -p VMOTION-10GB -v 100
esxcli network ip interface add -i vmk1 -p VMOTION-10GB
esxcli network ip interface ipv4 set -i vmk1 -I 192.168.x.x -N 255.255.255.0 -t static
esxcli network ip interface set -i vmk1 -e true
vim-cmd hostsvc/vmotion/vnic_set vmk1