Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Increasing the maximum number of vNetwork Distributed Switch (vDS) ports in vSphere (1038193)

Last Updated: 3/20/2024Categories: How toTotal Views: 34200Language:
JapaneseEnglish

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Purpose

This article provides steps to increase the maximum number of vDS ports.

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. For more information, see the VMware vSphere PowerCLI Documentation.

To change the maximum number of vDS ports, you can use this PowerCLI snippet:

$dvs = Get-VirtualSwitch -Distributed -Name DVSName | Get-View
$cfg = New-Object -TypeName VMware.Vim.DVSConfigSpec
$cfg.MaxPorts = 20000
$cfg.configVersion = $dvs.config.configVersion
$dvs.ReconfigureDvs_Task( $cfg )

Changing the maximum number of vDS ports by manually editing the configuration
To change the maximum number of vDS ports by manually editing the configuration:

Go to: http://vCenterServer-ip-address/mob/

When prompted, enter your vCenter Server username and password.

Click the content link.

In the left pane, search for the row with the word rootFolder.

Open the link in the right pane of the row. The link is similar to group-d1 (Datacenters).

In the left pane, search for the row with the word childEntity. In the right pane, you see a list of datacenter links.

Click the datacenter link where the vDS is defined.

In the left pane, search for the row with the word networkFolder, and open the link in the right pane. The link is similar to group-n123(network).

In the left pane, search for the row with the word childEntity. You see a list of vDS and distributed port group links in the right pane.

Click the vDS on which you want to change the maxPort value.

In the left pane, search for the row with the word config, and click the link in the right pane.

In the left pane, search for the row with the word configVersion. It is normally the first row.

Note the corresponding value displayed in the right pane. (The value is a number.)

Go back to the vDS page.

Click the ReconfigureDvs_Task link. A new window appears.

In the Spec text field, enter:

<spec><configVersion>value</configVersion><maxPorts>20000</maxPorts></spec>

Where value is the value you noted in step 13.

Click the Invoke Method. The changes appear similar to:

<spec>
<configVersion>7</configVersion>
<maxPorts>20000</maxPorts>
</spec>

Close the window.

Repeat Steps 9 through 13 to verify the new maxPort value.

Restart the vCenter Server service for the changes to take effect. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Changing the maximum number of vDS ports for the Cisco Nexus 1000V

For more information on configuring the number of ports using the Nexus 1000v Virtual Switch Manager (VSM), see:

Adding a virtual machine to a DVPortGroup in the vSphere Client fails with the error: No free port is available in DVportgroup PortGroupName (1035819)

Cisco Nexus 1000V Port Profile Configuration Guide, Release 4.0(4)SV1(1)

Note: The preceding link was correct as of August 7, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.

Notes:

On distributed switch version 4.x, the maximum number of ports per switch is 20000. For more information, see the Ports per distributed switch section of the vSphere 5.1 Configuration Maximums Guide, the vSphere 5.0 Configuration Maximums Guide or the vSphere 4.1 Configuration Maximums Guide.

To increase the number of ports on distributed switch version 5, see Increasing the maximum number of vNetwork Distributed Switch (vDS) ports designated for an ESXi 5.0 host (2004075).

Related Information

How to stop, start, or restart vCenter Server services
Adding a virtual machine to a DVPortGroup in the vSphere Client fails with the error: No free port is available in DVportgroup PortGroupName
Increasing the maximum number of vNetwork Distributed Switch (vDS) ports designated for an ESXi 5.0/5.1 host
vSphere の vNetwork 分散スイッチ (vDS) の最大ポート数を増やす

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
ESX/ESXi の詳細ドライバ モジュール パラメータを構成する (1017588)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.0.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

Take Our Survey

Support Assistant