VMware Cloud Community
peter79
Enthusiast
Enthusiast

Need ESX command to change NIC assigned to the service console.

Guys,

I installed ESX 3.5 but infortunately I configured the wrong NIC for the service console. I have ILO access to the server is there a way of assigning a different NIC to the service console from the command line or do I have to do a reinstall?

0 Kudos
3 Replies
Chamon
Commander
Commander

esxcfg-vswitch -L vmnic3 vSwitch0

this will add the vmnic you want. To see your vSwitch info

esxcfg-vswitch -l

If the vmnic you want to use is attached to another vSwitch you would need to unlink it first with the -U switch

just replace the correct vmnic and vswitch name

Message was edited by: Chamon

Chuck8773
Hot Shot
Hot Shot

esxcfg-vswitch -L nic1 vSwitch0

Replace the nic1and vSwitch0 with what it is in your environment.

You may also need to run this.

esxcfg-vswitch -M nic1 -p Service\ Console vSwitch0

This should work.

Charles Killmer, VCP

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

Charles Killmer, VCP4 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
greinerr
Contributor
Contributor

This worked for me as well.

I work with my hosts remotely and without much hands on assistance. These commands helped...

esxcfg-vswtich -l (lists vswtich information)

esxcfg-vswtich -L vmnic? vswtich? (link different NIC to vswtich)

esxcfg-vswtich -U vmnic? vswtich? (unlink NIC to vswitch)

Thanks

Rich

0 Kudos