net-dvs_-l
port #####:
com.vmware.common.port.portgroupid = dvportgroup-##### , propType = CONFIG
com.vmware.common.port.block = false , propType = CONFIG
com.vmware.etherswitch.port.vlan = VLAN ###
com.vmware.common.port.volatile.status = inUse linkUp portID=######## propType = RUNTIME
port #####:
com.vmware.common.port.portgroupid = dvportgroup-###### , propType = CONFIG
com.vmware.common.port.block = false , propType = CONFIG
com.vmware.etherswitch.port.vlan = VLAN ####
com.vmware.common.port.volatile.status = inUse linkUp portID=######## propType = RUNTIME
VMware NSX-T Data Center
VMware NSX
VMware NSX Data Center for vSphere
VMware vSphere ESXi
Option #1: Disconnect and reconnect the ESXi host from VC
Option #2: Re-configure the problematic VMs to a different port group and then reconfigure it back to the original port group
net-dvs -l | egrep "^switch|port .*:$|com.vmware.common.port.volatile.status|com.vmware.etherswitch.port.vlan =" | grep com.vmware.etherswitch.port.vlan -A 1 -B 1 | grep portID | cut -d "=" -f3 | cut -d " " -f 1