In this example, the physical switch is set to use for static port-channel / EtherChannel and IP hash, set load balance policy using the command line interface.
Check the current vSwitch settings, run the command: esxcfg-vswitch -l esxcli network vswitch standard list
Check the current uplink, run the command: esxcli network vswitch standard list -v vSwitchX
Add an uplink with the command: esxcli network vswitch standard uplink add -u vmnic0 -v vSwitchX
Verify teamed uplinks with the command: esxcli network vswitch standard policy failover get -v vSwitchX esxcli network vswitch standard portgroup policy failover get -p "Management Network"
Set load balancing policy. The options are:
Port ID = portid
IP Hash = iphash
MAC = mac
Explicit Failover = explicit
For example: esxcli network vswitch standard policy failover set -l portid -v vSwitchX ( for Specific vSwitchX ) esxcli network vswitch standard portgroup policy failover set -l portid -p "Management Network" ( for specific Portgroup )
Restart the management service with the command: /etc/init.d/hostd restart /etc/init.d/vpxa restart
Ping the gateway to confirm connectivity: ping x.x.x.x