Wednesday, February 16, 2011

Setting Jumbo Frames in vSphere from esx console


#1. Login to the ESX host via SSH

#2. Add a vSwitch
esxcfg-vswitch -a vSwitch2

#3. Set the MTU valu for the new vSwitch
esxcfg-vswitch -m 9000 vSwitch2
#4. Add PortGroup
esxcfg-vswitch -A "iSCSI" vSwitch2

#5. Add VMKernel Int.
esxcfg-vmknic -a -i 10.100.1.11 -n 255.255.255.0 -m 9000 "iSCSI"

#6. Attach vmnics
esxcfg-vswitch -L vmnic3 vSwitch2
#esxcfg-vswitch -L vmnic8 vSwitch2

 
#7. Check if all is configured ok
esxcfg-vswitch -l #should show the vSwitch's MTU is now 9000.
esxcfg-nics -l #should show the MTU for the NICs linked to that vSwitch are now set to 9000 as well
esxcfg-vmknic -l #show VMkernel NICs and should be now set to 9000 as well.

#8. Ping SAN with a package size of 9000 to see if everything Works
vmkping -s 9000 10.100.1.15

PING 10.100.1.15 (10.100.1.15): 9000 data bytes
9008 bytes from 10.100.1.15: icmp_seq=0 ttl=64 time=0.531 ms
9008 bytes from 10.100.1.15: icmp_seq=1 ttl=64 time=0.452 ms
9008 bytes from 10.100.1.15: icmp_seq=2 ttl=64 time=0.451 ms

No comments:

Post a Comment