{"id":5725,"date":"2016-04-25T14:56:29","date_gmt":"2016-04-25T06:56:29","guid":{"rendered":"http:\/\/rmohan.com\/?p=5725"},"modified":"2016-04-25T14:56:42","modified_gmt":"2016-04-25T06:56:42","slug":"lacp-sr-iov-elastic-ports","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5725","title":{"rendered":"LACP, SR-IOV, Elastic Ports"},"content":{"rendered":"<p>LACP, SR-IOV, Elastic Ports<\/p>\n<p>including LACP support, SR-IOV, Elastic Ports, BPDU Filters, and new Scalability. All of the technology presented here has been verified and \u201ctinkered with\u201d in the Wahl Network lab on VMware ESXi 5.1.0 build 613838 (beta).<\/p>\n<p>This deep dive series will go into all of the awesome goodies that are baked into the newly released vSphere Distributed Switch (vDS) in version 5.1. I\u2019ve broken the posts up into 4 different parts so that you can sample them at your leisure without having to run through a 40 mile long post. Here are the links to the entire series:<\/p>\n<p>    New 5.1 Distributed Switch Features Part 1 \u2013 Network Health Check<br \/>\n    New 5.1 Distributed Switch Features Part 2 \u2013 Configuration Backups and Rollbacks<br \/>\n    New 5.1 Distributed Switch Features Part 3 \u2013 Port Mirror and NetFlow Enhancements<br \/>\n    New 5.1 Distributed Switch Features Part 4 \u2013 LACP, SR-IOV, Elastic Ports, and More<\/p>\n<p>Without further ado, let\u2019s get started.<br \/>\nLACP<\/p>\n<p>Tired of using static mode EtherChannels for link aggregation? Good, me too. Fortunately, that\u2019s over with now that the new vDS 5.1 supports LACP (mode active) port channels! I\u2019ve written on LACP before, and the current process was to use a Nexus 1000v if LACP was required, because the vSphere side of the equation simply did not participate in LACP. Although the load balance piece remains the same, LACP has a few advantages in the way it handles link failures and cabling mistakes.<br \/>\nSR-IOV<\/p>\n<p>Single Root IO Virtualization (SR-IOV) has received some attention in the past by big named bloggers, but is now getting the spotlight it deserves. For those who have worked with CNA cards, HP\u2019s Virtual Connect, or Cisco\u2019s Palo card, this will be old hat. It gives you the ability to divide up a PCI express card into multiple logical devices to the VMs. The big winner here is the hypervisor, as the ability to pass through a card to multiple VMs can result in lower latency and overhead (CPU) because the card is doing the work. It also means that you can pass thru a single card to multiple VMs, rather than today where the card is locked to a single VM.<\/p>\n<p>There are still many caveats. Per VMware:<\/p>\n<p>    vSphere vMotion, vSphere FT, and vSphere HA features are not available to the customers when this [SR-IOV] feature is selected.<\/p>\n<p>Elastic Ports<\/p>\n<p>Not a new feature in vDS 5.1, but one that has been properly exposed in the GUI. When using static binding, you now have the option to set the ports allocation method to \u201cElastic\u201d as shown below.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/04\/elastic-ports.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2016\/04\/elastic-ports.png\" alt=\"elastic-ports\" width=\"489\" height=\"214\" class=\"aligncenter size-full wp-image-5726\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2016\/04\/elastic-ports.png 489w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/04\/elastic-ports-300x131.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/04\/elastic-ports-150x66.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2016\/04\/elastic-ports-400x175.png 400w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/a><\/p>\n<p>f ports are exhausted on the port group, the vDS will automatically expand the port allocation pool to accommodate the required dvport. When the port is no longer needed, the port will be eliminated down to the size set at time of creation. From my lab tests, it seems Elastic is the default selected port allocation option. For those who were setting this value using PowerCLI back in vDS 5.0 days, all you have to do is toggle this drop down box and be done with it. I\u2019d imagine that this further takes the wind out of the sails of ephemeral port binding.<br \/>\nBDPU Filters<\/p>\n<p>All network engineers worth their salt will enable portfast and BPDU Guard on a switch port headed to an ESXi host. This is because there\u2019s no way to loop a vSphere switch \u2013 they don\u2019t connect to each other \u2013 so there\u2019s no need to worry about spanning tree causing a loop. However, the issue is that this does allow for a potential denial of service attack in the form of a VM that sends out BPDU packets and errdisables the switch ports. In a vSwitch team, this could cause all of the uplinks to shut down as the host continues to migrate the VMs from one active uplink to another.<\/p>\n<p>Thanks to an enhancement, vDS 5.1 allows you to filter BPDU packets from the vSwitch side of the equation.<br \/>\nScalability<\/p>\n<p>And saving the \u201cbig new numbers\u201d part for last, here\u2019s some of the new scalability numbers that will be released with vDS 5.1:<\/p>\n<p>    Static dvPortgroups goes up from 5,000 to 10,000<br \/>\n     Number of dvports goes up from 20,000 to 60,000<br \/>\n    Number of Hosts per VDS goes up from 350 to 500<br \/>\n    Number of VDS supported on a VC goes up from 32 to 128<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LACP, SR-IOV, Elastic Ports<\/p>\n<p>including LACP support, SR-IOV, Elastic Ports, BPDU Filters, and new Scalability. All of the technology presented here has been verified and \u201ctinkered with\u201d in the Wahl Network lab on VMware ESXi 5.1.0 build 613838 (beta).<\/p>\n<p>This deep dive series will go into all of the awesome goodies that are baked into [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5725"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5725"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5725\/revisions"}],"predecessor-version":[{"id":5727,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5725\/revisions\/5727"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}