You can set the port group VLAN ID with ESXCLI and with vicfg-vswitch. What to read next Setting the Port Group VLAN ID with ESXCLIYou can use esxcli network vswitch standard portgroup set to manage VLANs. Setting the Port Group VLAN ID with vicfg-vswitchYou can use vicfg-vswitch to manage VLANs. Parent topic: Setting Up vSphere Networking with vSphere Standard Switches