免責事項: これは英文の記事 「Port groups created via CLI are not visible in UI」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
esxcfg-vswitchコマンドを使用した後、コマンドライン上ではポートグループが正常に作成されたように見えるが、Host ClientやvSphere Clientにはポートグループが表示されない
# esxcfg-vswitch --add-pg=PG01 vSwitch0
# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 3920 7 128 1500 vmnic0,vmnic1
PortGroup Name VLAN ID Used Ports Uplinks
PG01 0 0 vmnic0,vmnic1
...
CLI経由でポートグループを作成するには、esxcfg-vswitchコマンドではなくesxcliコマンドを使用します。
詳細は、Configuring Standard vSwitch (vSS) or virtual Distributed Switch (vDS) from the command line in ESXi の「A standard portgroup can be created on a Standard vSwitch with this command:」の箇所を参照してください。