Setting MTU with ESXCLI

You can change MTU settings by using ESXCLI.
If you want to change the MTU used for your iSCSI storage, you must make the change in two places.
  • Run
    esxcli network vswitch standard set
    to change the MTU of the virtual switch.
  • Run
    esxcli network ip interface set
    to change the MTU of the network interface.