You can configure the VMkernel network interface for IPv4 or for IPv6 with ESXCLI. In contrast to vicfg-vmknic, ESXCLI does not support enabling vMotion.
For IPv4, see Add and Configure an IPv4 VMkernel Network Interface with ESXCLI. For IPv6, see Add and Configure an IPv6 VMkernel Network Interface with ESXCLI.