6.0

Table Of Contents
VMware, Inc. 123
Chapter 9 Managing vSphere Networking
3 Changeuplinkadaptersettings.
esxcli <conn_options> network nic set <option>
Specifyoneofthefollowingoptions.
4 (Optional)Bringtheuplinkadapterbackup.
esxcli <conn_options> network nic up --nic-name=vmnic0
Specifying Multiple Uplinks with ESXCLI
Atanytime,oneportgroupNICarrayandacorrespondingsetofactiveuplinksexist.Whenyouchangethe
activeuplinks,youalsochangethestandbyuplinksandthenumberofactiveuplinks.
Thefollowingexampleillustrateshowactiveandstandbyuplinksareset.
1Theportgroupnicarrayis[
vmnic1,vmnic0,vmnic3,vmnic5,vmnic6,vmnic7]andactive-uplinksis
settothreeuplinks(vmnic1,vmnic0,vmnic3).Theotheruplinksarestandbyuplinks.
2Yousettheactiveuplinkstoanewset[vmnic3,vmnic5].
3Thenewuplinksoverridetheoldset.TheNICarraychanges
to[vmnic3,vmnic5,vmnic6,vmnic7].
vmnic0andvmnic1areremovedfromtheNICarrayandmax-activebecomes2.
Ifyouwanttokeepvmnic0andvmnic1inthearray,youcanmakethoseNICsstandbyuplinksinthe
commandthatchangestheactiveuplinks.
esxcli network vswitch standard portgroup policy failover set -p testPortgroup --active-uplinks
vmnic3,vmnic5 --standby-uplinks vmnic1,vmnic0,vmnic6,vmnic7
-a|--auto
Setthespeedandduplexsettingstoautonegotiate.
-D|--duplex=<str>
DuplextosetthisNICto.Acceptablevaluesarefullandhalf.
-P | --phy-address
SettheMACaddressofthedevice
-l|--message-level=<long>
Setthedrivermessagelevel.Messagelevelsandwhattheyimplydifferper
driver.
-n|--nic-name=<str>
NameoftheNICtoconfigured.Mustbeoneofthecardslistedinthenic list
command(required).
-p|--port=<str>
Selectsthedeviceport.Thefollowingdeviceportsareavailable.
auiSelectauiasthedeviceport
bncSelectbncasthedeviceport
fibreSelectmiiasthedeviceport
miiSelectmiiasthedeviceport
tpSelecttpasthedeviceport
-S|--speed=<long>
SpeedtosetthisNICto.Acceptablevaluesare10,100,1000,and10000.
-t|--transceiver-type=<str>
Selecttransceivertype.Thefollowingtransceivertypesareavailable.
externalSetthetransceivertypetoexternal
internalSetthetransceivertypetointernal
-w|--wake-on-lan=<str>
SetWake-on-LANoptions.Notalldevicessupportthisoption.Theoptionvalue
isastringofcharactersspecifyingwhichoptionstoenable.
pWakeonphyactivity
uWakeonunicastmessages
mWakeonmulticastmessages
bWakeonbroadcastmessages
aWakeonARP
gWakeonMagicPacket
sEnableSecureOnpasswordforMagicPacket