esxcfg-vswitch -l esxcli network vswitch standard list
esxcli network vswitch standard portgroup list
esxcli network vswitch standard portgroup add --portgroup-name=<Portgroup> --vswitch-name=<Switch> esxcli network vswitch standard portgroup set --portgroup-name=<Portgroup> --vlan-id=<vlan> Beispiel: esxcli network vswitch standard portgroup add --portgroup-name=mgt.company.loc_3 --vswitch-name=vSwitch0 esxcli network vswitch standard portgroup set --portgroup-name=mgt.company.loc_3 --vlan-id=3