Cisco, Networking: VMware Cisco Nexus 1000v Increasing Default Max Ports
Earlier today we ran into an issue with exceeding the default max number of ports (virtual) on a port profile. The default is set to 32 and the max is 1024 per vethernet port profile. I really can’t believe how low the default setting is. Most VMware people I know consolidate waaayyyy more than 32 host per datacenter.
Below shows the error in VMware Virtual Center.

Here is the profile “iSCSI” before modification. Note the max 32 and available count.

The only way to increase this value is through command line in the active Nexus 1000v.
nexus01# configure t nexus01(config)# port-profile type vethernet iSCSI nexus01(config-port-prof)# vmware max-ports 1024 nexus01(config-port-prof)# end
Once the above command is issued, Virtual Center Client should show a reconfiguration task for the distributed virtual switch
![]()
Once the tasks is completed, go back into Home -> Inventory -> Networking and select the port profile in the distributed switch. The “total ports” should now be set to 1024.

Make sure to save your configuration!
nexus01# copy running-config startup-config
Notes: This should be non-intrussive, but make sure to test it in your environment!

Jason Nash also has a blog post on this topic.
http://jasonnash.wordpress.com/2009/10/23/out-of-ports-on-a-nexus-1000v-port-profile/
Kevin Goodman said this on May 5, 2010 at 1:20 pm
[...] up in the last couple of weeks regarding the default number of ports on a Nexus 1000V port profile: this post by Kevin Goodman and this post by Jason Nash. Fortunately, it’s a quick process to increase the default [...]
Virtualization Short Take #40 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers said this on May 18, 2010 at 8:01 am