bretti
Expert
Expert

How To Configure vSwitch Load Balancing Policy Via Command Line

Jump to solution

Hello,

I would like to be able to configure the load balancing policy in a NIC team on a vSwitch via command line for esx 3.5. Is there such a command? I've looked all over esxcfg-vswitch and can't seem to find anything.

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal

Have a look there : (page 20)

Thanks again xtravirt!

View solution in original post

0 Kudos
3 Replies
admin
Immortal
Immortal

Have a look there : (page 20)

Thanks again xtravirt!

View solution in original post

0 Kudos
kukacz
Enthusiast
Enthusiast

Try this:

# vimsh -n -e "hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_ip vSwitch0"

If interested, you can find more complex teaming example in my blog's article Teaming NICs in ESX - configuration.

--

Lukas Kubin

bretti
Expert
Expert

Thanks guys! This is exactly what I was looking for. Smiley Happy

0 Kudos