VMware Cloud Community
bretti
Expert
Expert
Jump to solution

How To Configure vSwitch Load Balancing Policy Via Command Line

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Have a look there : (page 20)

Thanks again xtravirt!

View solution in original post

Reply
0 Kudos
3 Replies
admin
Immortal
Immortal
Jump to solution

Have a look there : (page 20)

Thanks again xtravirt!

Reply
0 Kudos
kukacz
Enthusiast
Enthusiast
Jump to solution

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
Jump to solution

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

Reply
0 Kudos