Portgroups having a prefix "nsx.LogicalSwitch:" are created during the migration of a brownfield NSX-V environment to a new greenfield VCF environment.
Symptoms:
After a migration from V2T or from a legacy site to an new VCF, replacement port groups with the prefix "nsx.LogicalSwitch:"
appear in vCenter Network inventory.
These are temporary port groups that are created by the migration process that should automatically be removed once the migration completes.
Notice the icon is a cloud. You will not see any reference to these port groups (Segments) in the NSX manager UI under Network⇒Segments.
NSX will not have any record of these temporary port groups. They only exist within vCenter.
When objects to be removed or deleted have associations to other objects in the environment, they can not be removed or deleted. vCenter and NSX will not allow the deletion of objects without removing any object that references it. Things that can cause this issue are snapshots that have not been deleted or consolidated and templates. If snapshots or templates were created while these associations existed, then they will also contain references to resources that existed when the snapshot or template was created. The system will see these associations and block the deletion or removal process until they are addressed.
The above screenshot reveal the problematic port groups that have not been deleted. Under the Virtual Machines and VM Templates tab the resources that are attached to the port group will be seen.
Deletion of the VM and cannot be undone.
These steps must be performed for each virtual machine that was listed for the port group. Once the VMs have been removed from inventory, the port group should no longer be seen.
Re-inventory the Virtual machines
The following wizard opens
Completion of the wizard places the VM into inventory based on the answers to the wizard. The final page of the wizard is as follows
The VM will now be returned into the vCenter inventory.
These steps will be performed for every VM that was removed from inventory.
This process will done for each problematic port group with the prefix "nsx.LogicalSwitch:".
Portgroups with the "nsx.LogicalSwitch
:" prefix are non impacting. They have no impact on performance or function.