How to: Enable Jumbo frames on your ISCSI network interface using PowerShell

When building an Windows Server 2012 Hyper-V environment, you want to automate some steps on all the cluster nodes. One of this steps is definitely enabling Jumbo frames on your ISCSI interface(s). You can do this on the properties of you NIC interface, but when you’re installing Hyper-V 2012 Server…YES, there’s no GUI.

The great thing is that there is something called PowerShell ;). You can configure Jumbo frames using PowerShell.

1.) Open PowerShell
2.) Generate an overview of all the Network Interfaces in your Hyper-V host
Get-NetAdapter | ft Name
In my labenvironment there are two ISCSI interfaces (ISCSI01 and ISCSI02)
3.) Show the advanced NIC properties of the ISCSI interfaces
Get-NetAdapterAdvancedProperty -name ISCSI01
Get-NetAdapterAdvancedProperty -name
ISCSI02
As you can see, Jumbo Packet is Disabled
4.) Configure the most common Jumbo Frame setting of 9014 bytes. Note that not all SAN’s supports this value.
Set-NetAdapterAdvancedProperty -Name ISCSI01 -RegistryKeyword “*JumboPacket” -Registryvalue 9014
Set-NetAdapterAdvancedProperty -Name ISCSI02 -RegistryKeyword “*JumboPacket” -Registryvalue 9014
5.) Now Jumbo frames is enabled
Get-NetAdapterAdvancedProperty -name ISCSI01
Get-NetAdapterAdvancedProperty -name
ISCSI02

JF_01    JF_02    JF_03

JF_04    JF_05    JF_06