Increasing the maximum number of vNetwork Distributed Switch (vDS) ports in vSphere
book
Article ID: 311026
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
This article provides steps to increase the maximum number of vDS ports.
Environment
VMware vCenter Server 6.0.x
Resolution
Changing the maximum number of vDS ports by using vSphere PowerCLI
Note: The maximum number of ports for the vDS is 2147483647 for vSphere 5.x
The vSphere PowerCLI can be used to automate various virtual machine tasks. It provides an easy-to-use C# and PowerShell interface to VMware vSphere APIs.
To change the maximum number of vDS ports, you can use this PowerCLI snippet: