Well, sorry on my part.
esxcfg-vswitch -U vmnicX vSwitchA and again esxcfg-vswitch -L vmnicX vSwitchA
When I said vmnicX, I meant to refer the vmnic which is under subject. Do a esxcfg-nics -l and find out which nic you are facing the issue.
Also, when I said vSwitchA or vSwitchB, I meant to say the vSwitch under subject, this you can find out by esxcfg-vswitch -l