Emusp
Contributor
Contributor

Inbound load-balancing issue

Hi

I try to setup load-balancing on my physical switch (cisco 3750) but there is a issue.

I base my configurations on this article:

My vSwitch for my VM network has 2 pNIC connected. They are setup to NIC teaming/failover in vSphere.

To run inbound load-balancing on the physical switch, I need to change the following in.

vSwitch -> Properies -> Edit -> NIC teaming tab -> load-balancing

From: 'Route based on the orginating virtual port ID'

To: 'Route based on ip hash.'

But when i make that change i get the following error message: (Also see attached picture of error)

A specified parameter was not correct.

Vim.Host.VirtualSwitch.LinkDiscoveryProtocolConfig

So I googled the error, and found this blog post.

He says, there missing a line in the esx.conf file.

But my question is. Is it safe to run this command?

Best regads

Casper

0 Kudos
3 Replies
rickardnobel
Champion
Champion

It seems strange and no obvious connection to your problem, but the command is safe.

It is used for enabling/disabling of CDP (a Cisco protocol for sending discovery messages between switches). The parameter in your command enables both incoming and outgoing CDP. It is good to have if using Cisco on the other end, as it simplifies the work for the network administrator.

Enable it and see if is also solves your other problem.

My VMware blog: www.rickardnobel.se
Emusp
Contributor
Contributor

Hi

Problem solved!

It worked!

After I enabled CDP on the vSwitch, I was able to change to Route based on IP hash, with no errors.

Command used was: esxcfg-vswitch -B both vSwitch0

And now I got CDP info on my vSwitches, sure it's a nice thing to have.

/Casper

0 Kudos
rickardnobel
Champion
Champion

Problem solved!

It worked!

Nice to hear. Strange of course, since these two things are not related at all.. Smiley Happy

And now I got CDP info on my vSwitches, sure it's a nice thing to have.

It is nice. From the Cisco switch you can also run:

show cdp nei

and you should be able to see from which physical switch ports your ESX is attached.

My VMware blog: www.rickardnobel.se
0 Kudos