Enabling Jumbo Frames for all portgroups or ports You can configure the MTU value of a vDS switch so that all portgroups and ports use Jumbo Frames. Note: Any new ports created after adjusting the setting use Jumbo Frames. Existing ports are not affected. To configure Jumbo Frames on a vDS using vSphere Client on vCenter 5.1 and earlier: From vCenter Server click, click Home > Inventory > Networking. Right-click the vDS and choose Edit Settings. On the Properties tab, select the Advanced option. Change the Maximum MTU value from the default value of 1500 to 9000. This enables Jumbo Frames on all portgroups and ports. To configure Jumbo Frames on a vDS in vSphere Web Client for vCenter 5.1 and vCenter 5.5: Browse to a distributed switch in the vSphere Web Client navigator. Click the Manage tab, and click Settings > Properties. Click Edit. Click Advanced and set the MTU property to a value greater than 1500 bytes. Note: You cannot set the MTU size to a value greater than 9000 bytes. Click OK. Enabling Jumbo Frames on a VMkernel port from the vCenter server To enable Jumbo Frames on a VMkernel port from vCenter Server 5.1 and earlier: Click Home > Hosts and Clusters > Host > Configuration > Networking. Navigate to the vSphere Distributed Switch tab. Click the VMkernel port (eg: vmk1) Click Manage Virtual Adapters. Select the vmk interface and click Edit. Under the NIC settings, change the MTU value to 9000. Click OK. To enable Jumbo Frames on a VMkernel port using vSphere Web Client in vCenter 5.1 and vCenter 5.5: In the vSphere Web Client, navigate to the host. Under Manage, select Networking and then select VMkernel adapters. Select a VMkernel adapter from the adapter table. The properties of the adapter appear. Click the name of the VMkernel adapter. Click Edit. Select NIC settings and set the MTU property to a value greater than 1500. Note: You can increase the MTU size up to 9000 bytes. Click OK. Enabling Jumbo Frames on a VMkernel port in ESX/ESXi 4.1 and ESXi 5.x from SSH/console: If you have existing VMkernel ports and you want to enable Jumbo Frames on them from SSH, follow instructions below. This example shows how to enable Jumbo frames on VMkernel port vmk1 in a vDS called NewLAN-DVS: Get the vDS name and DVPortID for the VMkernel port with the command: # esxcfg-vswitch -l The output looks similar to (truncated for readability): DVS Name Num Ports Used Ports Configured Ports MTU Uplinks NewLAN-DVS 256 23 256 1500 vmnic3,vmnic2,vmnic15 DVPort IDIn UseClient 115 1 vmk1 Get network information (IP, Netmask, and PG/DV port name) for the VMkernel port with the command: # esxcfg-vmknic -l The output looks similar to (truncated for readability): Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSSEnabled Type vmk1 115 IPv4 172.32.10.71 255.255.255.0 172.32.10.255 00:50:56:7d:ee:1e 1500 65535 true STATIC Note: You see this output if Jumbo Frames is not enabled because the MTU is set to 1500. Run this command to change the MTU size for the individual port group: # esxcfg-vmknic -m 9000 -v-s For example: # esxcfg-vmknic -m 9000 -v 115 -s "NewLAN-DVS" Confirm that VMkernel port vmk1 is configured with Jumbo Frames enabled, run the command: # esxcfg-vmknic -l The output looks similar to: Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSSEnabled Type vmk1 115 IPv4 172.32.10.71 255.255.255.0 172.32.10.255 00:50:56:7d:ee:1e 9000 65535 true STATIC Enabling Jumbo Frames on a VMkernel port in ESX/EXi 4.0 from SSH/console: You can only enable Jumbo Frames on VMkernel ports when they are being created. If the vDS does not have Jumbo Frames enabled, you can only configure this setting for a VMkernel port from a console or SSH/Putty session. If you have existing VMkernel ports and you want to enable Jumbo Frames on them, you have to delete and recreate them. This example shows how to delete the VMkernel port vmk1 in a vDS called NewLAN-DVS and recreate it with Jumbo Frames support enabled: Get the vDS name and DVPortID for the VMkernel port with the command: # esxcfg-vswitch -l The output looks similar to (truncated for readability): DVS Name Num Ports Used Ports Configured Ports MTU Uplinks NewLAN-DVS 256 23 256 1500 vmnic3,vmnic2,vmnic15 DVPort IDIn UseClient 115 1 vmk1 Get network information (IP, Netmask, and PG/DV port name) for the VMkernel port with the command: # esxcfg-vmknic -l The output looks similar to (truncated for readability): Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSSEnabled Type vmk1 115 IPv4 172.32.10.71 255.255.255.0 172.32.10.255 00:50:56:7d:ee:1e 1500 65535 true STATIC Note: You see this output if Jumbo Frames is not enabled because the MTU is set to 1500. Delete the VMkernel port for vmk1 with the command: # esxcfg-vmknic -d -s -v To delete VMkernel port vmk1 that is defined in the output in step 2, run the command: # esxcfg-vmknic -d -s "NewLAN-DVS" -v 115 115 Note: In the example above, the DVPort Name is named as 115. Create the new VMkernel port for vmk1 with Jumbo Frames (MTU 9000) with the command: # esxcfg-vmknic -a -i -n -m 9000 - s -v To recreate vmk1 with the same configuration and Jumbo Frames enabled, run the command: # esxcfg-vmknic -a -i 172.32.10.71 -n 255.255.255.0 -m 9000 -s "NewLAN-DVS" -v 115 115 Confirm that VMkernel port vmk1 is configured with Jumbo Frames enabled, run the command: # esxcfg-vmknic -l The output looks similar to: Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSSEnabled Type vmk1 115 IPv4 172.32.10.71 255.255.255.0 172.32.10.255 00:50:56:7d:ee:1e 9000 65535 true STATIC
Wednesday, May 21, 2014
vmware esxi 5.0 jumbo frames conf
just because i got really really mad.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment