Nexus 1000v – Out of Ports on a Virtual Switch?

Nexus 1000v – Out of Ports on a Virtual Switch?

Yesterday, work presented an interesting issue I wanted to share with everyone. While configuring a new virtual machine one of our systems engineers was presented with an issue he had never seen before, vCenter wouldn’t let him add the VM’s interface to the port-profile for VLAN 61. Instead it would pop up the following message.

While I have some experience with VMware and ESX, I am far from an expert in the field. So, I did what most any engineer would do. Asked for a screenshot of the error and fired up Google! Five minutes and 2-3 Google searches later I gave up on that and started digging through vCenter. I found my way into the networking section and opened up the summary tab for the VLAN 61 port-profile inside the 1000v. This is where found that apparently, by default, only 32 vEthernet ports are configured for each port profile. Another 30 seconds with IOSNX-OS help and I had found the solution…

text
UCS-1000v-VSM1# conf t
UCS-1000v-VSM1(config)# port-profile type vethernet VLAN61
UCS-1000v-VSM1(config-port-prof)# vmware max-ports 252
UCS-1000v-VSM1(config-port-prof)# end

As soon as you make this change vCenter picks up on it and reconfigured the port profile. You should now be able to move your VM into the port-profile without issues.

While this is a pretty simple fix, I found it rather interesting. Why use static port assignments in such a dynamic environment? As I discussed in my previous post, Introduction to the Nexus 1000v Cisco limits you to a combination of 2048 virtual and physical ports, so while assigning 252 ports to each VLAN would be nice, its far from practical, unless necessary.

comments powered by Disqus

Related Posts

Binary Metal Guitar

Binary Metal Guitar

Thank you Ed for sharing the video the led me to find this video. It's a national treasure for those of us that appreciate binary. And if you appreciate metal, or music in general …

Running JunOS under VMWare (updated – again!)

Running JunOS under VMWare (updated – again!)

Interested in trying out JunOS? Can’t afford to build a real Juniper lab? Sounds like you need some Olives. No, we’re not talking about the green fruit commonly seen in a martini …

IOS Embedded Packet Capture

IOS Embedded Packet Capture

Tired of setting up SPAN sessions? Need to do some packet analysis? Since IOS 12.4(20)T Cisco has made Embedded Packet Capture (EPC) available. EPC is a powerful troubleshooting …