VMware Cloud Community
hack3rcon
Enthusiast
Enthusiast

Networking in vCenter.

Hello,

In the network section of the vCenter I see something like below:

VM-network.png

I want to know what are they? I want to change vCenter and should I add them in the new vCenter?

Any way to export the configuration?

Thank you.

0 Kudos
6 Replies
T180985
Expert
Expert

They're standard switch port groups and configured directly on your host(s),

PowerCLI to extract all vSwitch network info to CSV

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
0 Kudos
NathanosBlightc
Commander
Commander

They called standard Port Group that is configured in the standard vSwitch, directly inside the ESXi host and in this list, you can see number of associated Hosts and connected VMs to each of them. To export them you can do it via the following PowerCLI:

Get-VirtualPortGroup -VMHost esx1 | select Name, VirtualSwitch, VLanId | | Export-Csv C:\VMHostNetworkInfo.csv

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
scott28tt
VMware Employee
VMware Employee

Port groups for standard switches are stored at the host level, not centrally in vCenter (as would be the case with port groups in distributed switches) - so you should just be able to migrate your hosts to your new vCenter.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
hack3rcon
Enthusiast
Enthusiast

Thus, when I add the hosts to the new vCenter then all of them added automatically?

0 Kudos
daphnissov
Immortal
Immortal

0 Kudos
T180985
Expert
Expert

Exactly however if the host ever dies and needs to rebuilt, you will need to manually reconfigure them all from scratch

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
0 Kudos