VMware Cloud Community
jerome27
Contributor
Contributor

Command for the uplink of the nic

Anyone who could help me to give the command on how to uplink a nic..thanks in advance!:D

0 Kudos
6 Replies
jayolsen
Expert
Expert

If you mean to link a physical nic to a virtual switch the command is

esxcfg-vswitch --link=nic# vSwitch#

where # is the number of your pnic (vmnic0,vmnic1, etc.) and number of your vswitch you wish to link with.

0 Kudos
Steve_Mc
Hot Shot
Hot Shot

Try this:

Ex: to link vmnic1 to vswitch0

esxcfg-vswitch –L vmnic1 vSwitch0

Steve

0 Kudos
jerome27
Contributor
Contributor

Thanks guys for answering my questions..

Here's the problem that I'd encountered..

Name PCI Driver Link Speed Duplex Description

vmnic0 03:00:00 bnx2 Up 100Mbps Half Broadcom..

vmnic1 05:00:00 bnx2 down 100Mbps Half Broadcom..

vmnic2 0b:00:00 e1000 down 100Mbps Half Intel...

vmnic3 0b:00:01 e1000 down 100Mbps Half Intel...

how can I make it up the 3 links..

thanks!

0 Kudos
Dave_Mishchenko
Immortal
Immortal

If the link is down it will usually indicate a network issue and could be something as simple as the NIC ports not being plugged in. I would first check the cabling for these ports. Are the network cards set to auto negotiate and is the same true about the switch they are connected to? If you plug vmnic1 into the switch port where vmnic0 is currently plugged into, does that change the link status for vmnic1?

0 Kudos
jerome27
Contributor
Contributor

Hi dave! thanks for the reply..there's a problem with my cables.Now its already ok.

Thanks again!

0 Kudos
Steve_Mc
Hot Shot
Hot Shot

Jerome, if you find answers helpful please reward points. Smiley Happy

Steve

0 Kudos