This applies to virtual switches that have already been created.
I was trying to do this earlier this evening and found a few articles that talked about various methods to enable jumbo frame support on a vSwitch. After reading some of the ‘hacks’ that are being used, I decided to dig into PowerCLI. Amazingly enough, the solution is so simple that maybe it’ll get some of the people working with vSphere to move into PowerCLI further. Here’s the 30 second or less solution to the issue. As I wrote above, this applies for a vSwitch that’s already been created, but you can create a vSwitch with all the specifications you need from PowerCLI as well just the New-VirtualSwitch commandlet.
> $vs = Get-VirtualSwitch –name vSwitchX
> Set-VirtualSwitch –VirtualSwitch $vs –mtu 9000
> Get-VirtualSwitch –name vSwitchX
If you’re not familiar with PowerShell, get familiar with it. 🙂 It’s an excellent product and is expandable so many IT products are moving toward a PowerShell interface for its ease of use.