VMware Cloud Community
VBarak
Enthusiast
Enthusiast

VI3 Network Config Using Service Console Commands

hey,

i had a problem latly with managing nics in my VI environment,

when i add a nic to an existing vSwitch, using vmnics -L option, it adds to the network teaming as an "Unused NIC". I cant find a way, using the service console command, to move it to the used NICS. The only way i managed to di that is through the VC, just choosing the problematic NIC and pressing "Move Up" botton in the NIC TEAMING tab,

i would use any help you can give me on this subject,

all other information on advanced scripting to the service console will be gladly recieved,

thanks,

barak

0 Kudos
4 Replies
ZMkenzie
Enthusiast
Enthusiast

You can try editing /etc/vmware/esx.conf or you can give a look to vmware sdk. With soap you can do everything virtualcenter does since also vc uses soap calls. Hope this helps.

0 Kudos
VBarak
Enthusiast
Enthusiast

but the configuration is in the vSwitch level and not at the ESX level, thus i dont believe the anwer lies there,

any other ideas on how to make the NIC used in the default teaming?

10x

0 Kudos
admin
Immortal
Immortal

Hi,

You can do this from the service console using vimsh.

Check out this whitepaper, specifically pages 7 and 8.

http://www.xtravirt.com/index.php?option=com_remository&Itemid=75&func=fileinfo&id=6

0 Kudos
peetz
Leadership
Leadership

Hi,

this can be done using the vimsh-command.

The answer is in the Xtravirt white paper Scripting Advanced Network Configuration with vimsh[/url].

\- Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
0 Kudos