6.5

Table Of Contents
Option Description
-t|--transceiver-type=<str>
Selects transceiver type. The following transceiver types are available.
n
external
n
internal
-w|--wake-on-lan=<str>
Sets Wake-on-LAN options. Not all devices support this option. The option
value is a string of characters specifying which options to enable.
n
p – Wake on phy activity
n
u – Wake on unicast messages
n
m – Wake on multicast messages
n
b – Wake on broadcast messages
n
a – Wake on ARP
n
g – Wake on MagicPacket
n
s – Enable SecureOn password for MagicPacket
4 (Optional) Bring the uplink adapter back up.
esxcli <conn_options> network nic up --nic-name=vmnic0
Specifying Multiple Uplinks with ESXCLI
At any time, one port group NIC array and a corresponding set of active uplinks exist. When you change the
active uplinks, you also change the standby uplinks and the number of active uplinks.
The following example illustrates how active and standby uplinks are set.
1 The port group NIC array is [vmnic1, vmnic0, vmnic3, vmnic5, vmnic6, vmnic7] and active-uplinks
is set to three uplinks - vmnic1, vmnic0, vmnic3. The other uplinks are standby uplinks.
2 You set the active uplinks to a new set [vmnic3, vmnic5].
3 The new uplinks override the old set. The NIC array changes to [vmnic3, vmnic5, vmnic6, vmnic7].
vmnic0 and vmnic1 are removed from the NIC array and max-active becomes 2.
If you want to keep vmnic0 and vmnic1 in the array, you can make those NICs standby uplinks in the
command that changes the active uplinks.
esxcli network vswitch standard portgroup policy failover set -p testPortgroup --active-uplinks
vmnic3,vmnic5 --standby-uplinks vmnic1,vmnic0,vmnic6,vmnic7
Manage Uplink Adapters with vicfg-nics
You can use vicfg-nics to manage uplink adapters.
The following example workow lists an uplink adapter's properties, changes the duplex and speed, and
sets the uplink to autonegotiate its speed and duplex seings. Specify one of the options listed in
“Connection Options for vCLI Host Management Commands,” on page 19 in place of <conn_options>.
Procedure
1 List seings.
vicfg-nics <conn_options> -l
This command lists the uplinks in the system, their current and congured speed, and their duplex
seing.
2 Set the seings for vmnic0 to full and the speed to 100.
vicfg-nics <conn_options> -d full -s 100 vmnic0
3 Set vmnic2 to autonegotiate its speed and duplex seings.
vicfg-nics <conn_options> -a vmnic2
Chapter 9 Managing vSphere Networking
VMware, Inc. 143