Use it when configuring, checking or troubleshooting Port Groups in VMware vSphere.
Port Groups · VMware vSphere
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.
vNIC → port group (VLAN, policy) → switch
Context & applicabilityCommon mistakes · platform/version boundaries
Port-group attachment shows where a virtual adapter is connected logically, not that VLAN tagging or external forwarding succeeds.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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
- VLAN ID typo between hosts.
- Security settings differing between hosts (standard vSwitch).
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.
- 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.
Get-VirtualPortGroup | ft Name,VLanId— port groupsGet-VM <vm> | Get-NetworkAdapter | ft Name,NetworkName,Type— VM connectionesxcli 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:
| Policy | Options |
|---|---|
| VLAN | None, VLAN ID, VLAN trunking (vDS), private VLAN |
| Security | Promiscuous, MAC address changes, forged transmits (reject by default on vDS) |
| Teaming | Originating port ID, source MAC, IP hash, load-based (vDS), explicit failover |
| Failover detection | Link status or beacon probing (needs 3+ uplinks) |
| Traffic shaping | Average/peak bandwidth, burst |
Keep teaming consistent with the physical switch: IP hash requires a static EtherChannel; LACP requires a vDS LAG.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
VMware vSphere → Port Groups reference map
Fast operational boundaries and evidence limits for VMware vSphere → Port Groups.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Inventory/config | Expected VMware vSphere → Port Groups object, policy or configuration is present | Configured state does not prove effective runtime behavior |
| Runtime/control plane | Relevant vCenter/ESXi object, service or task state matches the intended condition | Management state does not prove storage/network/guest outcome |
| Dependency/data path | Required compute, storage, network, device and guest dependencies are healthy | Local success does not prove the next boundary |
| Acceptance | Original guest/application test succeeds after observation or change | Required for end-to-end closure |