When configuring Link Aggregation Groups (LAG) on a vSphere Distributed Switch, enabling the LAG in the teaming policy affects all hosts connected to the distributed switch simultaneously, not individual hosts. This results in network outages when the physical switch LACP/port-channel configuration has only been completed for a subset of hosts.
Possible symptoms observed when LAG is partially configured:
After recovering vCenter connectivity, attempting to delete the misconfigured LAG results in error:
The resource 'PC_LAG' is in use. Uplink or Link Aggregation group name PC_LAG is in use by the teaming policy defined at DVPortgroup dvpg-######
LAG configuration on a vSphere Distributed Switch is a global setting that applies to all hosts connected to the distributed switch. When the LAG is set as Active in the teaming and failover policy of distributed port groups, all hosts attempt to use the LAG configuration immediately. If the corresponding LACP/port-channel configuration has not been completed on the physical switch for all host ports, hosts without proper physical switch configuration lose network connectivity.
The distributed switch propagates the LAG configuration to all member hosts regardless of their individual physical switch readiness, causing a configuration mismatch between the virtual and physical network layers.
To properly implement LAG configuration on a vSphere Distributed Switch:
Correct Implementation Process:
Recovery from Partial Configuration:
If LAG was enabled before all physical switches were configured:
Important considerations: