howdy folks,
it seems with esx 3.5.0 the esxcfg-vswitch -l command no longer lists the portgroups. Well, this has done and gone broken
some usefull portgroup replication scripts i have written
is there another way to pull this infomation easily on a per vswitch basis?
It still does. Here you go:
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 64 4 64 1500 vmnic0
PortGroup Name VLAN ID Used Ports Uplinks
Service Console 0 1 vmnic0
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch2 64 4 64 1500 vmnic2
PortGroup Name VLAN ID Used Ports Uplinks
VMKernel 0 1 vmnic2
sorry,
lemme re-phrase .. it no longer lists the internal portgroup ID. On 3.0.2 you had an "Internal ID" field which
is no longer listed.
Yeah...looks like VMware has removed it!!! Can't you replace the ID with 'PortGroup Name' parameter in your scripts?
i just had to change some of the regex's and it worked, for some reason i thought we were using the actual portgroup ID in the replication, but were weren't!
question closed
