Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Port Groups · VMware vSphere

Direct answer

A port group connects VM network adapters to a vSphere virtual switch and applies network settings to them: VLAN ID, security (promiscuous mode, MAC changes), teaming and traffic shaping. On a distributed switch, port groups are defined once for all hosts.

When to use this

Use it when configuring, checking or troubleshooting Port Groups in VMware vSphere.

First 30 seconds

1. Port groups define VLAN and policies for VM ports.

2. VMs must use port groups present on target hosts.

3. Use consistent naming.

4. Separate port groups for management, vMotion, storage, VMs.

5. Check VLAN IDs.

Operational verification

vNIC → port group (VLAN, policy) → switch

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Port-group attachment shows where a virtual adapter is connected logically, not that VLAN tagging or external forwarding succeeds.

Platform / version applicability
vmware-vsphere
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvmware-vsphere
Scope / prerequisiteUse it when configuring, checking or troubleshooting Port Groups in VMware vSphere.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

vNIC/vmk → port group policy → vSS/vDS forwarding → uplink → physical network → destination

Step 2 Common mistakes Narrow the fault
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Port group name ≠ VLAN identity.
  • VM attached to port group ≠ reachable network.
  • Inherited policy ≠ effective policy when overrides exist.
  • Identical names across hosts/vSwitches ≠ identical configuration.
Key checks
  • Get-VirtualPortGroup | ft Name,VLanId — port groups
  • Get-VM <vm> | Get-NetworkAdapter | ft Name,NetworkName,Type — VM connection
  • esxcli network vswitch standard portgroup list — host view
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

Port-group attachment shows where a virtual adapter is connected logically, not that VLAN tagging or external forwarding succeeds.

Reference

Get-VirtualPortGroup | Select Name,VLanId,VirtualSwitch
New-VirtualPortGroup -VirtualSwitch vSwitch0 -Name VM-VLAN20 -VLanId 20

Documented example, not captured output. vDS port groups: Get-VDPortgroup.

In depth

Port group policies in vSphere:

PolicyOptions
VLANNone, VLAN ID, VLAN trunking (vDS), private VLAN
SecurityPromiscuous, MAC address changes, forged transmits (reject by default on vDS)
TeamingOriginating port ID, source MAC, IP hash, load-based (vDS), explicit failover
Failover detectionLink status or beacon probing (needs 3+ uplinks)
Traffic shapingAverage/peak bandwidth, burst

Keep teaming consistent with the physical switch: IP hash requires a static EtherChannel; LACP requires a vDS LAG.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvmware-vsphere current

Authoritative/upstream documentation reviewed for bounded claims in VMware vSphere → Port Groups. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
vmware port groupvsphere port groupdistributed port groupdvportgroup
Embedded reference data

Quick lookup tables

VMware vSphere → Port Groups reference map

Fast operational boundaries and evidence limits for VMware vSphere → Port Groups.

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → Port Groups object, policy or configuration is presentConfigured state does not prove effective runtime behavior
Runtime/control planeRelevant vCenter/ESXi object, service or task state matches the intended conditionManagement state does not prove storage/network/guest outcome
Dependency/data pathRequired compute, storage, network, device and guest dependencies are healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after observation or changeRequired for end-to-end closure
Confirmation

Confirm action

Continue?